awtterpip / bevy_oxr

Apache License 2.0
241 stars 39 forks source link

added very ugly constants for index controllers #148

Open ForTehLose opened 3 months ago

ForTehLose commented 3 months ago

I mostly want to know if anyone knows a better way to write this, and I entirely hate this. It does however work.

awtterpip commented 2 months ago

perhaps we can create a module tree, so that one can write the paths like this instead user::hand::left::input::a::click. this has the benefit of having it be impossible to use an invalid path, and allowing rust analyzer and autocomplete to show available options

awtterpip commented 2 months ago

i think this would be best done with a macro