From 412fe1f63ef14e18737a27d80224c2918d3981c0 Mon Sep 17 00:00:00 2001 From: Tomas Maly Date: Sat, 1 Feb 2025 00:54:57 +0100 Subject: [PATCH] fix --- sources/libengine/keybinds.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/libengine/keybinds.cpp b/sources/libengine/keybinds.cpp index 629c52d8..4dcf742d 100644 --- a/sources/libengine/keybinds.cpp +++ b/sources/libengine/keybinds.cpp @@ -644,8 +644,6 @@ namespace cage [](const auto &a) -> String { using T = std::decay_t; - //if constexpr (std::is_same_v) - // return ""; if constexpr (std::is_same_v) return Stringizer() + "key " + a.key + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags; if constexpr (std::is_same_v) @@ -654,6 +652,7 @@ namespace cage return Stringizer() + "mouse " + (uint32)a.button + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags; if constexpr (std::is_same_v) return Stringizer() + "wheel " + a.direction + " " + (uint32)a.requiredFlags + " " + (uint32)~a.forbiddenFlags; + return ""; }, mt); }