Rumble Support for Aquaria under Linux
This is a bit hacky because SDL does not support rumbling. Therefore this implementation reads the environment variable AQUARIA_EVENT_JOYSTICKX (where X is the number of the joystick) and opens the device this variable points to for native Linux rumbling.
export AQUARIA_EVENT_JOYSTICK0=/dev/input/event6 /opt/games/aquaria/aquaria
I use this script to start Aquaria:
export AQUARIA_EVENT_JOYSTICK0=/dev/input/by-id/usb-©Microsoft_Corporation_Controller_0709960-event-joystick exec /mnt/data/games/aquaria/aquaria