| View previous topic :: View next topic |
| Author |
Message |
FlammableD
Joined: 28 Jan 2007 Posts: 1
Digg It |
Posted: Sun Jan 28, 2007 7:17 pm Post subject: Scripting Help |
|
|
I wrote this script to control VLC
| Code: | // VLC Control Script (mainly for DVD watching)
//by Flammable D
Key.Space = Wiimote.B //Pause or Play
Key.Left = Wiimote.Minus //Previous Chapter
Key.Right = Wiimote.Plus //Next Chapter
Key.Ctrl+m = Wiimote.Home // DVD Menu
Key.Home = Wiimote.Up //Up
Key.End = Wiimote.Down //Down
Key.Delete = Wiimote.Left //Left
Key.PageDown = Wiimote.Right //Right
Key.Enter = Wiimote.A //Enter
Mouse.WheelUp = Wiimote.One //Skip Forward 10 secs.
Mouse.WheelDown = Wiimote.Two //Skip Backward 10 secs.
if Wiimote.A and Wiimote.One then
Key.LeftControl + Mouse.WheelUp = true
endif
if Wiimote.A and Wiimote.Two then
Key.LeftControl + Mouse.WheelDown = true
endif |
But the last section (with holding A and 1 or 2) doesn't work, in that if I then try to use 1 or 2 for it's original function, it acts as I'm still holding A. Any ideas? |
|
| Back to top |
|
 |
petereality
Joined: 05 Jan 2007 Posts: 14
Digg It |
Posted: Sun Jan 28, 2007 7:28 pm Post subject: |
|
|
| Code: | | Key.LeftControl && Mouse.WheelUp = Wiimote.A && Wiimote.One |
|
|
| Back to top |
|
 |
|