sched: Remove double_rq_lock() from __migrate_task()
[linux/fpc-iii.git] / drivers / media / rc / keymaps / rc-tbs-nec.c
blob24ce2a252502bd37c3cb17c30722dd31f68c7925
1 /* tbs-nec.h - Keytable for tbs_nec Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #include <media/rc-map.h>
14 #include <linux/module.h>
16 static struct rc_map_table tbs_nec[] = {
17 { 0x84, KEY_POWER2}, /* power */
18 { 0x94, KEY_MUTE}, /* mute */
19 { 0x87, KEY_1},
20 { 0x86, KEY_2},
21 { 0x85, KEY_3},
22 { 0x8b, KEY_4},
23 { 0x8a, KEY_5},
24 { 0x89, KEY_6},
25 { 0x8f, KEY_7},
26 { 0x8e, KEY_8},
27 { 0x8d, KEY_9},
28 { 0x92, KEY_0},
29 { 0xc0, KEY_10CHANNELSUP}, /* 10+ */
30 { 0xd0, KEY_10CHANNELSDOWN}, /* 10- */
31 { 0x96, KEY_CHANNELUP}, /* ch+ */
32 { 0x91, KEY_CHANNELDOWN}, /* ch- */
33 { 0x93, KEY_VOLUMEUP}, /* vol+ */
34 { 0x8c, KEY_VOLUMEDOWN}, /* vol- */
35 { 0x83, KEY_RECORD}, /* rec */
36 { 0x98, KEY_PAUSE}, /* pause, yellow */
37 { 0x99, KEY_OK}, /* ok */
38 { 0x9a, KEY_CAMERA}, /* snapshot */
39 { 0x81, KEY_UP},
40 { 0x90, KEY_LEFT},
41 { 0x82, KEY_RIGHT},
42 { 0x88, KEY_DOWN},
43 { 0x95, KEY_FAVORITES}, /* blue */
44 { 0x97, KEY_SUBTITLE}, /* green */
45 { 0x9d, KEY_ZOOM},
46 { 0x9f, KEY_EXIT},
47 { 0x9e, KEY_MENU},
48 { 0x9c, KEY_EPG},
49 { 0x80, KEY_PREVIOUS}, /* red */
50 { 0x9b, KEY_MODE},
53 static struct rc_map_list tbs_nec_map = {
54 .map = {
55 .scan = tbs_nec,
56 .size = ARRAY_SIZE(tbs_nec),
57 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
58 .name = RC_MAP_TBS_NEC,
62 static int __init init_rc_map_tbs_nec(void)
64 return rc_map_register(&tbs_nec_map);
67 static void __exit exit_rc_map_tbs_nec(void)
69 rc_map_unregister(&tbs_nec_map);
72 module_init(init_rc_map_tbs_nec)
73 module_exit(exit_rc_map_tbs_nec)
75 MODULE_LICENSE("GPL");
76 MODULE_AUTHOR("Mauro Carvalho Chehab");