Listen for a new wl_keyboard from wl_seat_listener and create an
authorSam Spilsbury <smspillaz@gmail.com>
Thu, 25 Jul 2013 05:59:25 +0000 (13:59 +0800)
committerSam Spilsbury <smspillaz@gmail.com>
Fri, 11 Oct 2013 16:34:37 +0000 (00:34 +0800)
commitdf4277989f28d172e9d1be4492b4f1c801d1dc4b
tree42aa74207f5fc640be2b94efa34e45bbd812d16f
parent3c5e295bd2ac30ef039218db18521b1df8c050a0
Listen for a new wl_keyboard from wl_seat_listener and create an
XKBKeymap implementing wayland::Keymap. This class keeps track
of the keyboard state and MUST be updated every time a modifier or
a key is pressed (eg, every time we get an event from the protocol).

KeyboardProcessor implements the logic of converting XKB keysyms to
XBMC keysyms. It also changes the focus state of the window and
delivers key events to the XBMC event subsystem.

TimeoutManager and WaylandEventLoop are just a simple abstraction for
adding timeouts to the poll () / wl_display_dispatch () mainloop, in
place so that we can implement key repeat
17 files changed:
.gitignore
configure.in
xbmc/input/linux/Keymap.h [new file with mode: 0644]
xbmc/input/linux/Makefile [deleted file]
xbmc/input/linux/Makefile.in [new file with mode: 0644]
xbmc/input/linux/XKBCommonKeymap.cpp [new file with mode: 0644]
xbmc/input/linux/XKBCommonKeymap.h [new file with mode: 0644]
xbmc/windowing/DllXKBCommon.h
xbmc/windowing/Makefile.in
xbmc/windowing/WinEventsWayland.cpp
xbmc/windowing/WinEventsWayland.h
xbmc/windowing/egl/wayland/XBMCConnection.cpp
xbmc/windowing/egl/wayland/XBMCConnection.h
xbmc/windowing/wayland/Keyboard.cpp [new file with mode: 0644]
xbmc/windowing/wayland/Keyboard.h [new file with mode: 0644]
xbmc/windowing/wayland/Seat.cpp
xbmc/windowing/wayland/Seat.h