GyroGameController is a real-time motion-based gaming controller that uses an Arduino + MPU6050 gyroscope + Python PC interface to convert physical tilt movements into keyboard inputs for PC games.
- Detects and connects to Arduino-based gyro devices.
- Streams real-time motion (tilt) data via serial communication.
- Converts motion gestures into keyboard inputs.
- Low-latency response for gaming applications.
- Stable tilt detection with anti-spam filtering.
- Cross-platform support (Windows / Linux / Mac).
GyroGameController/
│
├── GyroController.ino # Arduino firmware for MPU6050
├── gyro_game_pc.py # Python PC-side controller
└── README.md
Download Python 3.x
https://www.python.org/downloads/
https://www.arduino.cc/en/software
`pip install pyserial pynput`
`https://github.com/Ankit-dhillon/GyroGameController/blob/main/GyroController.ino`
- GyroGameController from github - `https://github.com/Ankit-dhillon/GyroGameController.git`
`python KeyController.py`
| Gesture | Action |
| ------------- | ---------- |
| Tilt Left | Move Left |
| Tilt Right | Move Right |
| Tilt Forward | Jump |
| Tilt Backward | Slide |
- Motion-based gaming controllers
- Human–computer interaction (HCI)
- Embedded systems projects
- IoT and sensor integration learning
- Hackathons and project demonstrations
- Assistive gaming systems