[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v5 0/4] ADB improvements
From: |
John Arbuckle |
Subject: |
[Qemu-ppc] [PATCH v5 0/4] ADB improvements |
Date: |
Wed, 17 Aug 2016 22:27:46 -0400 |
This patch series makes several improvements to the ADB code. To test this code,
please implement the patches in the order below.
John Arbuckle (4):
adb-keys.h: initial commit
adb.c: add support for QKeyCode
adb.c: correct several key assignments
adb.c: prevent NO_KEY value from going to guest
hw/input/adb.c | 229 +++++++++++++++++++++++++++++++++++---------
include/hw/input/adb-keys.h | 141 +++++++++++++++++++++++++++
2 files changed, 325 insertions(+), 45 deletions(-)
create mode 100644 include/hw/input/adb-keys.h
--
*v5 changes:
Merged Power key patch with patch 2/4.
Uncommented ADB_KEY_POWER in adb-keys.h.
Moved qemu_input_handler_register() function call to adb_kbd_realizefn()
function.
Added ADB_DPRINTF() call to NO_KEY if condition.
*v4 changes:
Replaced ADB_KEY_LEFT_COMAND and ADB_KEY_RIGHT_COMAND with ADB_KEY_COMMAND.
Removed debug printf statement.
Removed stray ".
Rearranged code in "correct several key assignments" and
"prevent NO_KEY value from going to guest" patches.
*v3 changes:
Removed note from adb-keys.h.
Created new patch that adds QKeyCode support, but doesn't change any mappings.
Made patch that does correct key mappings.
Made new patch the prevents NO_KEY value from going to guest.
Add suggested comments to power key code.
Moved else statement.
*v2 changes:
Swapped order of adb-keys.h and "add support for QKeyCode" patches.
2.7.2