diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-08 04:42:17 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-02-08 04:42:17 +0000 |
commit | f94f5d717c14d18e0a4af2b157ca5a231d7bcc38 (patch) | |
tree | 913c87d3c17e1c57bc90149e9e1e7fb0efefbd7b /hw/pckbd.c | |
parent | 3aa22b4b53d4a8f5ae6b073c7c267b6ec9aabf63 (diff) | |
download | qemu-f94f5d717c14d18e0a4af2b157ca5a231d7bcc38.tar.gz qemu-f94f5d717c14d18e0a4af2b157ca5a231d7bcc38.tar.bz2 qemu-f94f5d717c14d18e0a4af2b157ca5a231d7bcc38.zip |
Add support for raw AT keyboard scancodes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1749 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r-- | hw/pckbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c index 61f8a63a82..7d0f49b762 100644 --- a/hw/pckbd.c +++ b/hw/pckbd.c @@ -295,6 +295,7 @@ void kbd_write_data(void *opaque, uint32_t addr, uint32_t val) break; case KBD_CCMD_WRITE_MODE: s->mode = val; + ps2_keyboard_set_translation(s->kbd, (s->mode & KBD_MODE_KCC) != 0); /* ??? */ kbd_update_irq(s); break; |