Problem with GlovePie and wiimotes

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Problem with GlovePie and wiimotes

Postby Cecilmax » Thu Dec 08, 2016 11:36 am

Hello guys,

I wonder if someone already experimented that problem. I try to use GlovePie with wiimotes, but whatever script I try, like mouse.x = wiimote.pointerx as example, when I click Run, my wiimote start rumble like hell and doesn't stop until I power it off or stop the script. I click run again, sometime it rumble again and sometimes not. It is a bug, do I miss something ?

I use GlovePie 0.43 on Windows 10 with may flash sensor bar as bluetooth.

I have another issue, it is possible to force click mouse with GlovePie ? I try something like:
if Key.A then
mouse.buttonright = true
end if

and it doesn't work, but when I try

it show true when I right click ...

Do I miss something ?

Thanks for your help :)
Posts: 1
Joined: Tue Dec 06, 2016 11:09 pm

Re: Problem with GlovePie and wiimotes

Postby TheRealDise » Sat Dec 10, 2016 7:32 am

Hello, new member here. What game are you trying to play? There are scripts for Supermodel, but all Model 3 machines have different controls. The only script I could find is for The Lost World. If you are trying to play that, then the script is here:
// Wiimote mouse script for Windows desktop
// Requires a sensor bar

var.ButtonFreezeTime = 250ms
var.PointerBump = KeepDown(Pressed(wiimote.A),var.ButtonFreezeTime) or KeepDown(Pressed(wiimote.B),var.ButtonFreezeTime)
Wiimote.Led1 = true

// Mouse movement
if wiimote.PointerVisible but not var.PointerBump then
mouse.x = wiimote.PointerX
mouse.y = wiimote.PointerY
end if

// Mouse Buttons
mouse.LeftButton = Wiimote.B
mouse.LeftButton = Nunchuck.Z
mouse.RightButton = Nunchuck.JoyX
mouse.RightButton = Nunchuck.JoyY
mouse.MiddleButton = Wiimote.Home and KeepDown(Wiimote.PointerVisible,0.5s)
mouse.XButton1 = Wiimote.Minus
mouse.XButton2 = Wiimote.Plus

// Keyboard Buttons

Z = Wiimote.Plus
X = Wiimote.Minus
c = Wiimote.A
V = Wiimote.One
B = Wiimote.One
N = Wiimote.Two
Up = Wiimote.Up
Down = Wiimote.Down
Left = Wiimote.Left
Right = Wiimote.Right


// Mouse Wheel
if wiimote.Up then
mouse.WheelUp = true
wait 30ms
mouse.WheelUp = false
wait 30ms
end if
if wiimote.Down then
mouse.WheelDown = true
wait 30ms
mouse.WheelDown = false
wait 30ms
end if
Code: Select all
I'm a DJ and I make music too. And I love games.

My alias: Dise; DJ paraDISE
Posts: 26
Joined: Thu Dec 01, 2016 11:20 am

Re: Problem with GlovePie and wiimotes

Postby Shekel » Sat Dec 10, 2016 8:21 am

I'm not sure why you need to use GlovePIE for anything? I have a Wiimote and Mayflash bar and Supermodel is calibrated through command line.
User avatar
Posts: 324
Joined: Wed Mar 16, 2016 12:45 pm

Return to The Fitting Room

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest