Lightweight app for mapping gamepad input to mouse, keyboard and commands.
It's single-file app that requires only input-minimap binary and config.
You can obtain binary file from GitHub Releases.
You need to specify config path in first arg.
input-minimap config.tomlYou can use this as example default config:
frequency = 60 # Max update frequency
dead_zone = 0.1 # Dead zone for sticks
acceleration = 1000 # Mouse speed multiplier
scroll_acceleration = 5000 # Scroll speed multiplier
south = "BTN_LEFT" # Mouse button
east = "None" # Do nothing
west = ["playerctl", "play-pause"] # Command
north = "None"
left = ["playerctl", "position", "5-"]
rigth = ["playerctl", "position", "5+"]
up = "KEY_W"
down = "KEY_S"
left_bumper = ["playerctl", "previous"]
right_bumper = ["playerctl", "next"]
left_trigger = "None"
right_trigger = "None"