hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/rc/keymaps/rc-behold-columbus.c
....@@ -14,7 +14,7 @@
1414 * The "ascii-art picture" below (in comments, first row
1515 * is the keycode in hex, and subsequent row(s) shows
1616 * the button labels (several variants when appropriate)
17
- * helps to descide which keycodes to assign to the buttons.
17
+ * helps to decide which keycodes to assign to the buttons.
1818 */
1919
2020 static struct rc_map_table behold_columbus[] = {
....@@ -37,24 +37,24 @@
3737 * 0x07 0x08 0x09 0x10 *
3838 * 7 8 9 Zoom *
3939 * */
40
- { 0x01, KEY_1 },
41
- { 0x02, KEY_2 },
42
- { 0x03, KEY_3 },
40
+ { 0x01, KEY_NUMERIC_1 },
41
+ { 0x02, KEY_NUMERIC_2 },
42
+ { 0x03, KEY_NUMERIC_3 },
4343 { 0x0D, KEY_SETUP }, /* Setup key */
44
- { 0x04, KEY_4 },
45
- { 0x05, KEY_5 },
46
- { 0x06, KEY_6 },
44
+ { 0x04, KEY_NUMERIC_4 },
45
+ { 0x05, KEY_NUMERIC_5 },
46
+ { 0x06, KEY_NUMERIC_6 },
4747 { 0x19, KEY_CAMERA }, /* Snapshot key */
48
- { 0x07, KEY_7 },
49
- { 0x08, KEY_8 },
50
- { 0x09, KEY_9 },
48
+ { 0x07, KEY_NUMERIC_7 },
49
+ { 0x08, KEY_NUMERIC_8 },
50
+ { 0x09, KEY_NUMERIC_9 },
5151 { 0x10, KEY_ZOOM },
5252
5353 /* 0x0A 0x00 0x0B 0x0C *
5454 * RECALL 0 ChannelUp VolumeUp *
5555 * */
5656 { 0x0A, KEY_AGAIN },
57
- { 0x00, KEY_0 },
57
+ { 0x00, KEY_NUMERIC_0 },
5858 { 0x0B, KEY_CHANNELUP },
5959 { 0x0C, KEY_VOLUMEUP },
6060
....@@ -68,7 +68,7 @@
6868 { 0x18, KEY_VOLUMEDOWN },
6969
7070 /* 0x0E 0x1E 0x0F 0x1A *
71
- * Stop Pause Previouse Next *
71
+ * Stop Pause Previous Next *
7272 * */
7373
7474 { 0x0E, KEY_STOP },