WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GlovePIE Wii-Mote Scripts
Goto page Previous  1, 2, 3 ... 44, 45, 46 ... 51, 52, 53  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie
View previous topic :: View next topic  
Author Message
Brantis



Joined: 15 Dec 2007
Posts: 14

Digg It
PostPosted: 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
View user's profile Send private message
t0ny87



Joined: 21 Feb 2008
Posts: 1

Digg It
PostPosted: 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
View user's profile Send private message
nick_21



Joined: 02 Mar 2008
Posts: 1

Digg It
PostPosted: 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
View user's profile Send private message
boliver10



Joined: 03 Mar 2008
Posts: 7

Digg It
PostPosted: 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
View user's profile Send private message
Frim



Joined: 05 Mar 2008
Posts: 4

Digg It
PostPosted: 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
View user's profile Send private message
rickfert



Joined: 12 Feb 2008
Posts: 4

Digg It
PostPosted: 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
View user's profile Send private message
wiimouse1



Joined: 28 Mar 2008
Posts: 2

Digg It
PostPosted: 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie All times are GMT
Goto page Previous  1, 2, 3 ... 44, 45, 46 ... 51, 52, 53  Next
Page 45 of 53

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group