1
0
Fork 0

[media] ir-kbd-i2c: pass device code w/key in hauppauge case

The new hauppauge key tables use both device code button code.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hifive-unleashed-5.1
Jarod Wilson 2011-03-04 17:30:17 -03:00 committed by Mauro Carvalho Chehab
parent 206241069e
commit 6e5b960176
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ static int get_key_haup_common(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw,
start, range, toggle, dev, code);
/* return key */
*ir_key = code;
*ir_key = (dev << 8) | code;
*ir_raw = ircode;
return 1;
}