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?
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....