controller_patcher
controller_patcher copied to clipboard
Gamepad button can only be mapped once
I use a controller and tried to map 3 buttons to use in Mario Kart. Their function is to use items as : normal, forward and backward but doing the way I did don't work. Mapping two times the "VPAD_BUTTON_L" only do one time, so one button works and the oher don't.
You can map a controller button to multiple Gamepad buttons but not in the other way (a Gamepad button to multiple controller buttons)
Maybe it's not an issue because there's no way to do it but if this is possible. it would be nice to implement this feature.
Part of the config file :
VPAD_BUTTON_ZL = 0x03, 0x04 // Btn 3 : Use item
VPAD_BUTTON_L = 0x03, 0x08 // Btn 4 : Use item backward
VPAD_BUTTON_DPAD_S = 0x03, 0x08 //
VPAD_BUTTON_L = 0x03, 0x10 // Btn 5 : Use item forward
VPAD_BUTTON_DPAD_N = 0x03, 0x10 //