Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3c4d994 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Dmitry Torokhov
Browse files

Input: hyperv-keyboard - pass through 0xE1 prefix



Pass through the 0xE1 prefix so atkbd can properly parse the scancode
data.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 25fd3176
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;