ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Wii Port > Keyboard support? Goto page Previous  1, 2, 3, 4, 5, 6  Next
Keyboard support?
  Author    Thread Reply to topic
dhewg
ScummVM Porter


Joined: 04 Jun 2008
Posts: 169
 

There is at least one library on wiibrew.org that deals with USB keyboards. Still, nobody seems to care about getting a stable version into libogc. From a few reports on IRC it seems those libs do not yet work very well.

On top of that, ScummVM's virtual keyboard GSoC project is just around the corner, and that makes alot of more sense than a physical keyboard on the Wii imho.

ScummVM as well as libogc is open source, so if anyone feels like it: go for it Smile

Again: if there is stable support (without new library dependencies), i'll gladly add it to the Wii port. But there are other things on my TODO list with higher priorities

 Reply with quote  
Post Wed Jan 21, 2009 10:39 am 
 View user's profile Send private message
brijohn



Joined: 25 Jan 2009
Posts: 16
 

Hello all,

I'm posting to let you know I have compiled a version of scummVM for the WII that does in fact offer USB Keyboard support. I've been using it recently to play my old AGI games and it is working pretty well for me.

For USB keyboard support I'm using libwiikeyboard from wiibrew.org that i have patched to properly support using interrupt endpoints. In doing so i found two usb related bugs in libogc that needed to fixed as well. Those two patches have been submitted to the patch tracker for devkitpro.

I'm posting a link that includes the prebuilt version as well as the necessary patches used to compile it.

ScummVM r36060
-USB Keyboard support
-Virtual keyboard mapped to down on the wiimote

 Reply with quote  
Post Mon Jan 26, 2009 8:45 am 
 View user's profile Send private message
Bossk



Joined: 03 Nov 2008
Posts: 107
 

Nice job brijohn!
I will definitely try your patches. And grab myself a wireless usb keyboard if it works Razz

 Reply with quote  
Post Mon Jan 26, 2009 9:13 am 
 View user's profile Send private message
MusicallyInspired



Joined: 02 Mar 2007
Posts: 949
Location: Manitoba, Canada
 

SWEET!!

 Reply with quote  
Post Mon Jan 26, 2009 3:39 pm 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address
ErikBauer



Joined: 23 Jan 2009
Posts: 4
 

Great!
Thanx a lot for the effort!!

 Reply with quote  
Post Mon Jan 26, 2009 4:56 pm 
 View user's profile Send private message Send e-mail
chojin



Joined: 27 May 2008
Posts: 48
Location: Berlin, Germany
 

Awesome Very Happy

I just took my cordless desktop over to my Wii and tried some stuff. I could perfectly edit the Game Titles, although my german layout is of course not known. Maybe some setup is possible here later, e.g. together with virtual keyboard layout.
But, most important: I was able to beat the boxing coach up Wink

It's really nice how things evolve here. USB-Storage and USB-Keyboard work like a charm. Thank you!

PS: USB-Mouse anyone? Wink

 Reply with quote  
Post Tue Jan 27, 2009 6:18 am 
 View user's profile Send private message
MusicallyInspired



Joined: 02 Mar 2007
Posts: 949
Location: Manitoba, Canada
 

Just tried out Space Quest 0: Replicated. Works great. The only problems are you can't do any Shift+number keys. ie- I can't type an "!" or "$". Also it's annoying that F7 brings up the virtual keyboard when it's also the restore game shortcut key in AGI games. Other than that it's pretty good.

 Reply with quote  
Post Wed Jan 28, 2009 2:31 am 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address
brijohn



Joined: 25 Jan 2009
Posts: 16
 

chojin: Yeah libwiikeyboard only really supports standaard US qwerty layout.

MusicallyInspired: Yeah I didn't bother to add code to handle shifting non alpha characters since i didn't think by and large the were that necessary I'll add them later tonight. Also the F7 key is mapped by the main scummvm event loop to the virtual keyboard, but it only brings up the virtual keyboard if no modifiers are pressed so if you hold shift while pressing F7 you should be able to bring up the main restore dialog for AGI games.

 Reply with quote  
Post Wed Jan 28, 2009 7:59 pm 
 View user's profile Send private message
MusicallyInspired



Joined: 02 Mar 2007
Posts: 949
Location: Manitoba, Canada
 

Oh, right on then! Thank you. I'd say it's perfect then. I just noticed that Shift+number keys didn't work when trying to type "Gold Rush!" in the game title label.

 Reply with quote  
Post Wed Jan 28, 2009 11:53 pm 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address
brijohn



Joined: 25 Jan 2009
Posts: 16
 

Alright heres the updated version.

ScummVM r36125
- Non alpha keys are now shiftable
- Changed main ScummVM trigger for Virtual Keyboard to shift+F7 (dpad down still brings up vkeybd as well)

 Reply with quote  
Post Thu Jan 29, 2009 4:53 am 
 View user's profile Send private message
Bossk



Joined: 03 Nov 2008
Posts: 107
 

Again, nice job!
How robust are your changes brijohn?

I know it works fine without a keyboard plugged in, but what happens when you remove the keyboard while running a game?
And when plugging it back in?

 Reply with quote  
Post Thu Jan 29, 2009 9:05 am 
 View user's profile Send private message
brijohn



Joined: 25 Jan 2009
Posts: 16
 

Unplugging and replugging in keyboards should work as expected.

I do have one keyboard that sometimes fails to work after being plugged in, but since my others all seem to work i think it might be a flaky usb cable on that one.

 Reply with quote  
Post Thu Jan 29, 2009 8:32 pm 
 View user's profile Send private message
dhewg
ScummVM Porter


Joined: 04 Jun 2008
Posts: 169
 

wow nice, i didn't see that coming Smile

thanks alot for working on this, looks like you made some users happy!

i don't much time in this or the next week, but i'll definitely take a look then!

 Reply with quote  
Post Thu Jan 29, 2009 9:04 pm 
 View user's profile Send private message
MusicallyInspired



Joined: 02 Mar 2007
Posts: 949
Location: Manitoba, Canada
 

Awesome! It works great. Thanks again so much! Now I just need a wireless keyboard...

 Reply with quote  
Post Thu Jan 29, 2009 9:30 pm 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address
Red_Breast



Joined: 30 Sep 2008
Posts: 785
Location: The Bar Of Gold, Upper Swandam Lane.
 

Oh wow.
Need I say more.

 Reply with quote  
Post Thu Jan 29, 2009 10:19 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page Previous  1, 2, 3, 4, 5, 6  Next


Forum Rules:
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, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge