Raspberry Pi Joystick
Moderator: ScummVM Team
Raspberry Pi Joystick
I am not sure how to add joystick support to my rpi's scummvm. Any help would be appreciated.
If your joystick is appearing as a standard Linux Joystick device i.e. if /dev/input/js0 exists, then it should be available via SDL: http://www.libsdl.org/docs/html/joystick.html and thus ScummVM can use it.
However as md5 indicated, Joysticks are a bit cumbersome for adventure games so we don't enable them by default. If you read section 5.1 of the README, to enable them, you need to pass the command line option --joystick to scummvm (Optionally this takes the number of the joystick i.e. if you have several devices js0, js1 etc.)
tl;dr: Assuming that you are using a USB Joypad/stick or an Analogue joystick via a USB Gameport on your RPi, try running "scummvm --joystick" and see if this then works...
However as md5 indicated, Joysticks are a bit cumbersome for adventure games so we don't enable them by default. If you read section 5.1 of the README, to enable them, you need to pass the command line option --joystick to scummvm (Optionally this takes the number of the joystick i.e. if you have several devices js0, js1 etc.)
tl;dr: Assuming that you are using a USB Joypad/stick or an Analogue joystick via a USB Gameport on your RPi, try running "scummvm --joystick" and see if this then works...
https://wiki.archlinux.org/index.php/Ga ... ontrollers
Those controllers appear as evdev event devices for X Windows, so will appear as a Mouse, rather than a Joystick to libSDL and thus ScummVM.
Those controllers appear as evdev event devices for X Windows, so will appear as a Mouse, rather than a Joystick to libSDL and thus ScummVM.