I have a gpio-keys driver that works fine and creates a /dev/input/
event2 file that I can read from.
The question is how do I tell Xorg to use it for the keyboard? My
touchscreen is at /dev/input/event1 and X works just fine with it.
Thanks.
I have a gpio-keys driver that works fine and creates a /dev/input/
event2 file that I can read from.
The question is how do I tell Xorg to use it for the keyboard? My
touchscreen is at /dev/input/event1 and X works just fine with it.
Thanks.
I have a gpio-keys driver that works fine and creates a /dev/input/
event2 file that I can read from.
The question is how do I tell Xorg to use it for the keyboard? My
touchscreen is at /dev/input/event1 and X works just fine with it.
Hi Alex,
As per my knowledge , the hardware scan lines are limited to 4x4 Metrics and the 4+4 lines give 8 bit,so only 256 value are possible.And your definition of GPIO key as 256,257 and 258.
So I think either you have to modify the Xmodmap file with the new key definition(which i have tried and failed) or need to change it to the values between 0-255(which may disable any keyboard key).
I can set the buttons to produce any key codes I want: I define the
scan codes myself.
The problem is I don't know how to tell the Xorg server to use /dev/
input/event2
Most likely a couple of lines are needed in xorg.conf
I hope someone knows the syntax of the top of their head.
So I think either you have to modify the Xmodmap file with the new key
definition(which i have tried and failed) or need to change it to the values
between 0-255(which may disable any keyboard key).
I can set the scancodes to anything. The question is how to make xorg
use the /dev/input/event2
What is the syntax for the xorg.conf?