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 as a guest, then the xev command is what you could use to
test out these patches. For a Mac OS guest the Key Caps application would help
with testing out these patches.

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

 hw/input/adb.c              | 223 ++++++++++++++++++++++++-------
 include/hw/input/adb-keys.h | 146 ++++++++++++++++++++
 qapi-schema.json            |   3 +-
 ui/cocoa.m                  | 317 ++++++++++++++++++++------------------------
 4 files changed, 466 insertions(+), 223 deletions(-)
 create mode 100644 include/hw/input/adb-keys.h

-- 
2.7.2



Reply via email to