🎮 Gamepad2Mouse
Ever wanted to control your PC with an Xbox controller like a total boss? Now you can. This project turns your Xbox controller into a full-blown mouse and keyboard substitute. Use the joystick to glide your cursor, press A and B to click, and tap Start to pop open an on-screen keyboard like magic. Oh, and it actually feels smooth—not like the weird clunky stuff you find online.
✨ Features
- 🕹️ Use left joystick for buttery-smooth cursor movement
🅰️ A button for left click,🅱️ B button for right click- ⌨️ Start button toggles the Windows on-screen keyboard
- 🧠 Built-in deadzone and acceleration curve for better control
- ⚡ Fast, responsive, and actually usable
🔧 Requirements
- Python 3.12+
pygamepyautogui
💽 Install dependencies
pip install pygame pyautogui
🚀 How to Run
python main.py
⚠️ Make sure to run it as administrator, or the keyboard toggle won’t work right.
💡 Pro Tip
Want to game from your bed? This is the lazy dev’s dream setup. Perfect for accessibility setups, TV-connected PCs, or just vibing with a controller.
🛠️ Made with too much caffeine and not enough patience.