Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
trying to remap the buttons on my bluetooth remote...
type FULL
key DPAD_CENTER {
base: fallback MEDIA_PLAY_PAUSE
}
key DPAD_UP {
base: fallback VOLUME_UP
}
key DPAD_DOWN {
base: fallback VOLUME_DOWN
}
key DPAD_LEFT {
base: fallback MEDIA_PREVIOUS
}
key DPAD_RIGHT {
base: fallback MEDIA_NEXT
}
# key names
#
# DPAD_UP MEDIA_NEXT VOLUME_UP PAGE_UP
# DPAD_DOWN MEDIA_PREVIOUS VOLUME_DOWN PAGE_DOWN
# DPAD_CENTER MEDIA_PLAY_PAUSE VOLUME_MUTE HOME
# DPAD_LEFT MENU
# DPAD_RIGHT BACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment