Page 1 of 1
keyboard example?
Posted: Fri Nov 10, 2006 5:26 am
by JorDy
can anyone provide me with keyboard example code? and what is the lib i must include in the makefile ?
Thanks
*edit
looking through my code so far it wants to load a module i think "usbkbd:dev" where is this located?
Posted: Fri Nov 10, 2006 9:50 pm
by misfire
You have to link your program to "libkbd.a", and load the IOP module "ps2kbd.irx".
uLaunchELF has keyboard support; have a look at its source code:
http://www.ps2-scene.org/forums/showpos ... ostcount=1
Posted: Sat Nov 11, 2006 3:50 am
by JorDy
thanks but in my ps2link console i keep getting the read error -19 when its reading "usbkbd:dev" can you tell me what this file is or what it is for?
Posted: Tue Nov 14, 2006 9:31 pm
by misfire
No, I can't tell you what it is. I recommend studying the way uLaunchELF did it.