xboxdrv for 4 way restriction
-
Howdy... I read through Universal-Controller-Calibration-&-Mapping-Using-xboxdrv. Down in the section "Restricting directional control to four ways" it goes over the use and switches associated with restricting an 8 way stick to 4 way. What is not clear to me is how to use this command. Is it something to add to a startup script? Just run the command with the needed switches, and it's good? How to persist after reboot in a way the RetroPie likes? If just running the command below is all I need to run or do I have to work out all the mappings?
RetroPie 4 and Mame2003 emu by the way.
Any insight is appreciated!
sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv --four-way-restrictor
Ok Edit:.... So I poked my way through the docs and came up with the following script.
sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \ --evdev /dev/input/by-id/usb-Logitech_Logitech_Extreme_3D-event-joystick \ --silent \ --detach-kernel-driver \ --force-feedback \ --deadzone-trigger 15% \ --deadzone 4000 \ --mimic-xpad \ --four-way-restrictor --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_X=x2,ABS_Y=y2 \ --evdev-keymap BTN_THUMB=a,BTN_TRIGGER=b,BTN_BASE4=x,BTN_BASE3=y,BTN_BASE=select,BTN_BASE2=start \ >/dev/null &
Now a controller shows up but shows up unconfigured so it doesn't work...
Still looking for thougths
-
@churchill7 this is a core option.
Load the core with a 4 way game like donkey kong or pacman.
Retroarch main menu-> Quick menu-> options -> 4-way joystick emulation on 8-way joysticks -> enable
-
@mahoneyt944 I am not seeing "4-way joystick emulation" under Quick Menu-->Options.
-
@churchill7 MAME 2003 Plus has the 4 way option.
-
@libation I am using Mame2003-Plus now. I gave up on the xboxdrv deal. Honestly I think that mame2003-plus knows when a game is 4 or 8 way. I still do not see any options for 4 way emulation, however, when I go into a game like Tron the light cycles are playable again so it seems to be automated. I may be wrong. Just my observation.
-
@churchill7 in mame2003-plus and mame2003 this core option will be hidden unless you're playing a game that uses the feature. I recommend running pacman then going into the core options.
The default is probably decent though like you observed in Tron.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.