]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/control.h
Rename ControlSrcType::NONE to NO_SOURCE
[libs/gui.git] / source / input / control.h
index dcf7bf341047e71249440ba6114738cce367af96..b71c81871e94ca67b95433d91b679a2e9234751a 100644 (file)
@@ -13,7 +13,7 @@ class Device;
 
 enum ControlSrcType
 {
-       NONE,
+       NO_SOURCE,
        BUTTON,
        AXIS_POS,
        AXIS_NEG
@@ -26,7 +26,7 @@ different types of controls in a uniform way.
 struct ControlSource
 {
        Device *dev = 0;
-       ControlSrcType type = NONE;
+       ControlSrcType type = NO_SOURCE;
        unsigned index = 0;
 
        ControlSource() = default;