[Interest] tty Keyboard & Mouse Support in Qt5

ganesh.sathyanarayanan ganesh.sathyanarayanan at gmail.com
Wed Aug 29 11:47:48 CEST 2012

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.

On Qt4.8.2, I used to export QWS_KEYBOARD=linuxinput:/dev/event0 and
How do I implement this now on Qt5 QPA

Please let me know if I am not clear, or you have an additional question.
And thanks for your reply.


On Wed, Aug 29, 2012 at 2:58 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> On quarta-feira, 29 de agosto de 2012 14.22.45, ganesh.sathyanarayanan
> wrote:
> > Hi,
> >
> > I've asked this in the qt-forum (
> > http://qt-project.org/forums/viewthread/19912/) but am asking here
> again,
> > since I didnt get any response there...
> >
> > How do I enable tty keyboard for linux in Qt5 which has only QPA.
> Do you mean reading from stdin? Or do you mean reading from Linux evdev?
> Also, TTY has no mouse support. That requires a connection to gpm, which is
> something separate. Unless you mean evdev again.
> --
> Thiago Macieira - thiago.macieira (AT) 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
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120829/d16a7f28/attachment.html>

More information about the Interest mailing list