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/14 11:58]
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 67: Line 77:
 |9 |  |9 |
 |A |  |A |
-|AC Back|  the Back key (application control keypad)| +|AC Back|the Back key (application control keypad)| 
-|AC Bookmarks| ​ the Bookmarks key (application control keypad)| +|AC Bookmarks|the Bookmarks key (application control keypad)| 
-|AC Forward ​ |the Forward key (application control keypad)| +|AC Forward |the Forward key (application control keypad)| 
-|AC Home  |the Home key (application control keypad)| +|AC Home |the Home key (application control keypad)| 
-|AC Refresh ​ |the Refresh key (application control keypad)| +|AC Refresh |the Refresh key (application control keypad)| 
-|AC Search ​ |the Search key (application control keypad)| +|AC Search |the Search key (application control keypad)| 
-|AC Stop  |the Stop key (application control keypad)|+|AC Stop |the Stop key (application control keypad)|
 |Again |the Again key (Redo)| |Again |the Again key (Redo)|
 |AltErase |Erase-Eaze| |AltErase |Erase-Eaze|
 |' | |' |
-|Application| ​ the Application / Compose / Context Menu (Windows) key|+|Application|the Application / Compose / Context Menu (Windows) key|
 |AudioMute |the Mute volume key| |AudioMute |the Mute volume key|
 |AudioNext |the Next Track media key| |AudioNext |the Next Track media key|
Line 148: Line 158:
 |J | |J |
 |K | |K |
-|KBDIllumDown | the Keyboard Illumination Down key| +|KBDIllumDown|the Keyboard Illumination Down key| 
-|KBDIllumToggle ​ |the Keyboard Illumination Toggle key|+|KBDIllumToggle |the Keyboard Illumination Toggle key|
 |KBDIllumUp |the Keyboard Illumination Up key| |KBDIllumUp |the Keyboard Illumination Up key|
 |Keypad 0 |the 0 key (numeric keypad)| |Keypad 0 |the 0 key (numeric keypad)|
Line 177: Line 187:
 |Keypad && |the && key (numeric keypad)| |Keypad && |the && key (numeric keypad)|
 |%%\|%% |%%\|%% key (numeric keypad)| |%%\|%% |%%\|%% key (numeric keypad)|
-|Keypad Decimal ​ |the Decimal key (numeric keypad)|+|Keypad Decimal |the Decimal key (numeric keypad)|
 |Keypad %%/%% |the / key (numeric keypad)| |Keypad %%/%% |the / key (numeric keypad)|
 |Keypad E |the E key (numeric keypad)| |Keypad E |the E key (numeric keypad)|
Line 204: Line 214:
 |Keypad . |the . key (numeric keypad)| |Keypad . |the . key (numeric keypad)|
 |Keypad + |the + key (numeric keypad)| |Keypad + |the + key (numeric keypad)|
-|Keypad +/-  |the +/- key (numeric keypad)| +|Keypad +/-|the +/- key (numeric keypad)| 
-|Keypad ^ |the Power key (numeric keypad)|+|Keypad ​%%^%%  |the Power key (numeric keypad)|
 |Keypad } |the Right Brace key (numeric keypad)| |Keypad } |the Right Brace key (numeric keypad)|
 |Keypad ) |the Right Parenthesis key (numeric keypad)| |Keypad ) |the Right Parenthesis key (numeric keypad)|
Line 220: Line 230:
 |Left Shift | |Left Shift |
 |M | |M |
-|Mail| ​ the Mail/eMail key|+|Mail|the Mail/eMail key|
 |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 |
Line 242: Line 252:
 |Q | |Q |
 |R | |R |
-|Right Alt | alt gr, option|+|Right Alt |alt gr, option|
 |Right Ctrl |  |Right Ctrl |
 |Return |the Enter key (main keyboard)| |Return |the Enter key (main keyboard)|
Line 291: Line 301:
 |) | |) |
 |_|  |_|
-These codes were taken from https://​wiki.libsdl.org/​SDL_Keycode|+These codes were taken from https://​wiki.libsdl.org/​SDL_Keycode
controls.txt · Last modified: 2023/02/18 04:24 by phulshof