|
@@ -55,6 +55,8 @@ public:
|
|
};
|
|
};
|
|
|
|
|
|
static constexpr float DEFAULT_DEADZONE = 0.2f;
|
|
static constexpr float DEFAULT_DEADZONE = 0.2f;
|
|
|
|
+ // Keep bigger deadzone for toggle actions (default `ui_*` actions, axis `pressed`) (GH-103360).
|
|
|
|
+ static constexpr float DEFAULT_TOGGLE_DEADZONE = 0.5f;
|
|
|
|
|
|
private:
|
|
private:
|
|
static InputMap *singleton;
|
|
static InputMap *singleton;
|