Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Wiimote works flawlessy as mouse everywhere but mame...  (Read 6868 times)

0 Members and 1 Guest are viewing this topic.

Queeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:August 30, 2024, 04:25:21 am
Wiimote works flawlessy as mouse everywhere but mame...
« on: November 06, 2009, 02:28:14 am »
Hello all,

I have my wiimote running perfectly as a mouse in windows, GameEx, and every single program I have tried it with. I have been playing naomi and naomi 2 light gun games via demul all night with zero problems.

However it will not register in mame. I have my light gun games set to use the mouse with mouse button 1 (left) being fire. The games play perfectly fine with the mouse, but the wiimote does nothing! The wiimote is set to be the mouse, to emulate it exactly, yet it refuses to register.

I am stumped.

A million kudos to the man with the answer.

Hewskie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 155
  • Last login:July 27, 2018, 02:45:42 am
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #1 on: November 06, 2009, 03:00:22 am »
Mame uses a multiple mouse setup to allow you to play 2 player gun games and have a trackball and any other mouse functions you need. Without looking at my cab, you have to fiddle with the mame.ini settings. Make sure Mouse is set to 1 and Lightgun device is set to "lightgun" and multiple mice is 0 then when you are in the game, hit tab and change the settings to reflect the correct mouse device. Hope that helps, it's just a basic explaination, if you still need help I'm sure others can go into more depth

Good luck

Hewskie

mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #2 on: November 06, 2009, 10:55:49 am »
Are you telling me you can use a Wii remote as a light gun in Mame???

Do you have to have the Wii installed as well to get it to work with Mame?

Mark

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #3 on: November 06, 2009, 01:12:11 pm »

There may also be an issue depending upon the driver.  MAME started using RAW input a while back, which makes it very difficult for emulated devices to work inside of it.  IOW, if the Wiimote driver isn't seen by the system as a low level mouse device, it may work fine in Windows or other apps which use DirectInput, but not MAME.

You'd have to look into how the driver was designed to know if this is the case.

RandyT

Queeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:August 30, 2024, 04:25:21 am
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #4 on: November 06, 2009, 01:48:27 pm »
THanks for the replies everyone.

Randy I think you're on to something because windows does not recognize the wiimote as any sort of mouse. It sees it as an unknown gamepad.

I will try Hewskies info and report back once I get this working.

O and mark, yes you can use it in mame, I will post how I got it working once I do. No you do not need to even have a wii, all you need to have is a bluetooth enabled computer (I got a great usb adapter for $2.00 off amazon) a wiimote, and a set of some ir leds (sensor bar). I got a super cheap sensor bar from fry's for $3 that I wired to power from my cab pc. Then with some driver fiddling and using glovepie, you can have the wiimote doing awesome stuff in no time.

Here's the glovepie link if you're interested. http://carl.kenner.googlepages.com/glovepie_download

SlayerAlex

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 113
  • Last login:September 17, 2011, 09:19:27 pm
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #5 on: November 07, 2009, 06:52:28 am »
not to be an ass but i assume you already have the box checked that says something like "Use mouse"? Its just that i remember getting a new MAMEUI version and was stummped on why my mouse/trackball wasnt working until i rememered i had the check the box again

mark6437

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • Last login:March 23, 2020, 03:20:11 pm
  • THB2
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #6 on: November 07, 2009, 08:32:18 am »
THanks for the replies everyone.

Randy I think you're on to something because windows does not recognize the wiimote as any sort of mouse. It sees it as an unknown gamepad.

I will try Hewskies info and report back once I get this working.

O and mark, yes you can use it in mame, I will post how I got it working once I do. No you do not need to even have a wii, all you need to have is a bluetooth enabled computer (I got a great usb adapter for $2.00 off amazon) a wiimote, and a set of some ir leds (sensor bar). I got a super cheap sensor bar from fry's for $3 that I wired to power from my cab pc. Then with some driver fiddling and using glovepie, you can have the wiimote doing awesome stuff in no time.

Here's the glovepie link if you're interested. http://carl.kenner.googlepages.com/glovepie_download


I am VERY interested! Plz post how you did it asap:)

Mark

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #7 on: November 07, 2009, 09:26:36 am »
And another question. Do you have to reregister the wiimote with the pc every time you want to play?

That was my big problem with the wiimote. It wouldn't stay paired with the pc. So each time I'd want to play, I'd have to go back through that whole process. And that process sometimes took a few shots to get right. So I game up.

Queeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:August 30, 2024, 04:25:21 am
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #8 on: November 07, 2009, 05:47:31 pm »
Slayer, yes I had the box checked, but it looks like RandyT was right, Mame will not accept direct input from the wiimote. There is a workaround however, setting the wiimotes as joysticks and setting Mame to accept input from joysticks as lightgun input instead of the mouse.

Mark, I will post a guick guide once everything is working well.

DrVenture, I only pair the wiimotes when I turn the pc on. I leave them on all day with the pc and batteries are never an issue.

The whole process only takes a few seconds. I use the bluesoeil drivers, and from the bluesoeil program I double click the giant icon in the center to start a search for bluetooth devices, and then hit 1 and 2 on the wiimote simultaneously and everything is up and running. Then in glovepie it is as simple as opening and hitting run.

All in all about it's about a 20 second process, but I will admit even only having to do it once a day it is still kind of annoying.

And I'm not sure what you meant when you said the wiimote won't stay paired with the pc. Does it randomly get disconnected? Or did you just mean you have to reconnect every time you power cycle your pc?

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #9 on: November 07, 2009, 06:09:20 pm »
No, i only meant the one time. It seems to stay paired decent enough (unless I'm messing with it, in which case I'd expect it to come unpaired).

Have you tried the Blue Soleil Gameii?

http://www.bluesoleil.com/products/Default.aspx?TID=16

You have to have the normal driver pack also, so I haven't tried it yet, but it "sounds" like it could be a pretty decent answer.

Queeg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:August 30, 2024, 04:25:21 am
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #10 on: November 07, 2009, 07:11:36 pm »
wow thanks for the link man, I love getting software to play with  :cheers:.

I'm going to see if this has some sort of mouse driver for the wiimote. If it does I will be ecstatic.


drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Wiimote works flawlessy as mouse everywhere but mame...
« Reply #11 on: November 07, 2009, 10:00:04 pm »
The main thing for me was supposedly, it auto pairs, or makes pairing so simple it might as well be automatic.

However I read some bits about the camera/mouse not being supported, which may have been the case for a VERY early version, but I can't imagine it still being the case.

Definitely let us know what you find out!

I still have to admit, even with the AimTrak Release, I'd still much rather see the Wiimote become viable for Mame and PC. I just really like the wireless aspect of the wiimote, esp in guns.