From a913bb54968fb0a442a910040935262508e7677c Mon Sep 17 00:00:00 2001 From: lightmanLP Date: Thu, 19 Dec 2024 06:11:27 +0700 Subject: [PATCH] change MAPPING_TYPE_UNKNOWN to -1 --- .../controldevice/controller/mapping/ControllerMapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/controldevice/controller/mapping/ControllerMapping.h b/src/controller/controldevice/controller/mapping/ControllerMapping.h index c827e372a..646693765 100644 --- a/src/controller/controldevice/controller/mapping/ControllerMapping.h +++ b/src/controller/controldevice/controller/mapping/ControllerMapping.h @@ -5,10 +5,10 @@ namespace Ship { +#define MAPPING_TYPE_UNKNOWN -1 #define MAPPING_TYPE_GAMEPAD 0 #define MAPPING_TYPE_KEYBOARD 1 #define MAPPING_TYPE_MOUSE 2 -#define MAPPING_TYPE_UNKNOWN 3 class ControllerMapping { public: