Completely refactored to work with new PSMoveAPI Library#15
Completely refactored to work with new PSMoveAPI Library#15MattGrayYes wants to merge 6 commits intoJonty:masterfrom
Conversation
Uses new PSMoveAPI v4 Uses SystemD to run on boot New API doesn't require original bluetooth hacks Remembers controllers so pairing not needed every time Orbs now glow orange when connected to the game lobby so they don't look broken
Updated installation instructions for Raspberry Pi.
|
This is so hilariously vibecoded. I'll try and detangle this into something I can merge. Brief notes for anyone without context.as to why this is:
The new event-driven API looks great though, and it seems psmoveapi is now easily installable, so that's great. The "turn off" button is specifically not the PS button because when a game is left running without supervision players would always press that to turn the controller on and try to join a game in progress, and would instead turn it off and confuse things even further. |
|
The changing the code was LLM, but the decisions were mostly me. My context:
|
Oust has been entirely refactored to use the "new" PSMoveAPI v4, and has been tested on Raspberry Pi OS Lite (64-bit, based on Debian Trixie)
Before merging, you may want to edit line 132 of README.md, as the git clone url is hardcoded to my repo.
New features
Refactoring
Highlights
ClassicBondedOnly=falseto allow PSMove to pairrfkill bluetooth unblockon startup to allow bluetooth connectionspsmovepsmove pairas a subprocess once a controller is connected via USBVibecoding
The refactoring was done using VSCode Copilot with Claude Sonnet 4.5. Claude's summary: