Skip to content
/ remap Public
generated from bend-n/godot-template

addon for remapping inputs

License

Notifications You must be signed in to change notification settings

bend-n/remap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RemapTools

version package Buy me a coffee

A tool that allows the remapping of InputMap actions in godot4.

Features

image
image

Supports:

  • Multiple joypad types:
    • Xbox
    • Nintendo switch
    • Playstation
    • Fallback icons for a generic controller
  • Keyboard
  • Mouse

Warning The Switch, Playstation icons are not tested, as I do not have them.

Note Nintendo switch does not have a guide button--the xbox or ps button--so beware.

Usage

var button = RemapButton.new()
button.action = "ui_left"
button._name = "left"
add_child(button)

Installation

With the Godot Package Manager

Note The information here may not be up to date. For most up to date information, see gpm#using-packages

Warning This addon is not compatible with being used as a sub addon(a addon to another addon), as it uses classes.

This addon is installable via the gpm. To install, create a godot.package file. It should look something like this.

packages: {
  @bendn/remap: 5.0.5
}

Change 5.0.5 to whatever version you want to use, versions < 4 = godot3.x.

Then download the latest version of the cli, move the executable to your PATH as gpm (wget "https://github.com/godot-package-manager/cli/releases/latest/download/godot-package-manager.x86_64" -O /bin/gpm).

And finally, to download1:

gpm update # in the same dir as your godot.package

Manually

  • Download the repo (wget https://github.com/bend-n/remap/archive/refs/heads/main.zip && unzip main.zip).
  • Move the remap-main/addons/remap folder into your addons folder (mkdir addons && mv remap-main/addons/remap addons/)

Footnotes

  1. Usage instructions for the cli

About

addon for remapping inputs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published