From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baD49-00072Q-8m for qemu-devel@nongnu.org; Wed, 17 Aug 2016 22:28:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baD48-0004KX-Ed for qemu-devel@nongnu.org; Wed, 17 Aug 2016 22:28:21 -0400 From: John Arbuckle Date: Wed, 17 Aug 2016 22:27:46 -0400 Message-Id: <1471487270-1490-1-git-send-email-programmingkidx@gmail.com> Subject: [Qemu-devel] [PATCH v5 0/4] ADB improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org, david@gibson.dropbear.id.au, qemu-devel@nongnu.org Cc: John Arbuckle 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