提交 6e5b9601 编写于 作者: J Jarod Wilson 提交者: Mauro Carvalho Chehab

[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: NJarod Wilson <jarod@redhat.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 20624106
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册