Announcement
Collapse
No announcement yet.
Wii Nerd Stuff
Collapse
X
-
Johnny Chung Lee does some cool stuff with his Wii, I like it.
Check out this one: http://youtube.com/watch?v=5s5EvhHy7eQ "Low-Cost Multi-touch Whiteboard using the Wiimote."
Comment
-
Great Video, this prompted me to write some code to support the Wiimote with GTR2. Simply put, the wiimote goes on top of your head attached to a hat. With an existing bluetooth connection the following code gives you the ability to look around in the cockpit.
You can lean, pitch, roll, and aim your head in the cockpit while driving. :) It was mostly a proof of concept script for me, but I've found it's quite enjoyable playing GTR2 when you have the freedom to look around using your head.
Let me know if anyone is interested, it's pretty simple to get this running:
Code://GTR2 GlovePie Cockpit Script //Version:1.0b //Author: Chris Doyle //Date: 1.5.2008 // Configure Cockpit Lean Sensitivity Here //var.DriverLeanSens = 4 //var.DriverPitchSens = 8 var.DriverAccelSens = 4 // End Cockpit Sensitivity, Do not Edit Below This Line PIE.FrameRate = 60Hz var.Accel = Wiimote.gx*var.DriverAccelSens/3 var.Pitch = Smooth(Wiimote.SmoothPitch,30)/8 var.Roll = Smooth(Wiimote.SmoothRoll,30)/4+var.Accel FakeTrackIR.pitch = var.pitch FakeTrackIR.roll = var.roll // status display debug = 'Game='+IntToHex(FakeTrackIR.ProfileId)+'H'+', '+Wiimote.Pitch Wiimote.Led1 = FakeTrackIR.ProfileID<>0 Wiimote.Led4 = FakeTrackIR.active
tasty
Comment
Comment