Main > Main Forum

Wii sensor bars...cheap

Pages: (1/3) > >>

severdhed:

hey guys, i know that there are some people working very hard to make the wiimote usable as an arcade lightgun, so i figured i'd let you guys know.  i was at circuit city today, and since they are going out of business, their game accessories are 40% off, so i picked up a mad catz wii sensor bar for $6 + tax.  i know that the wiimote isnt quite ready to be used in mame yet with IR functionality, but i am hopeful that it will be some day.  and when that day comes, i'll need a sensor bar for my cabinet....so for the price, i figured it was a good deal.  i know you can make your own, but till you factor in the cost of the components and the time invovled, it just made sense to spend the $6


just thought i'd pass along the info.  my local store had alot of them in stock, but i'm sure they wont last long.

ViciousXUSMC:

Sure wiimote is ready for mame :P

Just depends on how you want to code the script.  I have a mouse pointer script you can try out so that the IR works as a mouse pointer.  That should work decently for some mame action.


--- 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

--- End code ---


Hoagie_one:

This will become a more viable option once nintendo released there new wiimote attachment to give 1:1 movement.

ViciousXUSMC:

Thats not an IR attachment its another tilt/accel reader so it will help with games to give 3d position like a golf swing.  As far as IR its already actually pretty accurate its just not very fast like a light gun so playing a fast paced shooter is somewhat hard.

But some people have new scripts out that are supposed to be better that I have not tested.

severdhed:

i managed to get the IR working as a mouse, but not within mame.  also, i couldnt find a way to get the wiimote to automatically pair up with the bluetooth adapter.. on a cabinet that loads the mala as the shell.  until someone makes it so that the wiimote will pair up automatically, and work as a lightgun in mame..it just isnt usable from my standpoint.

it has been a few months since i have looked into this though, so maybe i dont know what i'm talking about.

Pages: (1/3) > >>

Go to full version