Add input event support for X11WindowSystem
authorFrédéric Blain <frederic.blain@valeo.com>
Wed, 11 Jul 2012 09:47:55 +0000 (11:47 +0200)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Fri, 20 Jul 2012 07:07:16 +0000 (00:07 -0700)
commit06a46933dbeb219d9ba3959b9a985c4d52397459
tree1b438b2e82461108acb22b635001251b57fad39b
parentb8a3befa41f15a5f9d210745da3cf67a12f46e79
Add input event support for X11WindowSystem

This patch adds support for pointer & keyboard events to X11 window system.
It can serve as example to introduce input events support for other window system.

Note that MultiTouch is _not_ yet supported for the following reasons:
 1- I don't have any plateform runing a recent X11, which is needed for validation
 2- We would need to upgrade the whole X11WindowSystem to use XInput2, & I don't have the time for the moment
I've added comments in X11WindowSystem.cpp to indicate what has to be done. If someone wants to takeover this task .. ;)
LayerManagerPlugins/Renderers/Graphic/include/WindowSystems/X11WindowSystem.h
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp
LayerManagerPlugins/Renderers/Platform/GLXRenderer/src/X11GLXRenderer.cpp
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/src/X11GLESRenderer.cpp