secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
206 stars 53 forks source link

Save/load custom GameControl controller mappings to/from settings #1364

Open AndrewMeadows opened 4 months ago

AndrewMeadows commented 4 months ago

The GameControl data is packed in a message and sent to the server. That message allows for 32 buttons (bits in a U32 field) and six axes values. The mapping between real button/axis on the controller and index in the message can be customized via UI (Me-menu --> Preferences...-option --> Game_Control-tab), however we don't currently save custom mappings to settings or load them again on restart.

AndrewMeadows commented 4 months ago

Work should be done from leviathan/game-control branch.

LLGuru commented 4 months ago

Implemented in https://github.com/secondlife/viewer/pull/1439