X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fcontrol.h;fp=source%2Finput%2Fcontrol.h;h=b71c81871e94ca67b95433d91b679a2e9234751a;hb=f123908c33d846e484efaddc06b646cd73745cc6;hp=dcf7bf341047e71249440ba6114738cce367af96;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/input/control.h b/source/input/control.h index dcf7bf3..b71c818 100644 --- a/source/input/control.h +++ b/source/input/control.h @@ -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;