Skip to content

Make your smartphone device a gaming controller.

License

Notifications You must be signed in to change notification settings

AP-Atul/Gamepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gamepad

Make your smartphone device a gaming controller. Install the app on your android device. Run the python server on the machine with the game, once connected start the game and play.

Change the keymap.txt file to configure keys as per the game

Screen

screen

Description

  1. app : folder contains the android app which connects the python server running on the machine with the ip address
  2. server : folder contains the python server that is needed to be ran to connect the server and the mobile app

Config

Change the values in the keymap.txt in the server folder as per your preference, the names of the keys on the left hand are the app keys while right hand side needed to be changed.

Execution steps

  1. Clone the repo
$ git clone https://github.com/AP-Atul/Gamepad.git
  1. Install all the requirements for the server
$ pip install -r requirements.txt
  1. Run the server
$ python3 main.py
  1. To run the app
1. Import the app project in Android Studio
2. Run the AS on device
3. [I'll provide an apk soon.]