2008-08-11, 13:49
Off topic, but will eventGhost work for mapping the xbox360 Controller?
Would be really cool if it could trap my PCI DVB-T IR Controller?
Would be really cool if it could trap my PCI DVB-T IR Controller?
Broads Wrote:Off topic, but will eventGhost work for mapping the xbox360 Controller? Would be really cool if it could trap my PCI DVB-T IR Controller?
harlekin Wrote:How long do the PS3 remote batteries last, once they are paired with the Vista-PC, and how about reconnecting the remote? Do you have to reinstall it manually (uninstall it as a Vista Bluetooth device, than install it again) every time you wan't to use the remote again, as you have to with the Wii remote unless you use GlovePie and a specific Bluetooth driver stack?
//FoamyGuy Nunchuk Mouse
//Modified version of:
//Kunal Khiyani's nunchuk mouse
// based on
// Modified version of Squeakypants' D-Pad mouse script
if (-1.2 < wiimote.Nunchuk.JoyY < -0.09) {
Mouse.DirectInputY = Mouse.DirectInputY + 30 * wiimote.Nunchuk.JoyY;
}
if (0.09 < wiimote.Nunchuk.JoyY < 1.2) {
Mouse.DirectInputY = Mouse.DirectInputY + 30 * wiimote.Nunchuk.JoyY;
}
if (-1.2 < wiimote.Nunchuk.JoyX < -0.09) {
Mouse.DirectInputX = Mouse.DirectInputX + 30 * wiimote.Nunchuk.JoyX;
}
if (0.09 < wiimote.Nunchuk.JoyX < 1.2) {
Mouse.DirectInputX = Mouse.DirectInputX + 30 * wiimote.Nunchuk.JoyX;
}
//LED
//wiimote.Led1 = true;
wiimote.Leds = 0
//XBMC Buttons
Mouse.LeftButton = wiimote.Nunchuk.ZButton;
Mouse.RightButton = wiimote.Nunchuk.CButton;
Keyboard.Enter = wiimote.A;
Keyboard.Esc = wiimote.B;
Keyboard.Left = wiimote.Left;
Keyboard.Right = wiimote.Right;
Keyboard.Up = wiimote.Up;
Keyboard.Down = wiimote.Down;
Keyboard.Backspace = wiimote.Minus;
Keyboard.Tab = wiimote.Home;
Keyboard.Q = wiimote.Plus;
Keyboard.Menu = wiimote.One;
Keyboard.X = wiimote.Two;
//Scroll
//if (wiimote.Up) {
// Mouse.WheelUp = true
// wait 30 ms
// Mouse.WheelUp = false
//}
//if (wiimote.Down) {
// Mouse.WheelDown = true
// wait 30 ms
// Mouse.WheelDown = false
//}