summaryrefslogtreecommitdiff
path: root/data/keyboards
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2020-07-16 18:22:44 -0700
committerAman Gupta <aman@tmm1.net>2020-07-21 12:09:52 -0700
commit6c984953eaaa1cfba860d97b5c49f00b3541225e (patch)
tree88638512fd80b715849d2206c75f17aec300e6cf /data/keyboards
parent48a06806f170ef4feb0546833081079ec0809dc9 (diff)
Add KEYCODE_CAPTIONS mapping to LKC KEY_SUBTITLE
From https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h, KEY_SUBTITLE is near the TV codes. Note that 0x172 == 370. #define KEY_CHANNEL 0x16b #define KEY_FAVORITES 0x16c #define KEY_EPG 0x16d #define KEY_PVR 0x16e /* Media Select Home */ #define KEY_MHP 0x16f #define KEY_LANGUAGE 0x170 #define KEY_TITLE 0x171 #define KEY_SUBTITLE 0x172 #define KEY_ANGLE 0x173 #define KEY_FULL_SCREEN 0x174 /* AC View Toggle */ #define KEY_ZOOM KEY_FULL_SCREEN You can also see on https://www.kernel.org/doc/html/v4.9/media/uapi/rc/rc-tables.html it is listed in the "Movie play control" section: KEY_SUBTITLE Allow changing the subtitle Change-Id: I7690269cddd00b787a939f87ba651db38f1160ac Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'data/keyboards')
-rw-r--r--data/keyboards/Generic.kl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/keyboards/Generic.kl b/data/keyboards/Generic.kl
index e0fca1e044df..9b45d7f04e61 100644
--- a/data/keyboards/Generic.kl
+++ b/data/keyboards/Generic.kl
@@ -317,7 +317,7 @@ key 366 DVR
# key 367 "KEY_MHP"
# key 368 "KEY_LANGUAGE"
# key 369 "KEY_TITLE"
-# key 370 "KEY_SUBTITLE"
+key 370 CAPTIONS
# key 371 "KEY_ANGLE"
# key 372 "KEY_ZOOM"
# key 373 "KEY_MODE"