qemu-e2k/ui
Daniel P. Berrange 7c388dbd0b 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 8c10e0baf0
  Author: Hervé Poussineau <hpoussin@reactos.org>
  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 <berrange@redhat.com>
Message-id: 20170727113243.23991-1-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2017-07-27 14:24:05 +02:00
..
shader
cocoa.m ui/cocoa.m: Fix compatibility issue with Mac OS 10.9 and under 2017-06-29 15:07:16 +01:00
console-gl.c
console.c -----BEGIN PGP SIGNATURE----- 2017-06-22 13:18:11 +01:00
curses_keys.h ui: add next and prior keysyms 2017-07-27 14:23:09 +02:00
curses.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c egl: explicitly ask for core context 2017-05-12 12:02:48 +02:00
egl-headless.c egl-headless: use framebuffer helper functions. 2017-06-21 14:23:16 +02:00
egl-helpers.c egl-helpers: add helpers to handle opengl framebuffers 2017-06-21 14:23:16 +02:00
gtk-egl.c gtk: use framebuffer helper functions. 2017-06-21 14:23:16 +02:00
gtk-gl-area.c gtk: use framebuffer helper functions. 2017-06-21 14:23:16 +02:00
gtk.c chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
input-keymap.c ps2: fix sending of PAUSE/BREAK scancodes 2017-07-27 14:24:05 +02:00
input-legacy.c
input-linux.c ui: move qemu_input_linux_to_qcode() 2017-07-27 14:23:09 +02:00
input.c input: Decrement queue count on kbd delay 2017-06-23 11:49:44 +02:00
keymaps.c keymaps: add tracing 2017-06-23 11:47:59 +02:00
keymaps.h ps2: fix sending of PAUSE/BREAK scancodes 2017-07-27 14:24:05 +02:00
Makefile.objs ui: egl-headless requires dmabuf support 2017-05-19 10:46:00 +02:00
qemu-pixman.c
qemu-x509.h
sdl2-2d.c
sdl2-gl.c sdl2: use framebuffer helper functions. 2017-06-21 14:23:16 +02:00
sdl2-input.c
sdl2-keymap.h
sdl2.c sdl2: add assert to make coverity happy 2017-06-23 11:50:46 +02:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
shader.c
spice-core.c QAPI patches for 2017-06-09 2017-06-22 11:34:39 +01:00
spice-display.c spice: don't enter opengl mode in case another UI provides opengl support 2017-06-14 09:52:35 +02:00
spice-input.c ps2: fix sending of PAUSE/BREAK scancodes 2017-07-27 14:24:05 +02:00
trace-events keymaps: add tracing 2017-06-23 11:47:59 +02:00
vgafont.h
vnc_keysym.h ui: add next and prior keysyms 2017-07-27 14:23:09 +02:00
vnc-auth-sasl.c sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c vnc: simple clean up 2017-05-12 12:34:31 +02:00
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c ui/vnc: Drop unused vnc_has_job() and vnc_jobs_clear() 2017-02-08 14:59:36 +01:00
vnc-jobs.h ui/vnc: Drop unused vnc_has_job() and vnc_jobs_clear() 2017-02-08 14:59:36 +01:00
vnc-palette.c
vnc-palette.h
vnc-ws.c
vnc-ws.h
vnc.c vnc: Set default kbd delay to 10ms 2017-07-17 11:35:27 +02:00
vnc.h ui: refactor VncDisplay to allow multiple listening sockets 2017-02-08 14:59:37 +01:00
x_keymap.c
x_keymap.h