At the moment, the updating of the input devices is put in the app class at after_render at natus::device::global_t::system()->update(). This is required because updating at a different frequency than the tooling, keys and mouse button events are missed.
Solution:
Make a on_device callback and call that at its own update frequency. Then, the tool input could be updated too. That would also be the place where the use can update all input parameters.
At the moment, the updating of the input devices is put in the
app
class atafter_render
atnatus::device::global_t::system()->update()
. This is required because updating at a different frequency than the tooling, keys and mouse button events are missed.Solution: Make a
on_device
callback and call that at its own update frequency. Then, the tool input could be updated too. That would also be the place where the use can update all input parameters.on_device
callback in app class