diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-16 13:01:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-16 13:01:55 -0300 |
commit | 4ff89e84d541267e09b5d57533bd762e6dbf3764 (patch) | |
tree | d2f7baecb8f0ced8c6409be2ef140706609d91db /linux | |
parent | 23071506658ed2c3484bbf6f46d6560a71d33d06 (diff) | |
download | mediapointer-dvb-s2-4ff89e84d541267e09b5d57533bd762e6dbf3764.tar.gz mediapointer-dvb-s2-4ff89e84d541267e09b5d57533bd762e6dbf3764.tar.bz2 |
ir-common: Adds 3 missing IR keys for FlyVIdeo2000
From: Ivan Bobyr <brefi@yandex.ru>
The patch extends the default keymap of FlyVIdeo2000 IR remote control so that
this remote may also serve movie & music players in a better way.
I bought a SAA7130 TV tuner with a remote control having 3 additional button
as the default layout, exactly as:
1) labeled "<<<" : key code 0x19, may be used as "backward"in MPlayer,XMMS etc
2) labeled ">>>" : key code 0x1f, may be used as "forward"...
3) not labeled : key code 0x0a, may be used as "pause"...
Once have added these code definitions to the kernel, me got all these
operations available for viewing movies & listening music.
Signed-off-by : Ivan Bobyr <brefi@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/common/ir-keymaps.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/common/ir-keymaps.c b/linux/drivers/media/common/ir-keymaps.c index 4e5db8cd5..64d3df831 100644 --- a/linux/drivers/media/common/ir-keymaps.c +++ b/linux/drivers/media/common/ir-keymaps.c @@ -772,7 +772,11 @@ IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { [ 0x12 ] = KEY_CHANNELUP, // Channel + [ 0x13 ] = KEY_CHANNELDOWN, // Channel - [ 0x06 ] = KEY_AGAIN, // Recall - [ 0x10 ] = KEY_ENTER, // Enter + [ 0x10 ] = KEY_ENTER, // Enter + + [ 0x19 ] = KEY_BACK, // Rewind ( <<< ) + [ 0x1f ] = KEY_FORWARD, // Forward ( >>> ) + [ 0x0a ] = KEY_ANGLE, // (no label, may be used as the PAUSE button) }; EXPORT_SYMBOL_GPL(ir_codes_flyvideo); |