forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

usb keyboard

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Tue Jul 25, 2006 1:14 pm    Post subject: usb keyboard Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Polo35



Joined: 09 Apr 2006
Posts: 25

PostPosted: Wed Jul 26, 2006 5:11 pm    Post subject: Reply with quote

Hey.

Look at ULE source code. ;)

There is a text editor with full usb keyboard support.

Best regards

Polo
Back to top
View user's profile Send private message
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Thu Jul 27, 2006 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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