update: add handling of platform-specific events.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>