Connection between Touch Screen Device Driver and /dev/input/event ...
Could someone tell me how to make the connection between
Touch Screen device driver and /dev/input/event ? Now i accomplish the Touch Screen device driver. But I don't know how to make the connection with cursor and create the event. Someone tells me that's /dev/input/event with no details. Please give me some ideas for that. Thanks! |
If you mean that you want to *program* to the input event queue, I suspect that's probably more low-level than you want to go.
If you want to just get your touch screen working under Linux, then look here: http://www.tldp.org/HOWTO/XFree86-To...een-HOWTO.html http://www.jiawen.net/linuxbits.html In general, a "touch screen" is just another instance of a mouse device, and can readily be used as such (once successfully installed and configured, that is ;-). |
I assume this has a USB connection for the touchscreen function?
So what driver is it using? You can plug the device in and check the last few lines of the output of the 'dmesg' command. Another source of information is to look for it in the output of $ cat /proc/bus/usb/devices If the driver has installed it as a mouse device then you should (I think) be able to see it in the output of $ cat /proc/bus/input/devices Then you have to make sure your X11 configuration is set to use it. |
All times are GMT -5. The time now is 05:00 AM. |