Skip to contentSkip to conversation

Implement some QKeyCode support

PATCH Superseded Programmingkid 1 participant 1 message Mar 5, 2016

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover Implement some QKeyCode support

This patchset adds QKeyCode support the adb and cocoa code.

Note: you do not need to be on a Mac to test out the adb.c, qapi-schema.json, and adb-keys.h files. Only the cocoa.m file changes are Mac specific.

If you are using Linux, then the xev command is what you could use to test out these patches. For Mac users the Key Caps application would help with testing out these patches.

John Arbuckle (4):
adb-keys.h
qapi-schema.json
adb.c
cocoa.m

 hw/input/adb.c              | 223 ++++++++++++++++++++++++-------
 include/hw/input/adb-keys.h | 160 ++++++++++++++++++++++
 qapi-schema.json            |   3 +-
 ui/cocoa.m                  | 317 ++++++++++++++++++++------------------------
 4 files changed, 480 insertions(+), 223 deletions(-)
 create mode 100644 include/hw/input/adb-keys.h
Signature · 1 line
2.7.2