Remapping joystick button to another jostick button

Lucky1

New member
RL Member
Hey,

Here's what i'm trying to setup:
NEC Turbografx 16, Devil Crush, using mednafen.

For this game only, I want to use other buttons on my cabinet (flipper buttons)
Left side flipper button is wired to Joystick 1, button 7
Right side flipper button is wired to Joystick 2, button 7

In mednafen, my config for this system is set to play all games. But for Devil's crush, a pinball game, I would like RL to load AHK or Xpadder or both so I can use these 2 flipper buttons.
I tried to use the AHK method, but as soon as I load the AHK file, an error message pops up saying Error on line 1 = 1joy7

Direct remapping Joystick button to joystick button:
1joy0::1joy7 not working
1joy2::2joy7 not working


--------------------------------

Indirect remapping in 2 steps
1. Joystick to xpadder
1joy0 = a
1joy1 = s

Step 2, using AHK
a::1joy7
s::2joy7

At this point, I get an error message: Error line 1: 1joy7

It seems that AHK does not understand the 1joy7. RL auto setup writes it like this.
I also tried using brackets {} , but same error.

Is there a way to remap a button with another button?
maybe in 2 steps, the other way around, a keyboard key send a joystick button signal?
Or this can be done directly in mednafen, a cfg for this specific game?

:hmmmm2:

Thanks
 
Top