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

Commit b22e51a3 authored by Philip Junker's avatar Philip Junker
Browse files

Add support for more keycodes to reference remote control.

Add support for KEYCODE_PROFILE_SWITCH, KEYCODE_ALL_APPS, KEYCODE_PERIOD and KEYCODE_MEDIA_RECORD.
Add support for KEYCODE_PROFILE_SWITCH and KEYCODE_ALL_APPS in
Generic.kl.

Bug: 223113454
Test: atest GoogleAtvReferenceRemoteControlTest
Change-Id: Ife171662224e520dea249ce03675c278adf67870
parent b645442e
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