How to read keys from USB keyboard on AT91SAM9260
Hi Everyone,
I am using 2.6.26.3-olimex kernel(Embedded system) running on AT91SAM9260. I am using a Logitech USB keyboard. It is detected as "/dev/input/event0". I don't know how to detect key press events and read the keys? Why can't I read the keys using scanf() like funtions? Can anyone help me? Regards, Siva |
Have you got HID modules loaded?
|
Hi business_kid,
Thanks for your response. I have enabled the following options in the menuconfig file. Input Device Support --> Event Interface Keyboards --> AT Keyboard HID Devices --> USB Human Interface Device support HID Devices --> PID device support Special HID Drivers --> Logitech and Logitech force feedback I don't find anything inside /lib/modules/ How to check the HID modules are loaded or not? |
All times are GMT -5. The time now is 02:18 PM. |