Qt5.1.1 no input from keypad that is a standard linux event device
I imagine this is a really silly issue, and I missed a plugin i need. I have a keypad with 5 keys at /dev/input/event0 and qt5 doesn't recognise any of those key events currently.
Have you tried specifying the keyboard plugin when running your application?
These is a line to test which key is within the event device ( default 'Q'), you should hack it to make sure one of your key is in the "test list" (after your change).
@if (testBit(KEY_Q, bitsKey)) @
or in your case qdevicediscovery_udev.cpp .
Yes, if the discovery fails, run with -plugin evdevkeyboard:/dev/input/event0 (or QT_QPA_EVDEV_KEYBOARD_PARAMETERS=/dev/input/event0 if using the eglfs platform)
Is the device sending normal key events? Or is it sending something special which evdevkeyboard does not recognize?