From 1a98321adac94452077d72c3169e549662d13f4b Mon Sep 17 00:00:00 2001 From: pnrao Date: Thu, 21 Sep 2017 23:28:57 +0530 Subject: [PATCH 1/2] Fixes a bug that is seen after deactivating ModeSwitch --- src/libhidpp/hidpp20/ProfileFormat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libhidpp/hidpp20/ProfileFormat.cpp b/src/libhidpp/hidpp20/ProfileFormat.cpp index 7370354..9aaaca3 100644 --- a/src/libhidpp/hidpp20/ProfileFormat.cpp +++ b/src/libhidpp/hidpp20/ProfileFormat.cpp @@ -388,6 +388,7 @@ const std::map ProfileFormat::ModeSettings = { }; const EnumDesc ProfileFormat::SpecialActions = { + { "DeactivatedSpecial", 0 }, { "WheelLeft", 1 }, { "WheelRight", 2 }, { "ResolutionNext", 3 }, From 00506760fb59de5751aecbc38cc3f03310d6bb99 Mon Sep 17 00:00:00 2001 From: pnrao Date: Fri, 22 Sep 2017 02:21:23 +0530 Subject: [PATCH 2/2] Changed DeactivatedSpecial to Deactivated in SpecialActions enum --- src/libhidpp/hidpp20/ProfileFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libhidpp/hidpp20/ProfileFormat.cpp b/src/libhidpp/hidpp20/ProfileFormat.cpp index 9aaaca3..604e188 100644 --- a/src/libhidpp/hidpp20/ProfileFormat.cpp +++ b/src/libhidpp/hidpp20/ProfileFormat.cpp @@ -388,7 +388,7 @@ const std::map ProfileFormat::ModeSettings = { }; const EnumDesc ProfileFormat::SpecialActions = { - { "DeactivatedSpecial", 0 }, + { "Deactivated", 0 }, { "WheelLeft", 1 }, { "WheelRight", 2 }, { "ResolutionNext", 3 },