Skip to main content

Using Gamepads, Joysticks and even the Wiimote with Project Wonderland

2 replies [Last post]
krishna_gadepalli
Offline
Joined: 2005-12-14
Points: 0

I have just putback support to navigate Project Wonderland with Gamepad and Joystick type devices (using JInput) into Project Wonderland. We have tested it both on Linux and Windows using Logitech dual action gamepad, Microsoft SideWinder and the Wiimote (linux only)...

You can even use the Wiimote to navigate Project Wonderland. The Wiimote uses the same JInput interface and so it needs a event driver on Linux or a DirectInput driver on Windows systems. I have setup a new project @ http://lg3d-wii.dev.java.net to implement a user-space event driver for Linux. See its web-page for instructions on how to use it. I am assuming that one can do something similar to setup a DirectInput driver on Windows (see http://carl.kenner.googlepages.com/glovepie_download) and then use it with Wonderland - but I havent tried it yet.

Currently most of the navigation using JInput devices is just hardcoded in lg3d-wonderland/src/classes/org/jdesktop/lg3d/wonderland/scenemanager/WalkBehavior.java
Ideally this should be configurable. I will try to do that when I have some extra time or if someone from the community wants to do it, that would be great too...

Thanks
-krishna

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
William Tracy

> I have just putback support to navigate Project Wonderland with Gamepad and
> Joystick type devices (using JInput) into Project Wonderland. We have tested it both
> on Linux and Windows using Logitech dual action gamepad, Microsoft SideWinder
> and the Wiimote (linux only)...

Who needs the Wii? Now I just want to buy the controller and hack LG3D
with it. :-)

Is a Bluetooth-enabled PC required for this to work?

William

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Krishna Gadepalli

Hi William

Yes, you will need a bluetooth enabled PC for the Wiimote to work.
The wiinput driver uses the BlueZ stack for bluetooth communication.

You can find most of the information needed to get the wiimote to
communicate with a PC at http://www.wiili.org/index.php/Wiimote

I too just bought the wiimote (for $50) just to try this out. Note that
you will need a IR sensor bar if you want to use the Wiimote's IR
tracking. You can buy one or build one yourself for <$10. See
http://jonpeck.blogspot.com/2006/12/wii-diculous.html

Note that the support for JInput is in Project Wonderland, but it should
easy to add/move this into Looking Glass.
Let me know if you need any help...

-krishna
William Tracy said the following on 02/14/2007 05:17 PM:
>> I have just putback support to navigate Project Wonderland with
>> Gamepad and
>> Joystick type devices (using JInput) into Project Wonderland. We have
>> tested it both
>> on Linux and Windows using Logitech dual action gamepad, Microsoft
>> SideWinder
>> and the Wiimote (linux only)...
>
> Who needs the Wii? Now I just want to buy the controller and hack LG3D
> with it. :-)
>
> Is a Bluetooth-enabled PC required for this to work?
>
> William
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net