Unsolved Reg. QT Keypress Event gives unlisted output when using e->Key()
-
Dear All,
I have one class derived from QLineEdit. I am getting some weird values in KeyPress Event which are not listed here:
Key-enumFor example:
If I press 0 then apart from normal event i also get one extra event whose
e->key() gives 17104904 as outputSimilarly if i press 1 then apart from normal event i also get one extra event whose
e->key() gives 17104905 as output.If i try to print the text of the associated event using e->text() then it gives blank.
Please let me know from where this extra event is coming. This event i get whenever i try to input numbers from external key pad [with values 0-9] connected to the embedded hardware. This is not a normal USB keyboard.
Thanks
Siddharth -
Hi,
What version of Qt are you using ? On what device ? With which OS ?
-
@SGaist Thanks for your reply. You changed your profile pic :)
I am using QT 5.2 . It is an embedded device running on Intel processor. OS is scarlet Linux.Thanks
Siddharth
-
@Sidii
Is it possible the key mapping of that particular device/driver is somehow not correctly interpreted?