|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH xenvkbd 2/2] Fix HID code for KEY_ENTER
The VkbdKeyCodeToUsage array has the value for KEY_ESCAPE (0x29)
incorrectly placed in this entry. This patch replaces that with 0x28, which
is the correct code for the ENTER key.
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
src/xenvkbd/vkbd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xenvkbd/vkbd.h b/src/xenvkbd/vkbd.h
index eacc39b..e455078 100644
--- a/src/xenvkbd/vkbd.h
+++ b/src/xenvkbd/vkbd.h
@@ -154,7 +154,7 @@ static const USHORT VkbdKeyCodeToUsage[] = {
0x13, // KEY_P
0x2F, // KEY_LEFTBRACE
0x30, // KEY_RIGHTBRACE
- 0x29, // KEY_ENTER
+ 0x28, // KEY_ENTER
0xE0, // KEY_LEFTCTRL
0x04, // KEY_A
0x16, // KEY_S
--
2.5.3
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |