Improve input event handling. Can now map volume keys on Android without issues.