Main > Lightguns
USB2GUN not working on PC - looking for some help - offscreen reload not working
<< < (4/4)
BadMouth:
Well, with the xpadder workaround digital speed affected the cursor speed when reloading.
purbeast:

--- Quote from: BadMouth on June 27, 2023, 07:39:38 am ---Well, with the xpadder workaround digital speed affected the cursor speed when reloading.

--- End quote ---

Yeah but I am not sure how to make it go faster than it does so that it moves "instantly" to the edge then the key is pressed to reload.

I played around with joytokey last night and this also "gets close" but doesn't quite work.

I can get it to do the same thing and move the cursor, but it's not fast enough.

Then there is this option to "move to" coordinate and I moved it to (0,0), (1,1), and tried some different ones like (50, 0) and (50, 1) and this is considering the screen is 100x100.

Well it works perfectly fine outside of MAME, but once inside of MAME, the "move to" thing just doesn't work.  The key is pressed but the cursor simply doesn't move.

When I first tried this, it didn't work at all in MAME but I googled and there is a mouseprovider and keyboardprovider that you can set to make joytokey work inside of MAME.  It was actually a setting added at one point specifically for this reason.

But, unfortunately, it isn't working.
Jollywest:
Evening, been a while... had a notification to say my BYOAC password had been compromised in data leak, so came to change it, had a little catch up on things and saw this  ;)

I can't remember 100% how I did this, however I've just fired up the cab for the first time in ages and it works flawlessly but... I still don't know how I did it  :lol

Pretty sure I never used Xpadder in the end and that it was all done in the 'Configuration Menu' accessed by the TAB button, so I've attached a photo of the 'INPUT (this game)' & 'ANALOG Controls' sections for you to copy and see if it works.
I think it has something to do with 'P1 Button 1' assigned to both Joy 1 Button 1 & Joy 1 Button 0, 'Lightgun Y analog Dec' also assigned to Joy 1 Button 1, and 'Lightgun Y Digital Speed' set to 255 (Max)





purbeast:

--- Quote from: Jollywest on October 09, 2023, 04:22:17 pm ---Evening, been a while... had a notification to say my BYOAC password had been compromised in data leak, so came to change it, had a little catch up on things and saw this  ;)

I can't remember 100% how I did this, however I've just fired up the cab for the first time in ages and it works flawlessly but... I still don't know how I did it  :lol

Pretty sure I never used Xpadder in the end and that it was all done in the 'Configuration Menu' accessed by the TAB button, so I've attached a photo of the 'INPUT (this game)' & 'ANALOG Controls' sections for you to copy and see if it works.
I think it has something to do with 'P1 Button 1' assigned to both Joy 1 Button 1 & Joy 1 Button 0, 'Lightgun Y analog Dec' also assigned to Joy 1 Button 1, and 'Lightgun Y Digital Speed' set to 255 (Max)







--- End quote ---

Wow man thank you SO much for that!  I ended up getting it working!

I had to manually to into the cfg file to change the Lightgun Y analog Dec but it ended up working.

Many thanks man! 

Now that I have proof of concept that this works in my other MAME cabinet, I can start to piece together the parts to build another PC for my Light Gun cabinet.
purbeast:
I'm curious if you got Invasion to work with offscreen reload.  I tried those same settings on Invasion but it isn't working.  When I aim off screen it actually fires a bullet and uses some ammo, although it's not on the screen anywhere.

EDIT:

N/M I googled and found your other reply where you found the 2 shot reload fix for it.  Thanks for that too!
Navigation
Message Index
Previous page

Go to full version