I had some success today using a Wiimote with my DIY Tabletop cabinet. I was able to get working to some degree both NudgeXY and Nudge keys using several pieces of software. It needs some careful tuning which is somewhat cabinet specific but hopefully this information will be useful to others.
1. Locate a working BlueTooth stack for your device as the one that come with Windows is deficient. You can find the appropriate driver for your bluetooth device here http://www.wiili.org...uetooth_Devices I needed the BlueSoleil http://www.wiili.org....php/BlueSoleil stack which is pay software but they do have a free version that complains a lot and does not transfer large amount of data but seems to work well enough for this task.
2. You need GlovePie http://carl.kenner.g...ovepie_download which is an application which can run pie scripts that can be used to translate Wiimote data streams into PC events like mouse, keyboard and joystick.
3. In order to simulate a PC joystick you need PPJoy http://www.geocities...s/PPJoyMain.htm which is primarily used for homebrew parallel port joysticks like connecting an old NES joystick to your PC but can also be used to create virtual joysticks which GlovePie can drive with scripts which can be controlled by the Wiimote.
4. You need to firmly attach your wiimote to your cabinet and it must be level as gravity is indicated as an acceleration down and if your wiimote is not flat there will be some perceived motion in that direction unless you account for that in the PIE script and zero it out.
5. Install the bluetooth driver software and sync your wiimote with your PC either by pressing the 1 and 2 buttons at the same time or the button inside the battery area. MAKE SURE YOUR Wii IS OFFor it will attach to your wiimote instead of your PC.
6. Install PPJoy and create a virtual joystick
7. Run GlovePie and run the script below.
8. Launch Future Pinball and configure it as indicated (probably only want to try either Nudge with the joystick or Nudge with the keys not both at the same time)
Here is the PIE script I was experimenting with, GlovePie seems to multi-thread things so I added the flag to prevent multiple nudges on the keys at the same time. Please experiment with it and post any results you have. Seems like it would be a solution for the shooter moving too quickly for the disassembled mouse sensors to register the motion. If I can stick one of the accelerometers from the wiimote on the end of the shooter it might work. Next I need to be able to use the IR camera in the Wiimote for TrackIR
*******Copy Script Below*********
//Future Pinball driver
var.gx = wiimote.gx
var.gz = wiimote.gz
// send nudge keys to future pinball
if var.reset == 0 then
if abs(var.gx) > abs(var.gz) then
if var.gx > 0.10 then
var.reset = 1
Key.Z = true
wait 20 ms
Key.Z = false
wait 200 ms
var.reset = 0
elseif var.gx < -0.10 then
var.reset = 1
Key.Slash = true
wait 20 ms
Key.Slash = false
wait 200 ms
var.reset = 0
endif
elseif var.gz > 0.10 then
var.reset = 1
Key.Space = true
wait 20 ms
Key.Space = false
wait 200 ms
var.reset = 0
endif
endif
// send wiimote motion to virtual joystick which future pinball is configured for Nudge
PPJoy.Analog0 = wiimote.gx
PPJoy.Analog1 = wiimote.gz
// Show wiimote forces
debug = Wiimote.gx+', '+Wiimote.gz



Top


















are all trademarks of VPFORUMS.