diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-16 11:03:20 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-07-12 09:25:50 +0200 |
commit | 2e6a64cb8d7506ad27d3b6c8000bc8d773936932 (patch) | |
tree | fe0f65ac153af12a53f119b19ae725e28da8f26e /hw/timer | |
parent | 2330e9e7cca29346df74b21105a587d9478ff296 (diff) |
input-linux: better capability checks, merge input_linux_event_{mouse, keyboard}
Improve capability checks (count keys and buttons), store results.
Merge the input_linux_event_mouse and input_linux_event_keyboard
functions into one, dispatch into input_linux_handle_mouse and
input_linux_handle_keyboard depending on device capabilities.
Allow calling both handle functions, so we can handle mice which
also send key events, by routing those key events to the keyboard.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1466067800-25434-4-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions