eglfs: Create mouse, keyboard and touch handlers by default
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Thu, 31 May 2012 05:28:53 +0000 (22:28 -0700)
committerQt by Nokia <qt-info@nokia.com>
Sat, 2 Jun 2012 08:25:31 +0000 (10:25 +0200)
commit2a1b50d67c1f2f4c5bd5efe048080989db37f44f
treef3a542107ef83101f1a3fde3cdcd6a0801090ad2
parent6131b909532f7bfdcbc8fa2f35f2c6f84c06547d
eglfs: Create mouse, keyboard and touch handlers by default

Prior to this change, input support for eglfs was loaded as plugins. With
this change, eglfs supports evdev based keyboard, mouse and touch input
out of the box.

The event dispatcher is created in the constructor because the evdev
code creates QSocketNotifiers in the constructor which requires an
event loop.

Change-Id: I4e08f4121b9381ee5b414d0886eae2b8a2925800
Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com>
Reviewed-by: Romain Pokrzywka <romain.pokrzywka@kdab.com>
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/plugins/platforms/eglfs/qeglfsintegration.cpp
src/plugins/platforms/eglfs/qeglfsintegration.h