{"repo":"KoBeWi/Godot-Input-Remap","free":true,"listed":false,"github":"https://github.com/KoBeWi/Godot-Input-Remap","clone":"git clone https://github.com/KoBeWi/Godot-Input-Remap.git","description":"A Resource for Godot engine that will store your input mapping.","language":"GDScript","stars":108,"topics":["godot"],"license":"MIT","category":"game-templates","readme_excerpt":"Godot Controls Remap ControlsRemap will store your input mapping. It's a Resource, so you can save it and load it. It supports keyboard and joypad separately. You can use it to have easily customizable controls in your game. How does it work? First enable the Controls Remap addon and define what actions you want to handle in addons/ControlsRemap/action list project setting. To create a remap, the resource will go over these actions and look for InputEventKey and InputEventJoypadButton. It will store the keycode / button index of the first events it finds in the action (physical keycodes are not supported). When the ControlsRemap is first created, it will use the currently assigned buttons as defaults, so it's important to create it before any input is edited. The remap is applied by looking for InputEvents inside action and replacing its button ID. It might sound complicated, but it's done automatically by using methods. The class includes a built-in documentation. Usage First, define your tracked actions in addons/ControlsRemap/action list project setting. Then you need to create the remap resource: Then you can edit the assigned buttons by using set action key() for keyboard or set action button() for joypad. For example, you can listen for input and do: After this operation, Input.is action pressed(current action) will use the key you just changed. After you customized your controls, use remap.create remap() to store your assigned buttons inside ControlsRemap resource. The","default_branch":null,"files":null,"tree":[],"storefront":"/r/KoBeWi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KoBeWi/Godot-Input-Remap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}