Next: Window options, Previous: Rendering options, Up: Configuration [Contents][Index]
Gamepad is an umbrella term used in MININIM to describe any hardware device that enables the user to control the kid’s movements. Currently, there is support for two classes of gamepads: keyboard and joystick.
The primary joystick’s axis and button numbers are listed by the option --joystick-info. The user can find out the number of a particular axis or button by pressing it before invoking MININIM with that option. If a stick, axis or button given to an option doesn’t exist in the primary joystick, it’s silently ignored. The joystick can be activated and auto-calibrated in-game by the CTRL+J key binding. See Peripherals. If the joystick is peculiar enough, proving the auto-calibration mechanism insufficient, the --joystick-axis-threshold and --joystick-button-threshold options may help.
Select gamepad flip mode. Valid values for gamepad-flip-mode are: ‘NONE’, ‘VERTICAL’, ‘HORIZONTAL’ and ‘VERTICAL-HORIZONTAL’. The default is ‘NONE’. This can be changed in-game by the SHIFT+K key binding.
Map function func to joystick axis stick,axis. Valid values for func are: ‘H’ and ‘V’. stick,axis is a valid stick and axis pair. The default stick,axis for ‘H’ is ‘0,0’ and for ‘V’ is ‘0,1’.
Set joystick threshold to value for the axis mapped to func. Valid values for func are ‘H’ and ‘V’. value is a floating point ranging from 0.0 to 1.0. The default value for ‘H’ is 0.1 and for ‘Y’ is 0.8.
Map function func to joystick button button. Valid values for func are: ‘UP’, ‘RIGHT’, ‘DOWN’, ‘LEFT’, ‘ENTER’, ‘SHIFT’, ‘TIME’, ‘PAUSE’. button is a valid joystick button number. The default button values are 0, 1, 2, 3, 4, 5, 8 and 9, respectively.
Set joystick threshold to value for the button mapped to func. Valid values for func are: ‘UP’, ‘RIGHT’, ‘DOWN’, ‘LEFT’, ‘ENTER’, ‘SHIFT’. value is an integer ranging from 0 to 32767. The default value for any function is 100.
Print information about the primary joystick and exit.
Next: Window options, Previous: Rendering options, Up: Configuration [Contents][Index]