TriadSemi / triad_openvr

This is an enhanced wrapper for the already excellent pyopenvr library by cmbruns. The goal of this library is to create easy to use python functions for any SteamVR tracked system.
157 stars 52 forks source link

Add config with serials for correct labeling #9

Closed Virgile-Dauge closed 5 years ago

Virgile-Dauge commented 5 years ago

Hi,

I wanted to keep consistency between real world controllers and trackers names (which are labeled) and available names in the software. so i just added the possibility to configure names associated with serials in a config.json file. The current process tries to read this file to assign corresponding names to devices. if it fails, the previous normal behavior is used.

I hope it can be usefull for someone :).

lgbeno commented 5 years ago

Thanks for your contributions!