libinput: Fix key mapping
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Tue, 18 Aug 2015 09:51:45 +0000 (11:51 +0200)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Fri, 21 Aug 2015 21:02:56 +0000 (21:02 +0000)
commitb409b1a0e423fe690f038ca0140830b13970fa4d
tree8a6270f182b91cbcb76e5776443a054c6894a0b1
parent19e61ac2907fd453d629d270668139cd1da7e10b
libinput: Fix key mapping

Prevent generating 2 character long 'text' strings with some garbage as
second char.

This matches how xcb works.

Change-Id: I88a248a89c80b0e100c1c4871cfab4f2c287535e
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
src/platformsupport/input/libinput/qlibinputkeyboard.cpp