Mission-DMX / realtime-fish

Der Echtzeitteil der Pultsoftware
GNU General Public License v3.0
0 stars 0 forks source link

Main brightness control input filters #37

Closed Doralitze closed 1 year ago

Doralitze commented 1 year ago

This commit resolves issue #35. It does so by updating the fader input filters as well as providing a global brightness input filter.

Doralitze commented 1 year ago

should we define anywhere globally the max (and min) values for different datatypes -> or should we use std::numeric_limits::max instead?

We can use std::numeric_limits as we've got well defined data types (uint8_t instead of unsigned char).

Doralitze commented 1 year ago

i think we should initalize the dimmer high, so we can dimm the lights and dont get confused if we forget about the dimmer to set high at startup.

Well, we'll always have a desk instance. It'll just be the case that there are no input devices connected. One desk object supports 0:n fader input devices.