input: key mapping helpers
commit02aa76c2ba5df8db7c968d92959af2a7c35690a8
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Mar 2014 11:15:39 +0000 (11 12:15 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 May 2014 06:30:11 +0000 (16 08:30 +0200)
treebf80789166d651d63c71dd1c74747026bf5ba303
parent2858ab09e6f708e381fc1a1cc87e747a690c4884
input: key mapping helpers

Add helper functions to translate KeyValue (qapi key representation)
into other representations: traditional qemu key numbers, qapi key
codes (Q_KEY_CODE_*) and scancode sequences.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/input.h
ui/Makefile.objs
ui/input-keymap.c [new file with mode: 0644]
ui/input-legacy.c