![]() |
|
GlovePIE Script not working - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Controllers (https://forums.dolphin-emu.org/Forum-controllers) +--- Thread: GlovePIE Script not working (/Thread-glovepie-script-not-working) |
GlovePIE Script not working - TriforceOfKirby - 12-09-2013 I have a GlovePIE script that I made but it's not working as expected, I'm using it with PPJoy so I can use a Wiimote with Gamecube games in Dolphin, I was going to post this on the GlovePIE fourms but when I went to register it said my IP has been banned, I have a dynamic IP so I'm guessing that's why it was banned. The script is working fine for Wiimote alone, and with nunchuk, but not with Classic Controller, when I go into Control Panel/Hardware and Sound/Game Controllers/PPJoy Virtual joystick 1/Properties/Test to see what's happening, the X Axis/Y Axis(Analog Stick), POV Hat(D-Pad), Button 12(L), Button 14(ZL), Button 16(Minus), and Button 17(Home) are rapidly being pressed/moved, the other Classic Buttons will rapidly turn on and off when I press them, and the Wiimote Buttons/Motion work perfectly fine, so I'm hoping someone here can help, here is the script(GlovePIE v0.46, Also the script is attached at the bottom of this post): //Standard if(var.Game=="Standard"){ var.Loaded=true; //Player 1 //Wiimote if(Wiimote1.Exists){ PPJoy1.Analog0=Wiimote1.Yaw/180; PPJoy1.Analog1=Wiimote1.Pitch/90; PPJoy1.Analog2=Wiimote1.Roll/180; PPJoy1.Analog3=Wiimote1.SteeringAngle/360; PPJoy1.Digital0=Wiimote1.Up; PPJoy1.Digital1=Wiimote1.Down; PPJoy1.Digital2=Wiimote1.Right; PPJoy1.Digital3=Wiimote1.Left; PPJoy1.Digital4=Wiimote1.A; PPJoy1.Digital5=Wiimote1.B; PPJoy1.Digital6=Wiimote1.One; PPJoy1.Digital7=Wiimote1.Two; PPJoy1.Digital8=Wiimote1.Minus; PPJoy1.Digital9=Wiimote1.Home; PPJoy1.Digital10=Wiimote1.Plus; //Nunchuk if(Wiimote1.HasNunchuk){ PPJoy1.Analog4=Nunchuk1.JoyX; PPJoy1.Analog5=Nunchuk1.JoyY; PPJoy1.Digital19=Nunchuk1.C; PPJoy1.Digital21=Nunchuk1.Z; //Classic }elseif(Wiimote1.HasClassic){ PPJoy1.Analog4=Classic1.LeftStickX; PPJoy1.Analog5=Classic1.LeftStickY; PPJoy1.Analog6=Classic1.RightStickX; PPJoy1.Analog7=Classic1.RightStickY; PPJoy1.Digital11=Classic1.Up; PPJoy1.Digital12=Classic1.Down; PPJoy1.Digital13=Classic1.Right; PPJoy1.Digital14=Classic1.Left; PPJoy1.Digital15=Classic1.a; PPJoy1.Digital16=Classic1.b; PPJoy1.Digital17=Classic1.x; PPJoy1.Digital18=Classic1.y; PPJoy1.Digital19=Classic1.LFull; PPJoy1.Digital20=Classic1.RFull; PPJoy1.Digital21=Classic1.ZL; PPJoy1.Digital22=Classic1.ZR; PPJoy1.Digital23=Classic1.Minus; PPJoy1.Digital24=Classic1.Home; PPJoy1.Digital25=Classic1.Plus; } } } if(Pressed(Enter)){ var.Game=debug; ShowPie; } if(Pressed(var.Loaded)){ Say(var.Game+" Loaded"); HidePie; } if(var.Loaded&&Pressed(debug=="")){ var.Loaded=false; Say(var.Game+" Unloaded"); var.Game=""; } Also here is my mapping configuration for PPJoy Virtual joystick 1: 8 Axes, 18 Buttons, 2 POV Hats Axis: X Rotation Axis: Y Rotation Axis: Z Rotation Axis: Wheel Axis: X Axis Axis: Y Axis Axis: VX Axis Axis: VY Axis X Rotation: Analog 0 Y Rotation: Analog 1 Z Rotation: Analog 2 Wheel: Analog 3 X Axis: Analog 4 Y Axis: Analog 5 VX Axis: Analog 6 VY Axis: Analog 7 Button: Digital 4 Button: Digital 5 Button: Digital 6 Button: Digital 7 Button: Digital 8 Button: Digital 9 Button: Digital 10 Button: Digital 15 Button: Digital 16 Button: Digital 17 Button: Digital 18 Button: Digital 19 Button: Digital 20 Button: Digital 21 Button: Digital 22 Button: Digital 23 Button: Digital 24 Button: Digital 25 POV Hat 1 Directional button POV: North: Digital 0 East: Digital 2 West: Digital 3 South: Digital 1 POV Hat 2 Directional button POV: North: Digital 11 East: Digital 13 West: Digital 14 South: Digital 12 RE: GlovePIE Script not working - TriforceOfKirby - 12-11-2013 Bump, any help? Can anyone reproduce these results? |