Skip to content

A python script to stream gamepad inputs via a websocket

Notifications You must be signed in to change notification settings

FlameSoulis/gamepad_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gamepad Reader

This is just a simple python script, originally written for NeosVR, to host the button presses occuring on a controller to be presented in VR.

This is just a project I did for fun. It has been tested to work on a SteamDeck, even while in Steam's main UI.

Prerequisites

You will need pygame and websocket-server.

pip install pygame websocket-server

This was originally created for pygame 2.2.0 and websocket-server 0.6.4 with Python 3.10.9. It has been tested on Windows 10 and SteamOS 3.4.6, but should play safely on most Linux distributions.

NeosVR Shared Folder

This folder contains a demonstration core system for reading the GamePad Reader's output. To view the folder's content, copy and paste the below link into the NeosVR client.

neosrec:///U-Flame-Soulis/R-d4dbd71a-7aed-4ea7-9629-e9ec2c068b19