This patchset adds QKeyCode support to 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):
  hw/input/adb.c: implement QKeyCode support
  ui/cocoa.m: switch to QKeyCode
  adb-keys.h: initial commit
  qapi-schema.json: Add power and keypad equal keys

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

-- 
v5 changes to only adb-keys.h and adb.c files.

2.7.2



Reply via email to