Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=28aedb8fd95b9a11cb9dc75d3be1f30227cb4385
Commit:     28aedb8fd95b9a11cb9dc75d3be1f30227cb4385
Parent:     f8a389db502f7b287903b209f925df5570ff5478
Author:     Ville-Pekka Vainio <[EMAIL PROTECTED]>
AuthorDate: Sat Apr 14 15:38:23 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:45:35 2007 -0300

    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: Ville-Pekka Vainio <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/common/ir-keymaps.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/drivers/media/common/ir-keymaps.c 
b/drivers/media/common/ir-keymaps.c
index 5ead66f..cbd1184 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -1739,7 +1739,7 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {
 
 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] = {
        [ 0x01 ] = KEY_POWER,
        [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */
@@ -1774,6 +1774,12 @@ IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
        [ 0x25 ] = KEY_VOLUMEUP,
        [ 0x26 ] = KEY_VOLUMEDOWN,
        [ 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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to