qemu-e2k/hw/input
Paolo Bonzini 562f93754b hid: clarify hid_keyboard_process_keycode
Coverity thinks the fallthroughs are smelly.  They are correct, but
everything else in this function is like "wut?".

Refer explicitly to bits 8 and 9 of hs->kbd.modifiers instead of
shifting right first and using (1 << 7).  Document what the scancode
is when hid_code is 0xe0.  And add plenty of comments.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-07-17 08:44:41 +02:00
..
adb.c adb.c: include ADBDevice parent state in KBDState and MouseState 2015-03-09 15:00:04 +01:00
hid.c hid: clarify hid_keyboard_process_keycode 2015-07-17 08:44:41 +02:00
lm832x.c vmstate: accept QEMUTimer in VMSTATE_TIMER*, add VMSTATE_TIMER_PTR* 2015-01-26 12:22:44 +01:00
Makefile.objs virtio-input: evdev passthrough 2015-06-23 10:32:35 +02:00
milkymist-softusb.c milkymist: softmmu: fix event handling 2014-12-29 17:24:38 +01:00
pckbd.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
pl050.c pl050: QOM'ify pl050_keyboard and pl050_mouse 2013-07-29 21:06:57 +02:00
ps2.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
pxa2xx_keypad.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
stellaris_input.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
tsc210x.c hw/input/tsc210x.c: Delete unused array tsc2101_rates 2014-09-29 18:48:48 +01:00
tsc2005.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
virtio-input-hid.c virtio-input: fix segfault in virtio_input_hid_properties 2015-07-16 17:34:41 +02:00
virtio-input-host.c virtio-input: move sys/ioctl.h include 2015-07-16 17:34:41 +02:00
virtio-input.c virtio-input: move properties, use virtio_instance_init_common 2015-06-23 10:32:35 +02:00
vmmouse.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00