This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
controls [2017/05/15 18:02] bodbod |
controls [2017/07/14 09:33] phulshof [Gamepad/Joystick codes] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Controls ====== | ====== Controls ====== | ||
- | **controls.conf is a file to configure your controller input.** | + | The controls.conf file, located in your RetroFE directory, contains the controls for your RetroFE front-end. Multiple keys can be assigned to a single action, separated by a ,. |
- | Example settings for controls: | + | Example: |
+ | Up = Keypad 8, Up | ||
+ | This will assign both the Keypad 8 (up arrow on your keypad) and the up arrow to RetroFE's Up control. | ||
+ | |||
+ | Settings for controls: | ||
^Control ^Description ^Notes^ | ^Control ^Description ^Notes^ | ||
Line 24: | Line 28: | ||
**Controllers/joysticks are supported in versions 0.6.x and later.** | **Controllers/joysticks are supported in versions 0.6.x and later.** | ||
\\ | \\ | ||
+ | \\ | ||
+ | =====Gamepad/Joystick codes===== | ||
- | Gamepad/joystick codes | + | ^Keycode^Description^ |
- | ^Keycode ^Description^^ | + | |
|joyXButtonY |Gamepad button (X=joypad number, Y=button number)| | |joyXButtonY |Gamepad button (X=joypad number, Y=button number)| | ||
|joyXHatYLeftUp |Gamepad hat direction (X=joypad number, Y=hat number)| | |joyXHatYLeftUp |Gamepad hat direction (X=joypad number, Y=hat number)| | ||
Line 45: | Line 50: | ||
|joyXAxis3- |Second POV stick, second axis negative direction (X=joypad number)| | |joyXAxis3- |Second POV stick, second axis negative direction (X=joypad number)| | ||
- | Mouse codes | + | If X is omitted, RetroFE will accept input from all controllers. (version 0.8.13+) |
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | =====Mouse Codes===== | ||
^Keycode ^Description^ | ^Keycode ^Description^ | ||
|mouseButtonleft |the left mouse button| | |mouseButtonleft |the left mouse button| | ||
Line 52: | Line 62: | ||
|mouseButtonX1 |the X1 mouse button| | |mouseButtonX1 |the X1 mouse button| | ||
|mouseButtonX2 |the X2 mouse button| | |mouseButtonX2 |the X2 mouse button| | ||
+ | \\ | ||
+ | =====Keyboard Codes===== | ||
- | Keyboard codes: | + | ^Keycode^Description^ |
- | + | ||
- | ^Keycode ^Description^ | + | |
|0 | | |0 | | ||
|1| | |1| | ||
Line 223: | Line 233: | ||
|MediaSelect |the Media Select key| | |MediaSelect |the Media Select key| | ||
|Menu | | |Menu | | ||
- | |&&-&& | | + | |- | |
|ModeSwitch |I'm not sure if this is really not covered by any of the above, but since there's a special KMOD_MODE for it I'm adding it here| | |ModeSwitch |I'm not sure if this is really not covered by any of the above, but since there's a special KMOD_MODE for it I'm adding it here| | ||
|Mute | | |Mute | |