Skip to content

Commit

Permalink
Input: hyperv-keyboard - pass through 0xE1 prefix
Browse files Browse the repository at this point in the history
Pass through the 0xE1 prefix so atkbd can properly parse the scancode
data.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
K. Y. Srinivasan authored and Dmitry Torokhov committed Jan 12, 2014
1 parent 25fd317 commit c3c4d99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/input/serio/hyperv-keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ static void hv_kbd_on_receive(struct hv_device *hv_dev,
if (info & IS_E0)
serio_interrupt(kbd_dev->hv_serio,
XTKBD_EMUL0, 0);

if (info & IS_E1)
serio_interrupt(kbd_dev->hv_serio,
XTKBD_EMUL1, 0);
scan_code = __le16_to_cpu(ks_msg->make_code);
if (info & IS_BREAK)
scan_code |= XTKBD_RELEASE;
Expand Down

0 comments on commit c3c4d99

Please sign in to comment.