ui: correctly detect spice PAUSE scancode sequence
commite92316ad3074aaf13bced21f03c98969ca6f73a9
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Jul 2017 17:46:40 +0000 (27 18:46 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Jul 2017 10:35:40 +0000 (28 12:35 +0200)
treeed01c667a6fd3285b3d1efff0b7c9b7dfc99f099
parente01151de165070c25a1b202e9e2392950bd7c8da
ui: correctly detect spice PAUSE scancode sequence

The SPICE input code is currently detcting 0xe1 0x1d 0x45 as
the PAUSE key make sequence and 0xe1 0x9d 0xc5 as the break
sequence. This is incorrect, because all 6 scancodes together
are the make sequence, and there is no break sequence.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170727174640.30359-1-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-input.c