Send the native scancode in evdevkeyboard
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Wed, 25 Jul 2012 11:36:16 +0000 (14:36 +0300)
committerQt by Nokia <qt-info@nokia.com>
Sat, 28 Jul 2012 13:23:07 +0000 (15:23 +0200)
commit05c07c7636012ebb4131ca099ca4ea093af76410
tree4ea415df73c850c8fa7ea524e5a629cfe35b3bae
parent10cd17d0d3f373842e9fc9f1045a320f6140a963
Send the native scancode in evdevkeyboard

Until now the native scancode was not specified which meant
when qwindow-compositor (or any other Qt-based compositor using
the standard Wayland protocol, i.e. sendKeyPress() and such) tried
to send the native scancode over to the clients, all it got was a
code of 0.

This fixes keyboard input when running qwindow-compositor on top
of kms and EvdevKeyboard.

Change-Id: I5d9a882f249634fb7584900b5f298f794befee3b
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp
src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler_p.h