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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 … 279 280 281 282 283 … 370 Next »

want script for glovepie
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
want script for glovepie
09-13-2010, 06:18 PM
#1
heidelbergcd74 Offline
Junior Member
**
Posts: 40
Threads: 14
Joined: Sep 2010
cloud any one give me the script than wiimote can use as mouse on PC?
thanks
Find
Reply
09-13-2010, 10:56 PM
#2
admin89 Offline
Overclocker™ ✓ᵛᵉʳᶦᶠᶦᵉᵈ
*******
Posts: 6,889
Threads: 127
Joined: Nov 2009
Click here
Laptop:
Clevo W230SS : 3200x1800 IPS | i7 4700MQ @ 3.6GHz (Intel XTU + Triple fan mod) | GTX 860M GDDR5 | 128GB Toshiba CFD SSD | 16GB DDR3L 1600MHz
Aspire 715 43G : 1080p 144Hz |  R5 5625U @ 4.3GHz | Nvidia RTX 3050 4GB | 500GB WD SSD  | 16GB DDR4 3200MHz 
Mini PC ::
G3258 @ 4.6GHz | ELSA GTX 750 | Asrock Z87E ITX | 600W SFX 80+ Gold Silverstone + SG06-LITE | Corsair Vengeance 8GB 2000MHz | Scythe Kozuti + Ao Kaze | 45TB 2.5" Ex HDD (in total) , Zelda Gold Wiimote , LE Wii Classic Controller , Gold LE PS3 DualShock , BlackWidow Chroma ,
Now Playing : Xenoblade Definitive Edition on Yuzu - Switch Emu 

 
Find
Reply
09-14-2010, 02:35 PM (This post was last modified: 09-14-2010, 02:48 PM by heidelbergcd74.)
#3
heidelbergcd74 Offline
Junior Member
**
Posts: 40
Threads: 14
Joined: Sep 2010
I use this script

ppjoy.Analog0 = smooth(removeunits(maprange(wiimote.SmoothPitch, -50, 50, -1, 1)))
ppjoy.Analog1 = smooth(removeunits((-maprange(wiimote.SmoothRoll, -50, 50, -1, 1))-1.3))
//-1.3 is because you hold the wiimote rolled towards you. There's probably a better way to do this, but it works for me.

PPJoy1.Digital11 = Wiimote1.Up
PPJoy1.Digital12 = Wiimote1.Left
PPJoy1.Digital7 = Wiimote1.Right
PPJoy1.Digital15 = Wiimote1.Down
ppjoy.Digital5 = Wiimote.1
ppjoy.Digital6 = Wiimote.2
ppjoy.Digital8 = Wiimote.home
ppjoy.Digital9 = Wiimote.Minus
ppjoy.Digital10 = Wiimote.Plus

but the pointer doesn't work properly
pitch and roll,is there other word for movement?
and what is the script for nuncheck?
Find
Reply
09-14-2010, 02:58 PM (This post was last modified: 09-14-2010, 09:41 PM by admin89.)
#4
admin89 Offline
Overclocker™ ✓ᵛᵉʳᶦᶠᶦᵉᵈ
*******
Posts: 6,889
Threads: 127
Joined: Nov 2009
Huh,i don't understand what you want
Wiimote as a mouse(no dolphin here) or play dolphin with wiimote via bluesoleil.You can't use glovepie to emulate real wiimote on dolphin,glovepie is use for emulating wiimote as a GC,PS2,PS1..... or pc games controller
P.S Connect nunchuck to wiimote to enable pointer
Laptop:
Clevo W230SS : 3200x1800 IPS | i7 4700MQ @ 3.6GHz (Intel XTU + Triple fan mod) | GTX 860M GDDR5 | 128GB Toshiba CFD SSD | 16GB DDR3L 1600MHz
Aspire 715 43G : 1080p 144Hz |  R5 5625U @ 4.3GHz | Nvidia RTX 3050 4GB | 500GB WD SSD  | 16GB DDR4 3200MHz 
Mini PC ::
G3258 @ 4.6GHz | ELSA GTX 750 | Asrock Z87E ITX | 600W SFX 80+ Gold Silverstone + SG06-LITE | Corsair Vengeance 8GB 2000MHz | Scythe Kozuti + Ao Kaze | 45TB 2.5" Ex HDD (in total) , Zelda Gold Wiimote , LE Wii Classic Controller , Gold LE PS3 DualShock , BlackWidow Chroma ,
Now Playing : Xenoblade Definitive Edition on Yuzu - Switch Emu 

 
Find
Reply
09-14-2010, 04:12 PM (This post was last modified: 09-14-2010, 04:15 PM by heidelbergcd74.)
#5
heidelbergcd74 Offline
Junior Member
**
Posts: 40
Threads: 14
Joined: Sep 2010
....... I am looking for a script can work properly for wiimote as a mouse
amd script for the Nunchuck UP DOWN LEFT RIGHT.
sorry my english is very poor.
and when i set dolphin pair with real wiimote, it can work for mario bros.
but some game like silent hill ,it only can press the botton, can't move the point
Find
Reply
09-14-2010, 06:18 PM (This post was last modified: 09-14-2010, 06:24 PM by admin89.)
#6
admin89 Offline
Overclocker™ ✓ᵛᵉʳᶦᶠᶦᵉᵈ
*******
Posts: 6,889
Threads: 127
Joined: Nov 2009
Here is Nunchuck + Wiimote map to Keyboard :
(KeyBoard A button = Nunchuck left
KeyBoard D button = ............... right
KeyBoard W button= ............... Up
KeyBoard S button =.................Down)

(07-31-2010, 01:59 AM)admin89 Wrote: I make movement like a wii to play some pc game.It's too easy,the rest is config keyboard to the game :

Code:
Key.A = (-1.2 < wiimote.Nunchuk.JoyX < -0.5)
Key.D = (0.5 < wiimote.Nunchuk.JoyX < 1.2)
Key.W = (-1.2 < wiimote.Nunchuk.JoyY < -0.5)
Key.S = (0.5 < wiimote.Nunchuk.JoyY < 1.2)
Key.O = Wiimote1.Nunchuk.ZButton
Key.Space = Wiimote1.Nunchuk.CButton

Key.Left = wiimote1.Left
Key.Right = wiimote1.Right
Key.Up = wiimote1.Up
Key.Down = wiimote1.Down

Key.J = Wiimote1.A
Key.I = Wiimote1.B
Key.M = Wiimote1.Minus
Key.L = Wiimote1.Shake
Key.U = Wiimote1.One
Key.Esc = Wiimote1.Two
Key.Backspace = Wiimote1.Plus


if Wiimote1.Up{
Key.T = Wiimote1.Up
//debug = "1"
}else{
   Key.T = ''
}

if Wiimote1.Right{
Key.H = Wiimote1.Right
//debug = "2"
}else{
   Key.H = ''
}

if Wiimote1.Down{
Key.G = Wiimote1.Down
//debug = "3"
}else{
   Key.G = ''
}

if Wiimote1.Left{
Key.F = Wiimote1.Left
//debug = "4"
}else{
   Key.F = ''
}

if wiimote1.nunchuk.CButton && wiimote1.Home{
   Key.F5 = true
}else{
   Key.F5 = false
   Key.Enter = Wiimote1.Home
}

//I added this because the LED's like to light up after connecting the remote
//To BlueTooth and it's distracting.
wiimote.Leds = false

Here is wiimote as mouse

(08-20-2010, 12:06 AM)admin89 Wrote: So i add "wiimote mouse" compatible with WinXP,Vista,Windows 7(Use wiimote as mouse)
This way is easier and cooler if you're using a laptop.Copy here :
Code:
// Wiimote mouse script for Windows desktop
// Requires a sensor bar

var.ButtonFreezeTime = 250ms
var.PointerBump = KeepDown(Pressed(wiimote.A),var.ButtonFreezeTime) or KeepDown(Pressed(wiimote.B),var.ButtonFreezeTime)
Wiimote.Led1 = true

// Mouse movement
if wiimote.PointerVisible but not var.PointerBump then
  mouse.x = wiimote.PointerX
  mouse.y = wiimote.PointerY
end if

// Mouse Buttons
mouse.LeftButton = Wiimote.A and KeepDown(Wiimote.PointerVisible,0.5s)
mouse.RightButton = Wiimote.B and KeepDown(Wiimote.PointerVisible,0.5s)
mouse.MiddleButton = Wiimote.Home and KeepDown(Wiimote.PointerVisible,0.5s)
mouse.XButton1 = Wiimote.Minus
mouse.XButton2 = Wiimote.Plus

// Mouse Wheel
if wiimote.Up then
  mouse.WheelUp = true
  wait 30ms
  mouse.WheelUp = false
  wait 30ms
end if
if wiimote.Down then
  mouse.WheelDown = true
  wait 30ms
  mouse.WheelDown = false
  wait 30ms
end if

Laptop:
Clevo W230SS : 3200x1800 IPS | i7 4700MQ @ 3.6GHz (Intel XTU + Triple fan mod) | GTX 860M GDDR5 | 128GB Toshiba CFD SSD | 16GB DDR3L 1600MHz
Aspire 715 43G : 1080p 144Hz |  R5 5625U @ 4.3GHz | Nvidia RTX 3050 4GB | 500GB WD SSD  | 16GB DDR4 3200MHz 
Mini PC ::
G3258 @ 4.6GHz | ELSA GTX 750 | Asrock Z87E ITX | 600W SFX 80+ Gold Silverstone + SG06-LITE | Corsair Vengeance 8GB 2000MHz | Scythe Kozuti + Ao Kaze | 45TB 2.5" Ex HDD (in total) , Zelda Gold Wiimote , LE Wii Classic Controller , Gold LE PS3 DualShock , BlackWidow Chroma ,
Now Playing : Xenoblade Definitive Edition on Yuzu - Switch Emu 

 
Find
Reply
09-14-2010, 10:16 PM (This post was last modified: 09-14-2010, 10:21 PM by heidelbergcd74.)
#7
heidelbergcd74 Offline
Junior Member
**
Posts: 40
Threads: 14
Joined: Sep 2010
sorry, i forgot said that i am useing ppjoy.
I want that script like:

PPJoy1.Digital11 = Nunchuk.C
PPJoy1.Digital12 = Nunchuk.Z

but I don't know how the script for nunchuck UP DOWN LEFT RIGHT
Thanks a lot
....and i don't have a a sensor bar
where can i get it?
Thanks you very much
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma