 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Tue Jul 25, 2006 1:14 pm Post subject: usb keyboard |
|
|
Are there any examples of how to use a usb keyboard for text input?
Also, I'm still using the pretty basic code from the pad example for controller input/initilization, and I've heard that the code from there isn't the best, is there a better example somewhere? Or can someone give me some pointers to make it better? |
|
| Back to top |
|
 |
Polo35
Joined: 09 Apr 2006 Posts: 25
|
Posted: Wed Jul 26, 2006 5:11 pm Post subject: |
|
|
Hey.
Look at ULE source code. ;)
There is a text editor with full usb keyboard support.
Best regards
Polo |
|
| Back to top |
|
 |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Thu Jul 27, 2006 1:57 am Post subject: |
|
|
Many thanks, I managed to figure out the usb keyboard stuff after I realized that the header for it is libkbd.h, not ps2kbd.h. Once knew what the functions were it was pretty simple from there on out, with a little trial and error.
I will probably take a look at uLaunchElf, because right now I think my program kinda dies if you unplug a controller, or don't have one plugged in to begin with.
Polo35: I saw that you managed to change uLaunchElf to use gsKit, which is what I am currently using, but I'm having some odd problems with the fonts(not displaying the proper letter, not always drawing the entire screen of text, wierd things); did you have any problems with it? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|