Wii Classic Controller as Joystick

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
Neelix
---- E L I T E ----
---- E L I T E ----
Posts: 288
Joined: Sat May 31, 2014 9:02 pm
Location: Melbourne, Australia

Wii Classic Controller as Joystick

Post by Neelix »

I've been playing Oolite primarily on my Pandora up until now but I decided to give it a go on my netbook while I run a stress test on the Pandora to see how high I can overclock it. So I started a new game in trunk on the netbook, and decided to give the Adder broke start a go. Have been finding the keyboard controls finicky but I don't have a joystick... or do I...

Suddenly I remembered that I have a Wii Classic Controller and I figure maybe I can get it working with Oolite - worth a try methinks.

So I dig out the wiimote and classic controller and pop in fresh batteries. Found a program called wmgui and installed that. Got it talking to the wiimote, and showing the position of the analogue sticks - so far so good. Start Oolite - Joystick config disabled - hmm... it hasn't created an actual joystick device.

A bit more digging and I found and installed a program called Wiican. Ran it... It lets me select a configuration to use the Classic Controller as a gamepad - perfect - but it won't connect. Mouse over says load uinput module first. ok.
A quick modprobe later uinput was loaded, I restarted Wiican and it connected to the wiimote right off the bat.. Sweet!
Next step - fire up jstest-gtk make sure the joystick device works ok... - yes and no... It detects all 6 axes and 11 buttons but needs calibration.
No problem I have jscal installed, and use that to calibrate each of the 6 axes. - so far so good - I can move each of the sticks and get the results I expect in jstest. well allmost - the left stick indicator for the vertical axis still won't go all the way to the top but everything else looks good.

That done it's time to fire up Oolite again, and sure enough it now lets me access Joystick Configuration. It even says Stick 1: Nintendo Wiimote at the top of the screen. But this is where it falls down. :-(

The Roll axis is set to " Stick 1, Axis 1" That's no good - that's the dpad. I need it on Axis 3, the left stick. So select Roll and press enter. I deflect the left stick fully left... then fully right... nothing... not a damn thing - it's still telling me I have to deflect the axis I want to assign.
A little experimentation shows that the only axes I can actually assign to anything are axes 1 and 2 (the dpad) attempts to assign any of the other 4 axes to anything results in failure to recognise that the axis has been deflected.

So here I ask for help... Does anyone have any suggestions on how to get Oolite to recognise and assign the analogue controls?

- Neelix
Talaxian Enterprises: [wiki]Vacuum Pump[/wiki] [wiki]Waypoint Here[/wiki]
Post Reply