Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| remapping_controls_per_emulator [2023/06/16 03:14] – fix the gun2key info to properly convey its info + reorder gun2key info to be more logical + consistency with button legend atari | remapping_controls_per_emulator [2024/10/31 16:04] (current) – Fix typo in a path lbrpdx | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| If you receive an error message saying something similar to " | If you receive an error message saying something similar to " | ||
| * ''/ | * ''/ | ||
| - | * ''/ | + | * ''/ |
| If they don't exist, create them and try again. | If they don't exist, create them and try again. | ||
| Line 57: | Line 57: | ||
| You may have noticed the " | You may have noticed the " | ||
| - | Remap files are saved to ''/ | + | Remap files are saved to ''/ |
| === libretro: PUAE/VICE === | === libretro: PUAE/VICE === | ||
| Line 102: | Line 102: | ||
| This functionality can help you create a per-game mapping of your controller to keyboard keys, in order to play games from old computers like Apple II, Sinclair or DOS and Windows games that are finicky with their joypad support. | This functionality can help you create a per-game mapping of your controller to keyboard keys, in order to play games from old computers like Apple II, Sinclair or DOS and Windows games that are finicky with their joypad support. | ||
| + | |||
| + | It can also, to some extent, be used to define additional emulator command shortcuts from the controller (such as force-closing the emulator with '' | ||
| ==== Define a system-wide pad2key mapping ==== | ==== Define a system-wide pad2key mapping ==== | ||
| - | The first thing to do is to select a game and press '' | + | The first thing to do is to select a game in the game list and press '' |
| {{ : | {{ : | ||
| Line 125: | Line 127: | ||
| ==== Pad2key configuration file ==== | ==== Pad2key configuration file ==== | ||
| - | Once your pad2key configuration is done for a specific game, it stays saved as a '' | + | Once your pad2key configuration is done for a specific game, it stays saved as a '' |
| { | { | ||
| Line 157: | Line 159: | ||
| ] | ] | ||
| } | } | ||
| + | |||
| + | === Action profiles === | ||
| + | |||
| + | A singular keys file may contain the action profiles for multiple players. '' | ||
| + | |||
| + | < | ||
| + | { | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ], | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | }, | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | In Batocera **v37** and above, light guns can also contain their own actions. These are unique to the light guns, and thus use their own actions profile: '' | ||
| + | |||
| + | < | ||
| + | { | ||
| + | " | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | } | ||
| + | ] | ||
| + | } | ||
| + | </ | ||
| === Triggers === | === Triggers === | ||
| Line 194: | Line 261: | ||
| Most Batocera light guns will automatically map themselves as a virtual keyboard and pointer device, associating their ID with a particular player controller. More info on each individual light gun mapping can be found on [[emulators: | Most Batocera light guns will automatically map themselves as a virtual keyboard and pointer device, associating their ID with a particular player controller. More info on each individual light gun mapping can be found on [[emulators: | ||
| - | * Primary fire : '' | + | * Primary fire : '' |
| - | * Secondary fire : '' | + | * Secondary fire : '' |
| - | * '' | + | * '' |
| - | * Aux button 1 : '' | + | * Aux button 1 : '' |
| - | * Aux button 2 : '' | + | * Aux button 2 : '' |
| - | * Aux button 3 : '' | + | * Aux button 3 : '' |
| - | * Aux button 4 : '' | + | * Aux button 4 : '' |
| - | * UP : '' | + | * UP : '' |
| - | * DOWN : '' | + | * DOWN : '' |
| - | * LEFT : '' | + | * LEFT : '' |
| - | * RIGHT : '' | + | * RIGHT : '' |
| === Targets === | === Targets === | ||
| Line 402: | Line 469: | ||
| <input name=" | <input name=" | ||
| <input name=" | <input name=" | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | <file - input.xml - V38 and later> | ||
| + | < | ||
| + | < | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | </ | ||
| + | <!-- Alt inputs for n64 style controllers --> | ||
| + | < | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | <input name=" | ||
| + | </ | ||
| </ | </ | ||
- remapping_controls_per_emulator.1686885288.txt.gz
- Last modified: 3 years ago
- by atari