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
hid.c hid: clarify hid_keyboard_process_keycode 2015-07-17 08:44:41 +02:00
lm832x.c
Makefile.objs
milkymist-softusb.c
pckbd.c
pl050.c
ps2.c
pxa2xx_keypad.c
stellaris_input.c
tsc210x.c
tsc2005.c
virtio-input-hid.c
virtio-input-host.c
virtio-input.c
vmmouse.c