*/
struct ControlSource
{
- Device *dev = 0;
+ Device *dev = nullptr;
ControlSrcType type = NO_SOURCE;
unsigned index = 0;
protected:
ControlSource src;
- Device *capture_dev = 0;
- BinaryControl *activator = 0;
+ Device *capture_dev = nullptr;
+ BinaryControl *activator = nullptr;
float origin = 0.0f;
bool rising_edge = false;
bool falling_edge = false;