X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fcontrol.h;fp=source%2Finput%2Fcontrol.h;h=f9c7003b4290ea17b8f57dfb43249b03f8489288;hp=b71c81871e94ca67b95433d91b679a2e9234751a;hb=507fa60f32bd3f64840a2cdd1be5d68478432b55;hpb=cea95778acfd6e172639cafd7ad249cc13ceb2a6 diff --git a/source/input/control.h b/source/input/control.h index b71c818..f9c7003 100644 --- a/source/input/control.h +++ b/source/input/control.h @@ -25,7 +25,7 @@ different types of controls in a uniform way. */ struct ControlSource { - Device *dev = 0; + Device *dev = nullptr; ControlSrcType type = NO_SOURCE; unsigned index = 0; @@ -55,8 +55,8 @@ public: 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;