buttplugio / buttplug

Rust Implementation of the Buttplug Sex Toy Control Protocol
https://buttplug.io
Other
896 stars 65 forks source link

Assign UUIDs per identifier and feature in the device config #677

Open qdot opened 1 week ago

qdot commented 1 week ago

Trying to keep track of everything based on array indexes is a very bad idea. The amount of bookkeeping to swap between device definitions in different message versions causes a ton of bugs whenever we try to upgrade anything. We also don't really have a good way to tell when differences pop up between user config files and the main config (i.e. we add/remove features). We should be able to assign UUIDs in the config file and compare on those for lookup instead of constantly trying to keep random array indexes aligned.

Alphalilly commented 1 week ago

69th active issue NICE