This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
controls [2017/05/14 11:58] bodbod |
controls [2023/02/18 04:24] (current) phulshof |
||
---|---|---|---|
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. | ||
- | ^Control ^Description ^Notes^ | + | Settings for controls: |
+ | |||
+ | ^Control ^Description^ | ||
|up|Scrolls menu up (for vertical menus)| | |up|Scrolls menu up (for vertical menus)| | ||
|down|Scrolls menu up (for vertical menus)| | |down|Scrolls menu up (for vertical menus)| | ||
Line 12: | Line 16: | ||
|pageUp|Scrolls menu back by a page| | |pageUp|Scrolls menu back by a page| | ||
|pageDown|Scrolls menu forward by a page| | |pageDown|Scrolls menu forward by a page| | ||
- | |letterUp|Scrolls to the previous item in the alphabet |Available in version 0.5.158 or later| | + | |letterUp|Scrolls to the previous item in the alphabet| |
- | |letterDown|Scrolls menu next item in the alphabet|Available in version 0.5.158 or later| | + | |letterDown|Scrolls menu next item in the alphabet| |
- | |addPlaylist|Adds a game to the favorites playlist |Available in version 0.7.1 or later| | + | |collectionUp|Scrolls to the previous collection. Will enter that collection based on enterOnCollection.| |
- | |removePlaylist|Removes a game from the favorites playlist |Available in version 0.7.1 or later| | + | |collectionDown|Scrolls menu next collection. Will enter that collection based on enterOnCollection.| |
- | |nextPlaylist|Switches between the full game list and the favorites playlist|Available in version 0.7.1 or later| | + | |addPlaylist|Adds a game to the favorites playlist | |
- | |random|Selects a random game Available in version 0.7.1 or later| | + | |removePlaylist|Removes a game from the favorites playlist | |
+ | |favPlaylist|Switches to the favorites playlist.| | ||
+ | |nextPlaylist|Switches to the next playlist.| | ||
+ | |prevPlaylist|Switches to the previous playlist.| | ||
+ | |cyclePlaylist|Switches to the next playlist in the cyclePlaylist set. Still functional, but has been replaced by nextCyclePlaylist.| | ||
+ | |nextCyclePlaylist|Switches to the next playlist in the cyclePlaylist set.| | ||
+ | |prevCyclePlaylist|Switches to the previous playlist in the cyclePlaylist set.| | ||
+ | |random|Selects a random game| | ||
|select|Selects the active menu item| | |select|Selects the active menu item| | ||
|back|Leaves current menu| | |back|Leaves current menu| | ||
|quit|Exits the frontend| | |quit|Exits the frontend| | ||
+ | |jbFastForward1m|Jukebox fast forward 1 minute| | ||
+ | |jbFastRewind1m|Jukebox fast rewind 1 minute| | ||
+ | |jbFastForward5p|Jukebox fast forward 5%| | ||
+ | |jbFastRewind5p|Jukebox fast rewind 5%| | ||
+ | |jbPause|Jukebox pause| | ||
+ | |jbRestart|Jukebox restart| | ||
+ | |deadZone|Defines the dead zone for analog inputs| | ||
- | **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 63: | ||
|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 75: | ||
|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 90: | ||
|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 171: | ||
|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 200: | ||
|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 227: | ||
|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 243: | ||
|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 265: | ||
|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 314: | ||
|) | | |) | | ||
|_| | |_| | ||
- | These codes were taken from https://wiki.libsdl.org/SDL_Keycode| | + | These codes were taken from https://wiki.libsdl.org/SDL_Keycode |