User Tools

Site Tools


controls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
controls [2017/05/15 18:02]
bodbod
controls [2020/03/18 07:41]
phulshof [Controls]
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 21: Line 25:
 |back|Leaves current menu|  |back|Leaves current menu|
 |quit|Exits the frontend|  |quit|Exits the frontend|
 +|deadZone|Defines the dead zone for analog inputs|
  
 **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 51:
 |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 63:
 |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 234:
 |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 |
controls.txt · Last modified: 2022/03/28 12:27 by phulshof