Hi,
I'm porting an application to Dingux. In the configuration, a keyboard driver and optional parameters are required. If I use TTY with parameter /dev/event0, I receive key events in the application. However, for each button press, I receive about 18 events with all kinds of keycodes.
For example, after pressing the 'right' button once, I get:
Key code: 16777304
Key code: 65
Key code: 16777265
Key code: 45
Key code: 16777216
ey code: 16777236
Key code: 16777216
ey code: 16777304
Key code: 44
Key code: 16777265
Key code: 45
Key code: 16777304
Key code: 16777254
Key code: 16777219
Key code: 16777216
ey code: 16777236
Key code: 16777304
Key code: 46
Key code: 16777219
The keycode 16777236 corresponds with KEY_RIGHT which indicates that at least one of the events seem to give the correct code.
So, while it seems to react to button presses now, something still isn't right. Does anybody have an idea of what could be going on. Also, if I am in the Dingux console and I press a button, strange characters appear (eg. [A[A[AA[A[A....) in the command line. Is this normal? It might be related to the problem I'm having.
Thanks!