Jump to content



0

Wii-fying my PC


No replies to this topic

#1 Vic George 2K3 OFFLINE  

Vic George 2K3

    Quadrunner

  • 5,078 posts
  • GNAP ATTACK!!!
  • Location:Westfield, MA, USA

Posted Tue Apr 5, 2011 3:46 PM

I finally got myself a Bluetooth adapter for connecting a Wii Remote to my PC and have been playing around with GlovePIE after successfully getting my computer to acknowledge the presence of a Wii Remote. Besides creating the Dragon Age control script (which unfortunately doesn't use the sensor bar as I was hoping for, but nonetheless works without the need for it), I also created one for Elder Scrolls IV: Oblivion, which does the following things:

Control Stick rotates the player's POV and controls the mouse pointer in menus
D-Pad controls the player's forward/backward motion as well as strafing
A Button is the attack button: swinging the Wii Remote horizontally or vertically also does the same action, which is preferable if you're armed with a sword
B Button is the block button
- Button is the crouch/sneak button
+ Button is the button for switching between first-person and third-person views
Home Button brings up the main menu
1 Button is the casting button
2 Button is for accessing inventory menus, maps and quests
C Button is to open doors, activate things, or initiate conversations
Z Button is the jump button

// Elder Scrolls IV: Oblivion Script for Wii Remote and Nunchuk
Mouse.DirectInputX = Mouse.DirectInputX + 10*deadzone(Wiimote.Nunchuk.JoyX)
Mouse.DirectInputY = Mouse.DirectInputY + 10*deadzone(Wiimote.Nunchuk.JoyY)
W = Wiimote.Up
D = Wiimote.Right
S = Wiimote.Down
A = Wiimote.Left
R = Wiimote.Plus
Control = Wiimote.Minus
Escape = Wiimote.Home
Mouse.LeftButton = Wiimote.A or Wiimote.SwingHorizontal or Wiimote.SwingVertical
Mouse.RightButton = Wiimote.B
E = Wiimote.Nunchuk.Z
Space = Wiimote.Nunchuk.C
C = Wiimote.One
Tab = Wiimote.Two





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users