The Source for Java Technology Collaboration

Home » java.net Forums » Project Looking Glass 3D » Interest

Thread: Using Gamepads, Joysticks and even the Wiimote with Project Wonderland

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Feb 14, 2007 5:33 PM by: Krishna Gadepalli Threads: [ Previous | Next ]
krishna_gadepalli

Posts: 24
Using Gamepads, Joysticks and even the Wiimote with Project Wonderland
Posted: Feb 13, 2007 1:36 PM
  Click to reply to this thread Reply

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

William Tracy
Re: Using Gamepads, Joysticks and even the Wiimote with Project Wonderland
Posted: Feb 14, 2007 5:17 PM   in response to: krishna_gadepalli
  Click to reply to this thread Reply

> 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
Re: Using Gamepads, Joysticks and even the Wiimote with Project
Wonderland

Posted: Feb 14, 2007 5:33 PM   in response to: William Tracy
  Click to reply to this thread Reply

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://> 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





 XML java.net RSS