Commit 28aedb8f authored by Ville-Pekka Vainio's avatar Ville-Pekka Vainio Committed by Mauro Carvalho Chehab

V4L/DVB (5520): Add support for the extra keys in the black Technotrend 1500 IR

It has come to my knowledge that the Technotrend 1500 DVB cards have 
been sold bundled with at least two different kinds of remotes, a grey 
one and a black one. 
This patch adds support for the extra keys in the black remote to 
ir-keymaps.c.
Signed-off-by: default avatarVille-Pekka Vainio <vpivaini@cs.helsinki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent f8a389db
No related merge requests found
...@@ -1739,7 +1739,7 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = { ...@@ -1739,7 +1739,7 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {
EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);
/* for the Technotrend 1500 bundled remote: */ /* for the Technotrend 1500 bundled remotes (grey and black): */
IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
[ 0x01 ] = KEY_POWER, [ 0x01 ] = KEY_POWER,
[ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */ [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */
...@@ -1774,6 +1774,12 @@ IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { ...@@ -1774,6 +1774,12 @@ IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
[ 0x25 ] = KEY_VOLUMEUP, [ 0x25 ] = KEY_VOLUMEUP,
[ 0x26 ] = KEY_VOLUMEDOWN, [ 0x26 ] = KEY_VOLUMEDOWN,
[ 0x27 ] = KEY_SETUP, [ 0x27 ] = KEY_SETUP,
[ 0x3a ] = KEY_RECORD, /* these keys are only in the black remote */
[ 0x3b ] = KEY_PLAY,
[ 0x3c ] = KEY_STOP,
[ 0x3d ] = KEY_REWIND,
[ 0x3e ] = KEY_PAUSE,
[ 0x3f ] = KEY_FORWARD,
}; };
EXPORT_SYMBOL_GPL(ir_codes_tt_1500); EXPORT_SYMBOL_GPL(ir_codes_tt_1500);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment