Gamypad
Use your smartphone as a virtual game controller on Linux inspired by PC REMOTE MONET.
Gamypad is a cross-platform solution that transforms your smartphone into a fully functional gamepad controller for Linux.
Features
- Emulates a Linux game controller
- Wireless input via socket connection
- On-screen joystick + buttons
Prerequisites
Before installing, make sure your user is in the input group.
To check, run
groupsIf it shows input , you are good to go.
If not, run the following
sudo usermod -aG input $USERInstallation
If you are using just your pc to download everything. Download gamypad_full.zip from the latest release. Else, to download and install binaries for only your pc, downlaod gamypad_pc.zip.
Then open your terminal and run the following command.
unzip gamypad_full.zip ## or gamypad_pc.zip
cd gamypad-full/ ## or gamypad_pc/You can either use an adb connection to install the app to your phone or download Gamypad.apk from release tab.
To use adb connection
-
Enable USB Debugging on your Android Device
- Go to Settings → About phone → Tap "Build number" 7 times to enable Developer Options.
- Then go to Settings → Developer options → USB Debugging and enable it.
-
Connect your phone via USB and verify the connection:
adb devices- Install the application
adb install Gamypad.apk- Once installed, you can run the app on your phone. If you update the APK later, use:
adb install -r Gamypad.apkTo install the linux application, run
chmod +x install.sh
./install.shinside the gamypad_full/ or gamypad_pc/.
How To Run
-
Connect your system and your android phone into the same network.
-
Open the linux application from an app launcher or run the binaries inside gamypad_*/linux/gamypad_pc.
-
Click on Start Server in the Linux application.
-
Open the Android application, and connect to the server using the IP address and port displayed in the Linux app.
-
You are good to go! 🎮
TO DO
- Write Installation Steps
- Add Sticky Dpad