[fix] check active window before delegating player action handling - fixes problem introduced in 8768ec8a7260b7dd46c28e601a398d493808edeb
[cosmetic] suppresses gcc parenthesis warning. Thx @vdrfan
keymap: fix sixaxis gamepad keymapping

Values below starting at 256 are reserved for KEY_BUTTON_*,
use some other unused key id for the GUIDE button. This button
is only virtual since it's mapped from a CEC event
jni: consmetic refactor to consistent appearance
jni: fixed build, these do not exist here