• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 302 303 304 305 306 ... 319 Next »

Script for GlovePIE
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Script for GlovePIE
11-18-2011, 03:48 AM
#1
culd Offline
Junior Member
**
Posts: 9
Threads: 2
Joined: Nov 2011
I can not solve the problems of the wiimote in dolphin.

Anyone know or have any script for GlovePIE to use it in dolphin?
Find
Reply
11-18-2011, 05:21 AM
#2
culd Offline
Junior Member
**
Posts: 9
Threads: 2
Joined: Nov 2011
Assemble this script to use all the buttons (wiimote + nunchuck). Using the default configuration that brings dolphin with keyboard / mouse

I can not finish setting Swing / Tilt / Shake. Can anyone help me?

Code:
// BOTONES
Mouse.LeftButton  = wiimote.A
Mouse.RightButton = wiimote.B
Key.One = wiimote.One
Key.Two = wiimote.Two
Key.Q = wiimote.Minus
Key.E = wiimote.Plus
Key.Enter = wiimote.Home

// Nunchuk
Key.Ctrl = nunchuck.C
key.Shift = nunchuck.Z
key.W = nunchuck.Up
key.S = nunchuck.Down
key.A = nunchuck.Left
key.D = nunchuck.Right
//Key.W = (-1.2 < wiimote.Nunchuk.JoyY < -0.5)
//Key.S = (0.5 < wiimote.Nunchuk.JoyY < 1.2)
//Key.A = (-1.2 < wiimote.Nunchuk.JoyX < -0.5)
//Key.D = (0.5 < wiimote.Nunchuk.JoyX < 1.2)



// PAD DIRECCIONAL
key.Up = wiimote.Up
key.Down = wiimote.Down
key.Left = wiimote.Left
key.Right = wiimote.Right
Find
Reply
11-18-2011, 06:27 AM
#3
HawaiianPunch Offline
Posting Freak
*****
Posts: 878
Threads: 2
Joined: Apr 2011
You enabled the nunchuk joystick as digital, not analog. That could get annoying.
Main Laptop:
Dell XPS 17
i7 2720QM @ 2.2GHz
8GB DDR3 RAM
Nvidia GeForce GT 555M
Windows 7 64-bit
[Image: salsa.gif?noCache=1324617601]
Find
Reply
11-18-2011, 07:15 PM
#4
Exosserix Offline
ExosserixDL
Posts: 3
Threads: 1
Joined: Nov 2011
Boys in blue said there was no hint the shooting was linked to the demonstrations delightful berth in Sproul Plaza, across campus, and qualm organizers said they would not be deterred from rebuilding a nascent "Engage Cal Encampment" torn down by guard a week earlier.
Find
Reply
11-18-2011, 10:40 PM
#5
culd Offline
Junior Member
**
Posts: 9
Threads: 2
Joined: Nov 2011
Mario Kart Wii script, just with wiimote movements

Who can help me so we can build Swing movements, and Tilt

Code:
var.xOffset = 3
var.yOffset = 1
var.zOffset = 2

// Prento el primer led
Wiimote.leds = 1


// Velocidad del mouse
var.speed = 1

// Valores para la sensibilidad del giro
// Default 4 / 8 / 15

var.zCutoff1 = 5
var.zCutoff2 = 20
var.zCutoff3 = 35


var.xRot = Wiimote.RawForceX + var.xOffset
var.yRot = Wiimote.RawForceY + var.yOffset
var.zRot = Wiimote.RawForceZ + var.zOffset

debug = 'X:' + var.xRot + ', ' + 'Y:' + var.yRot + ', ' + 'Z:' + var.zRot

// Movimiento del auto
if var.zRot > var.zCutoff3 then
key.D = true
key.A = true
key.A = false
wait 20ms
key.D = false
else if var.zRot < -var.zCutoff3 then
key.A = true
key.D = true
key.D = false
wait 20ms
key.A = false
else if var.zRot > var.zCutoff2 then
key.D = true
key.A = true
key.A = false
wait 12ms
key.D = false
else if var.zRot < -var.zCutoff2 then
key.A = true
key.D = true
key.D = false
wait 12ms
key.A = false
else if var.zRot > var.zCutoff1 then
key.D = true
key.A = true
key.A = false
wait 2ms
key.right = false
else if var.zRot < -var.zCutoff1 then
key.A = true
key.D = true
key.D = false
wait 2ms
key.A = false
else
key.A = True
key.D = True
key.D = false
key.A = false
endif

//D-Pad
key.up = wiimote.Right
key.Down = wiimote.Left
key.Left = wiimote.Up
key.right = wiimote.Down

//wiimote.rumble = key.CapsLock

mouse.LeftButton = wiimote.Two
mouse.RightButton = wiimote.One
key.Shift = wiimote.B
key.Ctrl = wiimote.A
key.E = wiimote.Plus

key.Enter = Wiimote.Home
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode