Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information