keyboard example?

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

keyboard example?

Post 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?
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

Post 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
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post 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?
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

Post by misfire »

No, I can't tell you what it is. I recommend studying the way uLaunchELF did it.
Post Reply