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

-- 
2.7.2



Reply via email to