Hi all, I made driver for keyboard in uClinux. When the key is pressed I 
use following functions, for key A :
input_report_key(sgold2kpd_dev, KEY_A , 1);
input_report_key(sgold2kpd_dev, KEY_A , 0);
input_sync(sgold2kpd_dev);

But on the console I can't see letter but only announcement:

<7>evbug.c: Event. Dev: input event, Type: 1, Code: 30, Value: 1
<7>evbug.c: Event. Dev: input event, Type: 1, Code: 30, Value: 0
<7>evbug.c: Event. Dev: input event, Type: 0, Code: 0, Value: 0

So events heppen but I dont know where is the problem. In the google I 
found something but for PC for mouse driver. It is essential to
add section in /etc/X11/xorg.conf:

Section "InputDevice"
        Identifier      "A4 Tech WOP-35"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Device" "/dev/input/event9"
        Option      "ZAxisMapping" "6 7"
        Option      "Buttons" "11"
EndSection

So in which file I have to add this section in uCLinux? It seems in my 
case there is problem related with this.
In dev I have can input device: input,c,13,63. Thanks for help

Regards, marcinus

----------------------------------------------------
"Poznań dla Ziemi" - koncert Nelly Furtado 11 lipca 2008 r. 
godz. 20.00 nad jez. Malta. Bilety 65 zł i 95 zł dostępne 
na eventim.pl i bileteria.pl Poznań! Tu Warto Żyć.
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Ffurtadowpolsce.html&sid=356


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to