summaryrefslogtreecommitdiffstats
path: root/ui/input-legacy.c
Commit message (Collapse)AuthorAgeFilesLines
* input: activate legacy kbdGerd Hoffmann2014-03-121-0/+1
| | | | | | | | Restores traditional behavior: Keyboard input will be routed to the most recently added keyboard. Without this all kbd input goes to the ps/2 keyboard, even if you add a usb keyboard to your guest. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: map INPUT_BUTTON_WHEEL_{UP,DOWN} to legacy input z axis moves.Gerd Hoffmann2014-03-101-0/+14
| | | | | | | Unbreaks mouse wheel. Reported-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: remove index_from_keycode (no users)Gerd Hoffmann2014-03-051-14/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: move do_mouse_set to new coreGerd Hoffmann2014-03-051-43/+0
| | | | | | | This removes the last user of the lecagy input mouse handler list, so we can remove more legacy bits with this. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: move qmp_query_mice to new coreGerd Hoffmann2014-03-051-23/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: move mouse mode notifier to new coreGerd Hoffmann2014-03-051-33/+1
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input-legacy: remove kbd_mouse_eventGerd Hoffmann2014-03-051-49/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input-legacy: remove kbd_mouse_is_absoluteGerd Hoffmann2014-03-051-10/+1
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input-legacy: remove kbd_mouse_has_absoluteGerd Hoffmann2014-03-051-19/+2
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input-legacy: remove kbd_put_keycodeGerd Hoffmann2014-03-051-23/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: mouse: switch legacy handlers to new coreGerd Hoffmann2014-03-051-0/+63
| | | | | | | | | | | | | | | | legacy mouse event handlers are registered in the new core, so they receive events submitted to the new input core. legacy kbd_mouse_event() continues to use the old code paths. So new-core event handlers wouldn't see events submitted via kbd_mouse_event. This leads to the constrain that we we must transition all kbd_mouse_event() users first to keep things working. But that is easier to handle than translating legacy mouse events into new-core mouse events ;) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: keyboard: switch qmp_send_key() to new core.Gerd Hoffmann2014-03-051-8/+3
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: keyboard: switch legacy handlers to new coreGerd Hoffmann2014-03-051-10/+56
| | | | | | | | | | | | | | | legacy kbd event handlers are registered in the new core, so they receive events from the new input core code. keycode -> scancode translation needed here. legacy kbd_put_keycode() sends events to the new core. scancode -> keycode translation needed here. So with this patch the new input core is fully functional for keyboard events. New + legacy interfaces can be mixed in any way. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* input: rename file to legacyGerd Hoffmann2014-03-051-0/+559
Rename ui/input.c to ui/input-legacy.c. We are going to replace it step by step. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
OpenPOWER on IntegriCloud