hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-behold.c
....@@ -17,7 +17,7 @@
1717 * The "ascii-art picture" below (in comments, first row
1818 * is the keycode in hex, and subsequent row(s) shows
1919 * the button labels (several variants when appropriate)
20
- * helps to descide which keycodes to assign to the buttons.
20
+ * helps to decide which keycodes to assign to the buttons.
2121 */
2222
2323 static struct rc_map_table behold[] = {
....@@ -37,21 +37,21 @@
3737 * 0x07 0x08 0x09 *
3838 * 7 8 9 *
3939 * */
40
- { 0x866b01, KEY_1 },
41
- { 0x866b02, KEY_2 },
42
- { 0x866b03, KEY_3 },
43
- { 0x866b04, KEY_4 },
44
- { 0x866b05, KEY_5 },
45
- { 0x866b06, KEY_6 },
46
- { 0x866b07, KEY_7 },
47
- { 0x866b08, KEY_8 },
48
- { 0x866b09, KEY_9 },
40
+ { 0x866b01, KEY_NUMERIC_1 },
41
+ { 0x866b02, KEY_NUMERIC_2 },
42
+ { 0x866b03, KEY_NUMERIC_3 },
43
+ { 0x866b04, KEY_NUMERIC_4 },
44
+ { 0x866b05, KEY_NUMERIC_5 },
45
+ { 0x866b06, KEY_NUMERIC_6 },
46
+ { 0x866b07, KEY_NUMERIC_7 },
47
+ { 0x866b08, KEY_NUMERIC_8 },
48
+ { 0x866b09, KEY_NUMERIC_9 },
4949
5050 /* 0x0a 0x00 0x17 *
5151 * RECALL 0 MODE *
5252 * */
5353 { 0x866b0a, KEY_AGAIN },
54
- { 0x866b00, KEY_0 },
54
+ { 0x866b00, KEY_NUMERIC_0 },
5555 { 0x866b17, KEY_MODE },
5656
5757 /* 0x14 0x10 *
....@@ -115,7 +115,7 @@
115115 .map = {
116116 .scan = behold,
117117 .size = ARRAY_SIZE(behold),
118
- .rc_proto = RC_PROTO_NEC,
118
+ .rc_proto = RC_PROTO_NECX,
119119 .name = RC_MAP_BEHOLD,
120120 }
121121 };