Metadata-Version: 2.4
Name: gamepad-mapper
Version: 0.0.3
Summary: Map gamepad axes and buttons
Author-email: Jonas Eschmann <jonas.eschmann@gmail.com>
License: MIT
Requires-Dist: platformdirs
Requires-Dist: pygame
Description-Content-Type: text/markdown

# Gamepad Mapping
```python
import pygame
from gamepad_mapper import load_or_map

pygame.init()
pygame.joystick.init()
assert pygame.joystick.get_count() > 0, "No game controller found."

joystick = pygame.joystick.Joystick(0)
joystick.init()
mapping = load_or_map(joystick, ["Roll", "Pitch", "Throttle", "Yaw"], ["arm"], force=True, name="example")
```