qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d52a1a: ui: add next and prior keysyms


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] d52a1a: ui: add next and prior keysyms
Date: Thu, 27 Jul 2017 08:43:26 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: d52a1a9102a4236dfbc7c95b3c7057f107dbf71d
      
https://github.com/qemu/qemu/commit/d52a1a9102a4236dfbc7c95b3c7057f107dbf71d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M ui/curses_keys.h
    M ui/vnc_keysym.h

  Log Message:
  -----------
  ui: add next and prior keysyms

Page-up and Page-down were renamed.  Add the names to the keysym list
so we can parse both old and new names.  The keypad versions are already
present in the vnc map.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 606eb0c64991d59a9d5e249508867dc0cb3707e1
      
https://github.com/qemu/qemu/commit/606eb0c64991d59a9d5e249508867dc0cb3707e1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M include/ui/input.h
    M ui/input-keymap.c
    M ui/input-linux.c

  Log Message:
  -----------
  ui: move qemu_input_linux_to_qcode()

Move from input-linux.c to input-keymap.c and export it,
so the function is available elsewhere too.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 9ade7759edbbdafa980ea974a629a8d193de5bc2
      
https://github.com/qemu/qemu/commit/9ade7759edbbdafa980ea974a629a8d193de5bc2
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M ui/input-keymap.c

  Log Message:
  -----------
  ui: update keymaps

Add recently added QKeyCodes to the keymaps.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 37810e80553c19f0dac3644924895a9bf5c70785
      
https://github.com/qemu/qemu/commit/37810e80553c19f0dac3644924895a9bf5c70785
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M qapi-schema.json
    M ui/input-keymap.c

  Log Message:
  -----------
  ui: add multimedia keys

Add multimedia keys to QKeyCodes and to the keymaps.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 0500cb1d25e69108ae1a2474412bbd255bbc34b2
      
https://github.com/qemu/qemu/commit/0500cb1d25e69108ae1a2474412bbd255bbc34b2
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M hw/input/ps2.c

  Log Message:
  -----------
  ps2: enable multimedia keys

Fixes: 8c10e0baf0260b59a4e984744462a18016662e3e
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 912092b8e47f31c3db25e088af8460d9e752da29
      
https://github.com/qemu/qemu/commit/912092b8e47f31c3db25e088af8460d9e752da29
  Author: Gerd Hoffmann <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M hw/char/escc.c
    M hw/input/adb.c
    M hw/input/ps2.c
    M qapi-schema.json
    M ui/input-keymap.c

  Log Message:
  -----------
  ui: drop altgr and altgr_r QKeyCodes

The right alt key (alt_r aka KEY_RIGHTALT) is used for AltGr.
The altgr and altgr_r keys simply don't exist.  Drop them.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden


  Commit: 7c388dbd0b2c54b3d836c23ea43e2cee38de66a4
      
https://github.com/qemu/qemu/commit/7c388dbd0b2c54b3d836c23ea43e2cee38de66a4
  Author: Daniel P. Berrange <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M ui/input-keymap.c
    M ui/keymaps.h
    M ui/spice-input.c

  Log Message:
  -----------
  ps2: fix sending of PAUSE/BREAK scancodes

The processing of the scancodes for PAUSE/BREAK  has been broken since
the conversion to qcodes in:

  commit 8c10e0baf0260b59a4e984744462a18016662e3e
  Author: Hervé Poussineau <address@hidden>
  Date:   Thu Sep 15 22:06:26 2016 +0200

    ps2: use QEMU qcodes instead of scancodes

When using a VNC client, with the raw scancode extension, the client
will send a scancode of 0xc6 for both PAUSE and BREAK. There is mistakenly
no entry in the qcode_to_number table for this scancode, so
ps2_keyboard_event() just generates a log message and discards the
scancode

When using a SPICE client, it will also send 0xc6 for BREAK, but
will send 0xe1 0x1d 0x45 0xe1 0x9d 0xc5 for PAUSE. There is no
entry in the qcode_to_number table for the scancode 0xe1 because
it is a special XT keyboard prefix not mapping to any QKeyCode.
Again ps2_keyboard_event() just generates a log message and discards
the scancode. The following 0x1d, 0x45, 0x9d, 0xc5 scancodes get
handled correctly. Rather than trying to handle 3 byte sequences
of scancodes in the PS/2 driver, special case the SPICE input
code so that it captures the 3 byte pause sequence and turns it
into a Pause QKeyCode.

Signed-off-by: Daniel P. Berrange <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e01151de165070c25a1b202e9e2392950bd7c8da
      
https://github.com/qemu/qemu/commit/e01151de165070c25a1b202e9e2392950bd7c8da
  Author: Peter Maydell <address@hidden>
  Date:   2017-07-27 (Thu, 27 Jul 2017)

  Changed paths:
    M hw/char/escc.c
    M hw/input/adb.c
    M hw/input/ps2.c
    M include/ui/input.h
    M qapi-schema.json
    M ui/curses_keys.h
    M ui/input-keymap.c
    M ui/input-linux.c
    M ui/keymaps.h
    M ui/spice-input.c
    M ui/vnc_keysym.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/ui-20170727-pull-request' 
into staging

ui: keymap fixes for 2.10

# gpg: Signature made Thu 27 Jul 2017 15:00:06 BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/ui-20170727-pull-request:
  ps2: fix sending of PAUSE/BREAK scancodes
  ui: drop altgr and altgr_r QKeyCodes
  ps2: enable multimedia keys
  ui: add multimedia keys
  ui: update keymaps
  ui: move qemu_input_linux_to_qcode()
  ui: add next and prior keysyms

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/6be37cc58345...e01151de1650

reply via email to

[Prev in Thread] Current Thread [Next in Thread]