[Interest] tty Keyboard & Mouse Support in Qt5

laszlo.p.agocs at nokia.com laszlo.p.agocs at nokia.com
Wed Aug 29 13:03:52 CEST 2012


Yes, evdevkeyboard and evdevmouse, although nowadays they are built automatically as part of qtbase when the dependencies are met.

udev is not a requirement. When building without udev, you will need to explicitly specify the device (e.g. by passing -plugin EvdevMouse:/dev/input/event0).


From: interest-bounces+laszlo.p.agocs=nokia.com at qt-project.org [mailto:interest-bounces+laszlo.p.agocs=nokia.com at qt-project.org] On Behalf Of ext ganesh.sathyanarayanan
Sent: 29 August 2012 13:37
To: Thiago Macieira
Cc: interest at qt-project.org
Subject: Re: [Interest] tty Keyboard & Mouse Support in Qt5

Hi Thiago,

Thanks for clarifying. I believe this means I need to build /plugins/generic/evdevkeyboard and evdevmouse, correct?
Hmm, that means I need to cross compile libudev (as it currently isnt available on my platform)

On Wed, Aug 29, 2012 at 3:36 PM, Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>> wrote:
On quarta-feira, 29 de agosto de 2012 15.17.48, ganesh.sathyanarayanan wrote:
> Hi Thiago,
> Sorry for not being clear, but I do not understand your question.
> Basically /dev/event0 is setup as my linux char device for keyboard, and
> likewise event1 for mouse.
> cat /dev/event0 and then pressing any key will show the keycode on the
> stdout. Likewise for mouse.
That's evdev.

Thiago Macieira - thiago.macieira (AT) intel.com<http://intel.com>
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120829/c775180c/attachment.html>

More information about the Interest mailing list