DOFLinx can be used to take analogue nudge and turn it into digital nudge. This means that an input device for analogue nudge, such as the PinScape with an accelerometer that presents as a joystick, can run in your cabinet, and when it hits limits that you set, push the digital nudge keyboard beys for emulators like FX3.
So how does this work? Well firstly you setup DOFLinx to know about your analogue nudge device, that is the joystick port and some other key values. Then when running, if your nudge goes over the preset value, a key stroke is sent to your emulating application. You can also optionally still have your cabinet manual nudge keys (often magna-save buttons) enabled as well. DOFLinx does this by cascading the nudge keys. Really it is as easy as that!
I have never been able to get DOFLinx to send L-Crtl and R-Ctrl to FX3 which are the default keys. As such, I use the “L” and “R” letter keys for left and right nudge while leaving “Space” as the default forward nudge. A small pain, but quite workable.
Prerequisites:
- DOFLinx installed and running
- A working analogue nudge device presenting to your PC as a joystick
- An emulator that only takes nudge via keystrokes
Setting up:
- Run DOFLinx with DEBUG=1
- Right click and select the “Test Joy Stick” option
- Work through the “Joystick #” until you find the one that changes values when you nudge. There is most likely only one active joystick in your cabinet.
- With the cabinet still, press the “Get Offset” button to get the first values
- Now nudge your cabinet and see what values in the “X Nudge Point” allow the “NUDGE” word to come up when you think you’ve pushed the cabinet hard enough. Be brutal, cabinets love to be shoved!
- Take note of all of the settings, or leave it on the screen as you do the next step.
- Edit your DOFLinx.INI file, JOY_PORT= the “Joystick #”, JOY_X_OFFSET = “X Offset”, JOY_Y_OFFSET = “Y Offset”, NUDGE_LEFT_POINT = “L Nudge Point”, NUDGE_RIGHT_POINT = “R Nudge Point”, NUDGE_FORWARD_POINT = “F Nudge Point”
- Next tell DOFLinx which keys you are using in your emulator from the standard keycodes – found here https://docs.microso...rtual-key-codes
- If you have set FX3 to “L”, “R” letter and “Space” keys then set NUDGE_LEFT_KEY=4C, NUDGE_RIGHT_KEY=52, NUDGE_FORWARD_KEY=20
- Now if you optionally want existing cabinet nudge keys to still work when you have analogue nudge setup, then configure the key codes currently set for those. If your magna-save keys were used for left and right nudge and were set to the traditional L-Ctrl and R-Ctrl then you would set NUDGE_LEFT_INPUT=A2, NUDGE_RIGHT_INPUT=A3. If you didn’t want to cascade manual nudge keys then simply leave these two parameters out of your DOFLinx.INI file
- Now set DEBUG=0, restart DOFLinx and give it a try.
In your DOFLinx.INI file you will need to setup the following parameters for nudge:
JOY_PORT=
JOY_X_OFFSET=
JOY_Y_OFFSET=
NUDGE_LEFT_POINT=-
NUDGE_RIGHT_POINT=
NUDGE_FORWARD_POINT=
NUDGE_LEFT_KEY=
NUDGE_RIGHT_KEY=
NUDGE_FORWARD_KEY=
NUDGE_LEFT_INPUT=
NUDGE_RIGHT_INPUT=
Here is my configuration where my PinScape presents as joystick #2, FX3 uses “L” and “R” letter and “Space” keys for nudge, and my cabinet has “L-Ctrl” and “R-Ctrl” as manual nudge keys that I cascade (ie still work with manual nudge)
JOY_PORT=2
JOY_X_OFFSET=32767
JOY_Y_OFFSET=32767
NUDGE_LEFT_POINT=-5500
NUDGE_RIGHT_POINT=5500
NUDGE_FORWARD_POINT=4000
NUDGE_LEFT_KEY=4C
NUDGE_RIGHT_KEY=52
NUDGE_FORWARD_KEY=20
NUDGE_LEFT_INPUT=A2
NUDGE_RIGHT_INPUT=A3
Edited by DDH69, 31 May 2019 - 04:38 AM.