Wii Guitar + PPjoy + GlovePie = HAT SWITCH!?!?!?!?

Help center. Members helping members
Forum rules
This topic is 16 years and 11 months old. Instead of replying, please begin a new topic, or search for another related topic that may be more suitable.
Completionist
DavidRS
Member
Posts: 40
Joined: October 27th, 2007
Location: Melbourne, AUS
Reputation: 9

Postby DavidRS » Mon Jun 23, 2008 8:06 am

Basically, I'm setting up a script to use my Wii guitar through PPJoy. Problem is, whenever I try to set the keys in my FOF (latest Alarian mod), the green always comes up as a hat switch on the list. I don't have any hat switches assigned, and it stuffs up my playing majorly.

This is my current script (with a workaround in place):

Code: Select all

//Vol stuff
if Wiimote1.Two then
  volumeup = true
  wait 120 ms
  volumeup = false
endif
if Wiimote1.One then
  volumedown = true
  wait 120 ms
  volumedown = false
endif
if Wiimote1.A then
  mute = true
  wait 175 ms
  mute = false
endif

// Strumming
if(Wiimote1.Guitar.StrumDown) then
PPJoy1.Digital8 = true
else
PPJoy1.Digital8 = false
end if

if(Wiimote1.Guitar.StrumUp) then
PPJoy1.Digital9 = true
else
PPJoy1.Digital9 = false
end if

// Frets
if(Wiimote1.Guitar.Fret1) then
Key.Apostrophe = true
else
Key.Apostrophe = false
end if

if(Wiimote1.Guitar.Fret2) then
PPJoy1.Digital2 = true
else
PPJoy1.Digital2 = false
end if

if(Wiimote1.Guitar.Fret3) then
PPJoy1.Digital3 = true
else
PPJoy1.Digital3 = false
end if

if(Wiimote1.Guitar.Fret4) then
PPJoy1.Digital4 = true
else
PPJoy1.Digital4 = false
end if

if(Wiimote1.Guitar.Fret5) then
PPJoy1.Digital5 = true
else
PPJoy1.Digital5 = false
end if

//Analog Stick Controls (for menus)
PPJoy1.Analog0 = Wiimote1.Guitar.JoyX
PPJoy1.Analog1 = Wiimote1.Guitar.JoyY

//Escape
if(Wiimote1.Guitar.Plus) then
PPJoy1.Digital6 = true
else
PPJoy1.Digital6 = false
end if

//Jurgen Power
PPJoy1.Digital7 = Wiimote1.Guitar.Minus
if |wiimote1.RelAcc| >= 5 then
PPJoy1.Digital7 = true
wait 100ms
PPJoy1.Digital7 = false
end if

// Home ends the program
Key.Shift+P+I+E = Wiimote1.Home
var.temp = (Wiimote1.Guitar.WhammyBar*100) div 1
if ((var.temp mod 2) = 0) then
PPJoy1.Digital10 = true
else
PPJoy1.Digital10 = false
end if
Wiimote1.Leds = 1


I don't want to have to use this workaround. Can anyone help me fix this problem? All other buttons work fine.
Songs fretted: 1

Latest song:
The Vines - Ride
User avatar
Electrodeath
Member
Posts: 69
Joined: July 5th, 2007
Location: florida
Reputation: 0
Contact:

Postby Electrodeath » Sat Jul 12, 2008 10:15 pm

Same problem here!

Return to “Tech Support”

Who is online

Users browsing this forum: No registered users and 7 guests