Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85d68e08 authored by Philip Junker's avatar Philip Junker Committed by Presubmit Automerger Backend
Browse files

[automerge] Add support for more keycodes to reference remote control. 2p: b22e51a3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17124323

Bug: 223113454
Change-Id: Ia1c0dd8aef57371aa3909b59321588f9319602aa
parents 056e4ac6 b22e51a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -416,6 +416,8 @@ key usage 0x0c0067 WINDOW
key usage 0x0c006F BRIGHTNESS_UP
key usage 0x0c0070 BRIGHTNESS_DOWN
key usage 0x0c0173 MEDIA_AUDIO_TRACK
key usage 0x0c019C PROFILE_SWITCH
key usage 0x0c01A2 ALL_APPS

# Joystick and game controller axes.
# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,8 @@ key 10 9
key 11    0

# custom keys
key usage 0x000c019C    PROFILE_SWITCH
key usage 0x000c01A2    ALL_APPS
key usage 0x000c01BB    TV_INPUT
key usage 0x000c022A    BOOKMARK
key usage 0x000c0096    SETTINGS
@@ -53,6 +55,7 @@ key usage 0x000c0089 TV
key usage 0x000c009C    CHANNEL_UP
key usage 0x000c009D    CHANNEL_DOWN
key usage 0x000c00CD    MEDIA_PLAY_PAUSE
key usage 0x000c00B2    MEDIA_RECORD
key usage 0x000c00B4    MEDIA_SKIP_BACKWARD
key usage 0x000c00B3    MEDIA_SKIP_FORWARD
key usage 0x000c0226    MEDIA_STOP
@@ -62,6 +65,7 @@ key usage 0x000c0078 BUTTON_4 WAKE #Netflix
key usage 0x000c0079    BUTTON_6     WAKE #Disney+
key usage 0x000c007A    BUTTON_7     WAKE #HBOmax

key usage 0x00070037    PERIOD
key usage 0x000c01BD    INFO
key usage 0x000c0061    CAPTIONS
key usage 0x000c0185    TV_TELETEXT