diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-03-25 13:16:21 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-05-16 08:30:12 +0200 |
commit | 65e7545ea3c65a6468fb59418a6dbe66ef71d6d1 (patch) | |
tree | 4311c6751b7c475a070ae1d3a87006262919e5e0 /trace-events | |
parent | 2a766d294ae0d4d2e9b178ce0b9a966bc678e7e6 (diff) | |
download | qemu-65e7545ea3c65a6468fb59418a6dbe66ef71d6d1.zip qemu-65e7545ea3c65a6468fb59418a6dbe66ef71d6d1.tar.gz qemu-65e7545ea3c65a6468fb59418a6dbe66ef71d6d1.tar.bz2 |
input: switch sparc32 kbd to new input api
Nasty 0xe0 logic is gone. We map through QKeyCode now, giving us a
nice, readable mapping table.
Quick smoke test in OpenFirmware looks ok. Careful check from arch
maintainers would be very nice, especially on the capslock and numlock
logic. I'm not fully sure whenever I got it translated correctly and
also what it is supposed to do in the first place ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trace-events b/trace-events index 2c5b307..e12e3e5 100644 --- a/trace-events +++ b/trace-events @@ -862,8 +862,8 @@ escc_mem_writeb_data(char channel, uint32_t val) "Write channel %c, ch %d" escc_mem_readb_ctrl(char channel, uint32_t reg, uint8_t val) "Read channel %c, reg[%d] = %2.2x" escc_mem_readb_data(char channel, uint32_t ret) "Read channel %c, ch %d" escc_serial_receive_byte(char channel, int ch) "channel %c put ch %d" -escc_sunkbd_event_in(int ch) "Untranslated keycode %2.2x" -escc_sunkbd_event_out(int ch) "Translated keycode %2.2x" +escc_sunkbd_event_in(int ch, const char *name, int down) "QKeyCode 0x%2.2x [%s], down %d" +escc_sunkbd_event_out(int ch) "Translated keycode 0x%2.2x" escc_kbd_command(int val) "Command %d" escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=%01x" |