Hi,
I'm running ScummVM on a Raspberry Pi using a PS3 controller connected via Bluetooth. All works fine by using --joystick=0 on the command line.
My problem is that left mouse click is mapped to the select button. Mouse movement works great on the left analogue stick but is awkward by having to left click using the select button...
Is there anyway to remap the joystick buttons so I can have left click on X and right click on O etc?
Thanks
Remap joystick buttons
Moderator: ScummVM Team
This is out of the scope of ScummVM.
Based on a quick Google, you need to do this by correctly setting up the configuration in qtsixa:
http://qtsixa.sourceforge.net/manual.pdf
Based on a quick Google, you need to do this by correctly setting up the configuration in qtsixa:
http://qtsixa.sourceforge.net/manual.pdf
Interpreter vs. Emulator is totally irrelevant.
The point here is that we _could_ provide a way to internally remap the Joystick buttons and axis, but I don't think the team have considered it a good idea.
We basically use the events from the libSDL v1.2 Joystick API, which _should_ pass the mapping straight from the Operating System specific API, which is where a remapping of buttons should be done:
http://www.libsdl.org/release/SDL-1.2.1 ... stick.html
There is already several places to do this and having yet another remapper creates another place to get buttons mixed up... See here:
https://wiki.archlinux.org/index.php/jo ... controller
The point here is that we _could_ provide a way to internally remap the Joystick buttons and axis, but I don't think the team have considered it a good idea.
We basically use the events from the libSDL v1.2 Joystick API, which _should_ pass the mapping straight from the Operating System specific API, which is where a remapping of buttons should be done:
http://www.libsdl.org/release/SDL-1.2.1 ... stick.html
There is already several places to do this and having yet another remapper creates another place to get buttons mixed up... See here:
https://wiki.archlinux.org/index.php/jo ... controller