dieselboss78 Posted August 21, 2014 Posted August 21, 2014 // I literally just started working on this today and it looks promising. // I need someone with more experience to help finish up this 2 Wii Remotes // = 2 Light Guns Script. I have been looking EVERYWHERE for a solution. // // These two lines are the issue: // PPJoy.Analog0 = wiimote2.PointerX // PPJoy.Analog1 = wiimote2.PointerY // // They are not responding as they should. I was looking for a Joystick to Mouse script, // then removing mousecursorX & mousecursorY (or whatever the commands are) and replacing // them with the wiimote2.PointerX & wiimote2.PointerY (with whatever I am missing). // // Not sure if these work either: // PPJoy.Analog2 = Wiimote2.Nunchuk.JoyX // PPJoy.Analog3 = Wiimote2.Nunchuk.JoyY // // Everything else works PERFECTLY! Wii Remote 1 works and Wii Remote 2 is partial working // except for the above. // // Start of Gun 1 Wiimote1.Led1 = true Wiimote1.Led2 = false Wiimote1.Led3 = false Wiimote1.Led4 = false // Mouse = Wii Remote Gun 1 Aim mouse.x = wiimote1.PointerX mouse.y = wiimote1.PointerY // Mouse Buttons = Fire/Reload/Etc. mouse.LeftButton = Wiimote1.B mouse.RightButton = Wiimote1.A mouse.MiddleButton = Wiimote1.One // Keyboard = Just some extra buttons to use... key.Tab = wiimote1.Down key.1 = wiimote1.Left key.2 = wiimote1.Right key.3 = wiimote1.Up key.4 = Wiimote1.Two key.Escape = wiimote1.Home // Nunchuk 1 Settings key.W = Wiimote1.Nunchuk.JoyY < -0.4 key.S = Wiimote1.Nunchuk.JoyY > 0.4 key.A = Wiimote1.Nunchuk.JoyX < -0.4 key.D = Wiimote1.Nunchuk.JoyX > 0.4 key.Space = wiimote1.Nunchuk.Z key.LeftControl = wiimote1.Nunchuk.C // Start of Gun 2 Wiimote2.Led1 = false Wiimote2.Led2 = true Wiimote2.Led3 = false Wiimote2.Led4 = false // PPJoy Analog = Wii Remote Gun 2 Aim PPJoy.Analog0 = wiimote2.PointerX PPJoy.Analog1 = wiimote2.PointerY // PPJoy Digital Buttons PPJoy.Digital0 = Wiimote2.B PPJoy.Digital1 = Wiimote2.A PPJoy.Digital2 = Wiimote2.One PPJoy.Digital3 = Wiimote2.Two PPJoy.Digital4 = wiimote2.Home PPJoy.Digital5 = wiimote2.Plus PPJoy.Digital6 = wiimote2.Minus PPJoy.Digital16 = wiimote2.Up PPJoy.Digital17 = wiimote2.Down PPJoy.Digital18 = wiimote2.Left PPJoy.Digital19 = wiimote2.Right // Nunchuk 2 Settings PPJoy.Digital7 = wiimote2.Nunchuk.Z PPJoy.Digital8 = wiimote2.Nunchuk.C PPJoy.Analog2 = Wiimote2.Nunchuk.JoyX PPJoy.Analog3 = Wiimote2.Nunchuk.JoyY
gigapig Posted August 21, 2014 Posted August 21, 2014 Here's what I saved on the subject when I looked into it but I was only ever trying to get 1 gun working. I'd probably use Touchmote from now on anyway. http://www.supermodel3.com/Forum/viewtopic.php?f=3&t=931 http://forum.arcadecontrols.com/index.php?topic=122143.0 http://glovepie.org/forum/viewtopic.php?f=2&t=354 http://forums.x-plane.org/index.php?showtopic=67207 Sorry it's not much help, are you testing with games or just as mice? If Mame, you may need the right version, Raw input or Direct Input, I think it needs to be the Raw input version for multiple mice.
dieselboss78 Posted August 21, 2014 Author Posted August 21, 2014 Good call man! I literally got a response from a YouTube a few hours after I posted. Said the same thing. Right on! But let me pick your brain with this one... Why is the touchmote pointer leaving trails of black transparent boxes all over my screen? Very strange problem indeed.
dieselboss78 Posted August 21, 2014 Author Posted August 21, 2014 Answered my own question... I have a laptop with a Nvidia 755M gpu plus Intel 4600 gpu. I had the preferred gpu default set to NVidia 755M gpu under the Nvidia Control Panel. So everything I install runs off the Nvidia 755M gpu. When I manually set Touchmote to use the internal Intel 4600 gpu the problem was resolved.
dieselboss78 Posted August 24, 2014 Author Posted August 24, 2014 So I have been messing with TouchMote for a couple days and I can't for the life of me figure out how to get a second gun running. I have "multiple mice" checked and "enable mouse input" checked. The Wii controller (player 1) set to mouse works fine, the second one set to Touch doesn't detect at all. I can't even get a second mouse to appear as mouse 2 in MAME input config. I am running Windows 8.1 64-bit.
gigapig Posted August 24, 2014 Posted August 24, 2014 Which version of Mame are you running? Try a mameuifx version from Jumpstiles folder. Try the raw input version first, not direct input and try the multiple mice check box in the options. I don't know if any of that will work, I never tried 2 mice.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.