Files
SlimeVR-Server/server
6a9b5cda1d Send Tracker Battery Info to SteamVR (#668)
* implement battery support

Co-authored-by: NWB <[email protected]>

* undo solarxr

* spotless

* Improved battery level aggregation

When chest and knee trackers are disabled in SteamVR, they should now aggregate their battery level with waist and foot trackers respectively.

Moved SteamVR-specific writeBatteryUpdate() and batteryReceived() to SteamVRBridge. Some battery stuff is still left in ProtobufBridge, but only what's necessary.

* Aggregate Waist and Hip with Chest

When waist is disabled, and chest is enabled, waist and hip battery levels will aggregate with the chest tracker.

* Comments & Minor Fixes

Added descriptive comments, and fixed lowestLevel not checking for >= 200. Also fixed right knee aggregating with right ankle/foot.

* Spotless

Applied spotless.

* Spotless

Applied spotless >_>

---------

Co-authored-by: ImUrX <[email protected]>
Co-authored-by: Erimel <[email protected]>
2023-05-31 20:37:46 -04:00
..
2023-05-29 20:10:27 +03:00
2022-11-25 18:07:59 +03:00