GEIP - Godot Easy Input Remap
by IsItLucas?
2
GEIP - Godot Easy Input Remap ๐ฎโจ๐ก
GEIP (Godot Easy Input Remap) is a lightweight addon for the Godot Engine that makes it easy to implement customizable input remapping systems.
With GEIP, players can dynamically rebind their controls, enabling a flexible and user-friendly experience. ๐๐ฎ
Features ๐ ๏ธ๐
- Dynamic Input Remapping: Players can remap inputs at runtime without restarting the game.
- Modifier Support: Includes optional support for modifiers (Alt, Shift, Ctrl) in key bindings.
- Conflict Prevention: Built-in system to prevent input conflicts when remapping.
- Signal-Based Architecture: Emit signals on successful or failed remaps for easy integration.
- Helper Functions: Simplify input management with utility functions for settings and events.
- No Code Setup: Fully configurable via Godot's Project Settings interface.
Installation ๐พ๐ฅ
Download or Clone the Repository
- Download the latest version from the repository.
- Or clone it:
git clone https://github.com/your-repo-link.git
Add to Your Project
- Extract the files into the
addons/
directory in your Godot project.
Enable the Plugin
- In Godot, go to
Project > Project Settings > Plugins
. - Locate
GEIP - Godot Easy Input Remap
and set it toEnabled
. โ โจ
Configuration โ๏ธ๐ง
- Access the plugin settings at
Project > Project Settings > General > Godot Easy > Remap
. ๐ ๏ธ
Usage ๐ฏ๐
- Call
listen_start(action: String, event: InputEvent, allow_modifiers: bool)
to begin listening for input to remap a specific action and event. - Use
listen_stop()
to cancel remapping if needed. - Connect to signals like
remap_success
andremap_fail
to handle input remapping dynamically.
Signals ๐กโจ
remap_success(action: String, old_event: InputEvent, new_event: InputEvent)
Emitted when an action's input is successfully remapped. โ
remap_fail(action: String)
Emitted when remapping fails (e.g., due to listen_stop). โ
Contributions ๐ค๐
Contributions are welcome! Feel free to open issues or submit pull requests to improve this addon.
See CODE OF CONDUCT
for more details. ๐
License ๐โ๏ธ
This project is licensed under the MIT License. See the LICENSE
file for more details. โ
Download
Version1.0.0
Download Now
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author