Skip to content

Instantly share code, notes, and snippets.

@Efreak
Created June 26, 2022 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Efreak/bab05d7e138e27903be6a88b2771447f to your computer and use it in GitHub Desktop.
Save Efreak/bab05d7e138e27903be6a88b2771447f to your computer and use it in GitHub Desktop.
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