mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Boichat <nicolas@boichat.ch>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Leadtek Winfast remote controls
Date: Tue, 19 Apr 2005 02:06:04 +0200	[thread overview]
Message-ID: <1113869164.10826.8.camel@dudule> (raw)

Hi Andrew,

This patch against kernel 2.6.12-rc2 adds missing button codes for the
Leadtek Winfast remote controls.

Concerning the KEY_* values, I tried to be coherent with the other
remote controls supported by the kernel.

Best regards,

Nicolas

--

Add missing button codes for the Leadtek Winfast remote controls.

Signed-off-by: Nicolas Boichat <nicolas@boichat.ch>
---

 drivers/media/common/ir-common.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff -rpuN drivers/media.old/common/ir-common.c
drivers/media/common/ir-common.c
--- drivers/media.old/common/ir-common.c        2005-04-05
00:24:57.000000000 +0200
+++ drivers/media/common/ir-common.c    2005-04-07 15:52:22.000000000
+0200
@@ -131,10 +131,10 @@ IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTA
        [ 18 ] = KEY_KP0,
 
        [  0 ] = KEY_POWER,
-//      [ 27 ] = MTS button
+        [ 27 ] = KEY_LANGUAGE,  //MTS button
        [  2 ] = KEY_TUNER,     // TV/FM
        [ 30 ] = KEY_VIDEO,
-//      [ 22 ] = display button
+        [ 22 ] = KEY_INFO,      //display button
        [  4 ] = KEY_VOLUMEUP,
        [  8 ] = KEY_VOLUMEDOWN,
        [ 12 ] = KEY_CHANNELUP,
@@ -142,7 +142,7 @@ IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTA
        [  3 ] = KEY_ZOOM,      // fullscreen
        [ 31 ] = KEY_SUBTITLE,  // closed caption/teletext
        [ 32 ] = KEY_SLEEP,
-//      [ 41 ] = boss key
+        [ 41 ] = KEY_SEARCH,    //boss key
        [ 20 ] = KEY_MUTE,
        [ 43 ] = KEY_RED,
        [ 44 ] = KEY_GREEN,
@@ -150,17 +150,17 @@ IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTA
        [ 46 ] = KEY_BLUE,
        [ 24 ] = KEY_KPPLUS,    //fine tune +
        [ 25 ] = KEY_KPMINUS,   //fine tune -
-//      [ 42 ] = picture in picture
+        [ 42 ] = KEY_ANGLE,     //picture in picture
         [ 33 ] = KEY_KPDOT,
        [ 19 ] = KEY_KPENTER,
-//      [ 17 ] = recall
+        [ 17 ] = KEY_AGAIN,     //recall
        [ 34 ] = KEY_BACK,
        [ 35 ] = KEY_PLAYPAUSE,
        [ 36 ] = KEY_NEXT,
-//      [ 37 ] = time shifting
+        [ 37 ] = KEY_T,         //time shifting
        [ 38 ] = KEY_STOP,
-       [ 39 ] = KEY_RECORD
-//      [ 40 ] = snapshot
+       [ 39 ] = KEY_RECORD,
+        [ 40 ] = KEY_SHUFFLE    //snapshot
 };
 EXPORT_SYMBOL_GPL(ir_codes_winfast);
 


                 reply	other threads:[~2005-04-19  0:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1113869164.10826.8.camel@dudule \
    --to=nicolas@boichat.ch \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome