Jump to content
LaunchBox Community Forums

Wiimote touchmote 2 player


Away8777

Recommended Posts

Hey everyone I have been trying to set up Wii motes as light guns on Mame I am using 2 original Wii motes and a generic USB light bar using touchmote windows PC with built in BT I'm using 2 different versions of mame with same results the newest version and 179 as well as model 2. I have successfully set up player 1 remote using left stick for pointer. I set up player 2 for right stick and all buttons work except for the pointer is stuck in the top left of the screen? Player 1 works fine as it should. Player 2 recognized the right stick when setting up the controls in mame but once in game I have no movement On the cursor any help is greatly appreciated.

Link to comment
Share on other sites

MAME works very well for two players with a generic Wii sensor bar, but personally, I use the right analog stick as pointer for all light gun games. I've set up Touchmote to launch automatically with MAME. You can see an example of my configuration in the attached image.

image.thumb.png.d801e134bb70b7010b6707762f861411.png

 

My mame.ini file is as follows:
Note: You won’t have the SBABY_DEFAULT entry, but it’s important to adjust the saturation 0.80 and threshold values between 0 and 0.3.

image.thumb.png.b08683f9e94ada1368ab39427f261e39.png

 

yourctrlrl.cfg or gamename.cfg file should have these settings:

 

</port>
        <port type="P1_LIGHTGUN_X">
                 <newseq type="standard">
                    JOYCODE_1_ZAXIS OR MOUSECODE_1_XAXIS
                </newseq>
                <newseq type="decrement">
                    JOYCODE_1_HATSWITCHL OR JOYCODE_1_DPADLEFT OR JOYCODE_1_HAT1LEFT
                </newseq>
                 <newseq type="increment">
                    JOYCODE_1_HATSWITCHR OR JOYCODE_1_DPADRIGHT OR JOYCODE_1_HAT1RIGHT
                </newseq>
            </port>
            <port type="P1_LIGHTGUN_Y">
                <newseq type="standard">
                    JOYCODE_1_RZAXIS OR MOUSECODE_1_YAXIS
                </newseq>
                <newseq type="increment">
                    JOYCODE_1_HATSWITCHD OR JOYCODE_1_DPADDOWN OR JOYCODE_1_HAT1DOWN
                </newseq>
             <newseq type="decrement">
                    JOYCODE_1_HATSWITCHU OR JOYCODE_1_DPADUP OR JOYCODE_1_HAT1UP
                </newseq>
            </port>
        <port type="P2_LIGHTGUN_X">
                 <newseq type="standard">
                    JOYCODE_2_ZAXIS OR MOUSECODE_2_XAXIS
                </newseq>
                <newseq type="decrement">
                    JOYCODE_2_HATSWITCHL OR JOYCODE_2_DPADLEFT OR JOYCODE_2_HAT1LEFT
                </newseq>
                 <newseq type="increment">
                    JOYCODE_2_HATSWITCHR OR JOYCODE_2_DPADRIGHT OR JOYCODE_2_HAT1RIGHT
                </newseq>
            </port>
            <port type="P2_LIGHTGUN_Y">
                <newseq type="standard">
                    JOYCODE_2_RZAXIS OR MOUSECODE_2_YAXIS
                </newseq>
                <newseq type="increment">
                    JOYCODE_2_HATSWITCHD OR JOYCODE_2_DPADDOWN OR JOYCODE_2_HAT1DOWN
                </newseq>
             <newseq type="decrement">
                    JOYCODE_2_HATSWITCHU OR JOYCODE_2_DPADUP OR JOYCODE_2_HAT1UP

 

Another crucial point is that Windows must correctly recognize the XInput controllers as Player 1 and Player 2. If you have other gamepads connected, or if your game’s cfg file or the ctrlrl file isn’t properly configured, you might encounter issues. For example, the second joystick emulated by Touchmote could be detected as Player 3 in MAME, causing misalignment.

I hope this helps!😊

Edited by Sbaby
Link to comment
Share on other sites

Thanks for the info I was actually able to get it working last night. My problem was that I had my input settings set to "light gun " after watching a few videos. I changed them to "joystick" and it just started working. I did have the issue on some games where the cursor would snap to the middle of the screen and I had to adjust the Deadzone saturation threshold.but it seemed the only thing that fixed it was setting all of them to the absolute lowest settings. Now all I have to do is get a second gun set up in dolphin and model 2 emulator.

  • Game On 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...