| View previous topic :: View next topic |
| Author |
Message |
Brantis
Joined: 15 Dec 2007 Posts: 14
Digg It |
Posted: Wed Feb 20, 2008 5:56 am Post subject: Here is One For Project 64 Defaults |
|
|
These controls are based on the defaults supplied by Project 64. If you are unsure that you are using the defaults, Just click the "Default" button and you can pretty much just turn on GlovePie and run this script and be good to go.
| Code: |
//Project64 Generic
//Digital Pad
Key.NUMPAD4 = Wiimote.Classic.Left
Key.NUMPAD8 = Wiimote.Classic.Up
Key.NUMPAD6 = Wiimote.Classic.Right
Key.NUMPAD2 = Wiimote.Classic.Down
//Main Buttons
Key.X = Wiimote.Classic.b
Key.C = Wiimote.Classic.y
Key.Enter = Wiimote.Classic.Plus
Key.A = Wiimote.Classic.LFull
Key.S = Wiimote.Classic.RFull
Key.Z = Wiimote.Classic.a
//Movement
//up
Key.Up = (Wiimote.Classic.joy1y <= -0.5)
//down
Key.Down = (Wiimote.Classic.joy1y >= 0.5)
//left
Key.Left = (Wiimote.Classic.joy1x <= -0.5)
//right
Key.Right = (Wiimote.Classic.joy1x >= 0.5)
//Yellow C Buttons
//up
Key.Home = (Wiimote.Classic.joy2y <= -0.5)
//down
Key.End = (Wiimote.Classic.joy2y >= 0.5)
//left
Key.Delete = (Wiimote.Classic.joy2x <= -0.5)
//right
Key.PageDown = (Wiimote.Classic.joy2x >= 0.5)
|
|
|
| Back to top |
|
 |
t0ny87
Joined: 21 Feb 2008 Posts: 1
Digg It |
Posted: Thu Feb 21, 2008 2:15 pm Post subject: |
|
|
| brilliant script man though I have one problem...since GH3 doesn't have a keyboard key for "Start" (the plus key on the guitar) i am unable to press start to confirm anything eg career name, quickplay score...any way around this? |
|
| Back to top |
|
 |
nick_21
Joined: 02 Mar 2008 Posts: 1
Digg It |
Posted: Sun Mar 02, 2008 8:26 pm Post subject: |
|
|
ok I am very new to the wiimote hack for the pc I have it all setup and works (made my own pen) and I was wondering as of right now I don't know how to write any code for it on glovepie so i'll ask.
1. Anyone know any good tutorials that I can read to start to understand the code so I can make my own
2. I am looking for a code (if someone has or knows of) all I want to do is when I click the button on my pen to make the ir light up, I want it to track the mouse but not have it act as a click. I used JohnnyLee whiteboard which is cool, but every time I click the button to activate the ir led it also acts as I left click the mouse with the button down. I just want to to move the mouse, without clicking.
Any help would be great
and thanks in advance
nick |
|
| Back to top |
|
 |
boliver10
Joined: 03 Mar 2008 Posts: 7
Digg It |
Posted: Wed Mar 05, 2008 12:12 am Post subject: Just need the best joystick script |
|
|
All of the IR scripts disregard any information coming from the motion sensors on the wiimote.
I am looking for a script that uses both IR info and motion info to create a very stable tracking.
I personally want this script for joystick input to shooter games in MAME...
Anybody with enough skill to create this? |
|
| Back to top |
|
 |
Frim
Joined: 05 Mar 2008 Posts: 4
Digg It |
Posted: Fri Mar 07, 2008 3:24 pm Post subject: Dual WiiGuitar for GH3 on PC |
|
|
Hi guys.
I'm looking for a script that kan be used to play Guitar Hero 3 for PC multiplayer with two WiiGuitars.
Any ideas? |
|
| Back to top |
|
 |
rickfert
Joined: 12 Feb 2008 Posts: 4
Digg It |
Posted: Tue Mar 18, 2008 1:11 pm Post subject: Classic Controller Mouse Script |
|
|
Here is a Classic Controller Mouse script I cobbled together and made a few changes to. I assigned the L & R shoulder triggers to the XButton1 & XButton2. I use these buttons for back & forward. I mostly stuck the buttons where they made sense to my hands. The only thing I might add is also having the D-Pad for movement so I can make smaller movements, because sometimes the pointer wants to move a lot. But that will be when I have more time.
| Code: | // Classic Controller Mouse script by rickfert with contributions where noted.
/* I borrowed this section from Nickm717 Classic Controller Mouse, which is a
modified version of Kunal Khiyani's nunchuk mouse and changed it to the left
analog stick for movement */
if (-1.2 < wiimote1.Classic.Joy1Y < -0.5) {
Mouse.DirectInputY = Mouse.DirectInputY - 10;
}
if (0.5 < wiimote1.Classic.Joy1Y < 1.2) {
Mouse.DirectInputY = Mouse.DirectInputY + 10;
}
if (-1.2 < wiimote1.Classic.Joy1X < -0.5) {
Mouse.DirectInputX = Mouse.DirectInputX - 10;
}
if (0.5 < wiimote1.Classic.Joy1X < 1.2) {
Mouse.DirectInputX = Mouse.DirectInputX + 10;
}
/* I borrowed this section from Mouse Movement script by Blackfrog/Octovir and
modified it to use the right analog stick for scrolling */
if wiimote.classic.joy2y <=-35% then
Mouse.WheelUp = true
wait 120 ms
Mouse.WheelUp = false
endif
if wiimote.classic.joy2y >= 35% then
Mouse.WheelDown = true
wait 120 ms
Mouse.WheelDown = false
endif
if wiimote.classic.joy2x <= -35% then
Mouse.WheelLeft = true
wait 120 ms
Mouse.WheelLeft = false
endif
if wiimote.classic.joy2x >= 35% then
Mouse.WheelRight = true
wait 120 ms
Mouse.WheelRight = false
endif
/* I borrowed LeftButton & Shift+P+I+E from Nickm717, added RightButton,
MiddleButton, XButton1 & XButton2, and changed the leftbutton to a */
Mouse.LeftButton = Wiimote.Classic.a
Mouse.RightButton = Wiimote.Classic.x
Mouse.MiddleButton = Wiimote.Classic.y
Mouse.XButton1 = Wiimote.Classic.L
Mouse.XButton2 = Wiimote.Classic.R
Shift+P+I+E = Wiimote.Classic.Home |
What do you think? |
|
| Back to top |
|
 |
wiimouse1
Joined: 28 Mar 2008 Posts: 2
Digg It |
Posted: Fri Mar 28, 2008 7:29 pm Post subject: Wiimote as mouse without sensor bar |
|
|
Is there a script which I can use Wiimote as mouse without the sensor bar.
I can use a Nunchuck but prefer not. Like using the direction pad on the wiimote? I mainly just need mouse buttons for presentation.
I have seen scripts using the tilt. IMHO, it is just too difficult to navigate. Maybe allow the mouse to move only if B button is held down? |
|
| Back to top |
|
 |
|