201207-xinput2: Get XInput events directly
authorGabriel M. Beddingfield <gabrbedd@gmail.com>
Sun, 8 Jul 2012 03:59:12 +0000 (22:59 -0500)
committerGabriel M. Beddingfield <gabrbedd@gmail.com>
Sun, 8 Jul 2012 19:29:38 +0000 (14:29 -0500)
commit228e7d27e5275a11b269a36fd0ba8a3ad1e69352
treef4ef01350f5d1b6f02d4ea16597bebb83c06b578
parent6205211787641a3d060ff8deee760e51fad04c6e
201207-xinput2: Get XInput events directly

In order to get raw access to XInput events, the following were done:

  * QApplication is replaced by TApplication, which
    derives from it and re-implements x11EventFilter()

  * ScribbleArea removes the Qt::WA_AcceptTouchEvents and
    replaces it with a call to TApplication::sendTouchEventsTo()

At the current time, the events aren't actually handled, just quick
debug messages printed.
201207-xinput2/fingerpaint.pro
201207-xinput2/main.cpp
201207-xinput2/scribblearea.cpp
201207-xinput2/tapplication.cpp [new file with mode: 0644]
201207-xinput2/tapplication.hpp [new file with mode: 0644]