Main > Lightguns |
DemulShooter (Dual light gun on DEMUL, Model2, Dolphin, Silent Hill, etc...) |
<< < (715/726) > >> |
argonlefou:
Oh....sorry this is my fault, I (wrongly) assumed that your gun was an IR-based gun It looks like you have an analog-based mounted gun, if you have to choose a joystick like Device Unfortunately, virtual buttons were not added for that kind of device....only for mouse-alike guns😞 |
purbeast:
Yeah I have a pretty unique setup with my happ 45 guns running on a USB2GUN board which makes Windows see actual light guns as analog sticks. Thanks though I will see if I can find some kind of "key2mouse" type of thing to map my V key to the middle mouse button for this. |
purbeast:
I came across this application called NeatMouse which maps keys to mouse buttons, and I am able to map my pedal (V) to the middle click. It works fine and dandy when I test it out in the desktop and in the browser and stuff, but for some reason when I try to use it in Virtua Cop 3 it doesn't work as intended. It is acting as though I am not pressing the middle click button and just nothing happens. I've tried it with not just the pedal V key but also other keys, and it is the same behavior. And when I exit the game, NeatMouse is still running and the key acts as if the middle mouse button is being pressed on the desktop and everything. I tried making NeatMouse open both before and after DemulShooter and it's the same behavior. Do you think there is some sort of conflict between Demulshooter and the NeatMouse application? |
purbeast:
argonlefou do you know if demulshooter will hook into vcop3_t.xbe? Or does it only hook if you load up vcop3.xbe? The reason I am asking is because in the cxbx input config, I set all of the ABXY buttons. A = shoot B = reload X = change weapon Y = pedal I verified this by loading up vcop3_t.xbe and going into the input test option. I set Y = V in my config, and when I press my pedal, the pedal switch turns to "ON". However when I try to actually play the game via vcop_t.xbe, it crashes as soon as the level starts. So after having all of that setup, I then tried loading vcop3.xbe and seeing if the pedal would actually do what it should do - the bullet time. However, when launching with vcop3.xbe, pressing the pedal instead is reloading for me. When I load both of these, I am running DS prior to it. So when I am in vcop3_t.xbe and testing the input, with Y on the controller set to V, pressing V makes the pedal switch get pressed. But when I have Y on the controller set to V when playing the actual game with DS hooked in, pressing V reloads. I took some videos showing this however that was before I remembered it's a completely different xbe file being loaded, so maybe DS isn't being hooked into the test menu one. EDIT: So I did confirm that it does in fact hook into vcop3_t.xbe because I tried it on my higher res monitor so I can see the desktop, and I see it green in the bottom right when it's running. Below are my 2 videos showing that in vcop3_t.xbe it appears that the Y mapping in CXBR to key V actually pushes the pedal button, but as you will see in the actual vcop3.xbe in the game, the Y mapping in CXBR to the V key is reloading. vcop3 test menu - https://www.youtube.com/shorts/Sn4DvEzG2dA vcop3 game play - https://www.youtube.com/shorts/3Th14WfIRS0 EDIT 2: Just to clarify, NeatMouse is not running in reference to this post. It's not running at all when those videos were take and when I'm seeing this behavior. |
argonlefou:
--- Quote from: purbeast on April 28, 2025, 03:33:20 pm ---I came across this application called NeatMouse which maps keys to mouse buttons, and I am able to map my pedal (V) to the middle click. It works fine and dandy when I test it out in the desktop and in the browser and stuff, but for some reason when I try to use it in Virtua Cop 3 it doesn't work as intended. It is acting as though I am not pressing the middle click button and just nothing happens. I've tried it with not just the pedal V key but also other keys, and it is the same behavior. And when I exit the game, NeatMouse is still running and the key acts as if the middle mouse button is being pressed on the desktop and everything. I tried making NeatMouse open both before and after DemulShooter and it's the same behavior. Do you think there is some sort of conflict between Demulshooter and the NeatMouse application? --- End quote --- No conflict, simply expected behavior The whole point of DemulShooter and RawInput is to read input directly from the controller (thus beeing able to separate them, which is something Windows is not doing for mice). So using Autohotkey, or any other mouse-simulating program (NeatMouse seems to be that kind, although I don't really know it) will never trigger anything if DemulShooter has some kind of "Mouse" device selected because those simulated inputs are not comming from the real device. The virtual keys options were made for that purpose, as 10+ years ago Lightgun options were very, very limited (mostly EMS TOP GUN, and some Aimtrak.) and some only had a trigger and no extra button. Listening to Keyboard events (even virtual, coming from AHK or IPAC devices) helped binding necessary buttons when Lightgun only had a trigger. But, again, as your Lightguns are detected as HID controllers (Joystick) in DemulShooter_GUI, all of this stuff do not apply because .....well it was not designed to : Joypad support was added mostly for WiiMotes/Joypads having a whole lot of buttons so adding virtual keys was not needed. Aliens Arcade analog mounted gun are nowadays also very popular but they also have extra buttons. So selecting a HID device in DemulShooter_GUI will make DemulShooter listen to this device and use the mapped buttons for Shoot/Reload/Action Mouse is not used at all in that case Going back to Cxbx-Reloaded, I had a short time to test on my computer and : - Native button in emulator input is Triggers - LEFT (just tried with MS controller Duke) to activate Bullet Time in Vcop3 - And yes, using DemulShooter will override Trigger/Reload/Bullet Time original inputs so that it can inject custom values, so these 3 buttons will not work anymore once DemulShooter is hooked So, unfortunatelly, you have a very specific setup which - in the current state - will not allow you to map a keyboard/pedal/virtual button to that specific action.... |
Navigation |
Message Index |
Next page |
Previous page |