Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac52ea3c3c04403d10acf0253180ec6f51977142
Commit:     ac52ea3c3c04403d10acf0253180ec6f51977142
Parent:     1b5888cea1d371239a130150222e63d476298d89
Author:     Oliver Endriss <[EMAIL PROTECTED]>
AuthorDate: Fri Apr 27 12:31:24 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:43:48 2007 -0300

    V4L/DVB (5344): Dvb-ttpci: Support for MSC_RAW and MSC_SCAN RC events
    
    Support for MSC_RAW and MSC_SCAN remote control events.
    
    Signed-off-by: Oliver Endriss <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/ttpci/av7110_ir.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/media/dvb/ttpci/av7110_ir.c 
b/drivers/media/dvb/ttpci/av7110_ir.c
index 921ff19..b7fd159 100644
--- a/drivers/media/dvb/ttpci/av7110_ir.c
+++ b/drivers/media/dvb/ttpci/av7110_ir.c
@@ -138,6 +138,9 @@ static void av7110_emit_key(unsigned long parm)
                return;
        }
 
+       input_event(ir->input_dev, EV_MSC, MSC_RAW, (addr << 16) | data);
+       input_event(ir->input_dev, EV_MSC, MSC_SCAN, data);
+
        keycode = ir->key_map[data];
 
        dprintk(16, "%s: code %08x -> addr %i data 0x%02x -> keycode %i\n",
@@ -186,6 +189,10 @@ static void input_register_keys(struct infrared *ir)
 
        set_bit(EV_KEY, ir->input_dev->evbit);
        set_bit(EV_REP, ir->input_dev->evbit);
+       set_bit(EV_MSC, ir->input_dev->evbit);
+
+       set_bit(MSC_RAW, ir->input_dev->mscbit);
+       set_bit(MSC_SCAN, ir->input_dev->mscbit);
 
        memset(ir->input_dev->keybit, 0, sizeof(ir->input_dev->keybit));
 
-
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