diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-input.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-input.c | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c index 30dfa5370c73..31e89e4f18be 100644 --- a/drivers/media/video/em28xx/em28xx-input.c +++ b/drivers/media/video/em28xx/em28xx-input.c | |||
@@ -43,91 +43,6 @@ MODULE_PARM_DESC(ir_debug,"enable debug messages [IR]"); | |||
43 | #define dprintk(fmt, arg...) if (ir_debug) \ | 43 | #define dprintk(fmt, arg...) if (ir_debug) \ |
44 | printk(KERN_DEBUG "%s/ir: " fmt, ir->c.name , ## arg) | 44 | printk(KERN_DEBUG "%s/ir: " fmt, ir->c.name , ## arg) |
45 | 45 | ||
46 | /* ---------------------------------------------------------------------- */ | ||
47 | |||
48 | static IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = { | ||
49 | [ 0x01 ] = KEY_CHANNEL, | ||
50 | [ 0x02 ] = KEY_SELECT, | ||
51 | [ 0x03 ] = KEY_MUTE, | ||
52 | [ 0x04 ] = KEY_POWER, | ||
53 | [ 0x05 ] = KEY_KP1, | ||
54 | [ 0x06 ] = KEY_KP2, | ||
55 | [ 0x07 ] = KEY_KP3, | ||
56 | [ 0x08 ] = KEY_CHANNELUP, | ||
57 | [ 0x09 ] = KEY_KP4, | ||
58 | [ 0x0a ] = KEY_KP5, | ||
59 | [ 0x0b ] = KEY_KP6, | ||
60 | [ 0x0c ] = KEY_CHANNELDOWN, | ||
61 | [ 0x0d ] = KEY_KP7, | ||
62 | [ 0x0e ] = KEY_KP8, | ||
63 | [ 0x0f ] = KEY_KP9, | ||
64 | [ 0x10 ] = KEY_VOLUMEUP, | ||
65 | [ 0x11 ] = KEY_KP0, | ||
66 | [ 0x12 ] = KEY_MENU, | ||
67 | [ 0x13 ] = KEY_PRINT, | ||
68 | [ 0x14 ] = KEY_VOLUMEDOWN, | ||
69 | [ 0x16 ] = KEY_PAUSE, | ||
70 | [ 0x18 ] = KEY_RECORD, | ||
71 | [ 0x19 ] = KEY_REWIND, | ||
72 | [ 0x1a ] = KEY_PLAY, | ||
73 | [ 0x1b ] = KEY_FORWARD, | ||
74 | [ 0x1c ] = KEY_BACKSPACE, | ||
75 | [ 0x1e ] = KEY_STOP, | ||
76 | [ 0x40 ] = KEY_ZOOM, | ||
77 | }; | ||
78 | |||
79 | static IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = { | ||
80 | [ 0x3a ] = KEY_KP0, | ||
81 | [ 0x31 ] = KEY_KP1, | ||
82 | [ 0x32 ] = KEY_KP2, | ||
83 | [ 0x33 ] = KEY_KP3, | ||
84 | [ 0x34 ] = KEY_KP4, | ||
85 | [ 0x35 ] = KEY_KP5, | ||
86 | [ 0x36 ] = KEY_KP6, | ||
87 | [ 0x37 ] = KEY_KP7, | ||
88 | [ 0x38 ] = KEY_KP8, | ||
89 | [ 0x39 ] = KEY_KP9, | ||
90 | |||
91 | [ 0x2f ] = KEY_POWER, | ||
92 | |||
93 | [ 0x2e ] = KEY_P, | ||
94 | [ 0x1f ] = KEY_L, | ||
95 | [ 0x2b ] = KEY_I, | ||
96 | |||
97 | [ 0x2d ] = KEY_ZOOM, | ||
98 | [ 0x1e ] = KEY_ZOOM, | ||
99 | [ 0x1b ] = KEY_VOLUMEUP, | ||
100 | [ 0x0f ] = KEY_VOLUMEDOWN, | ||
101 | [ 0x17 ] = KEY_CHANNELUP, | ||
102 | [ 0x1c ] = KEY_CHANNELDOWN, | ||
103 | [ 0x25 ] = KEY_INFO, | ||
104 | |||
105 | [ 0x3c ] = KEY_MUTE, | ||
106 | |||
107 | [ 0x3d ] = KEY_LEFT, | ||
108 | [ 0x3b ] = KEY_RIGHT, | ||
109 | |||
110 | [ 0x3f ] = KEY_UP, | ||
111 | [ 0x3e ] = KEY_DOWN, | ||
112 | [ 0x1a ] = KEY_PAUSE, | ||
113 | |||
114 | [ 0x1d ] = KEY_MENU, | ||
115 | [ 0x19 ] = KEY_PLAY, | ||
116 | [ 0x16 ] = KEY_REWIND, | ||
117 | [ 0x13 ] = KEY_FORWARD, | ||
118 | [ 0x15 ] = KEY_PAUSE, | ||
119 | [ 0x0e ] = KEY_REWIND, | ||
120 | [ 0x0d ] = KEY_PLAY, | ||
121 | [ 0x0b ] = KEY_STOP, | ||
122 | [ 0x07 ] = KEY_FORWARD, | ||
123 | [ 0x27 ] = KEY_RECORD, | ||
124 | [ 0x26 ] = KEY_TUNER, | ||
125 | [ 0x29 ] = KEY_TEXT, | ||
126 | [ 0x2a ] = KEY_MEDIA, | ||
127 | [ 0x18 ] = KEY_EPG, | ||
128 | [ 0x27 ] = KEY_RECORD, | ||
129 | }; | ||
130 | |||
131 | /* ----------------------------------------------------------------------- */ | 46 | /* ----------------------------------------------------------------------- */ |
132 | 47 | ||
133 | static int get_key_terratec(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) | 48 | static int get_key_terratec(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) |