From 47db60fad8d390336fd4d83c23165945ed71b269 Mon Sep 17 00:00:00 2001 From: pixl Date: Thu, 18 Jun 2020 14:45:16 -0400 Subject: [PATCH] Fix swapped DefaultDevice and CordedDevice indexes --- src/logid/backend/hidpp/defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logid/backend/hidpp/defs.h b/src/logid/backend/hidpp/defs.h index c026ba3..295af39 100644 --- a/src/logid/backend/hidpp/defs.h +++ b/src/logid/backend/hidpp/defs.h @@ -16,14 +16,14 @@ namespace logid::backend::hidpp enum DeviceIndex: uint8_t { - DefaultDevice = 0, + DefaultDevice = 0xff, + CordedDevice = 0, WirelessDevice1 = 1, WirelessDevice2 = 2, WirelessDevice3 = 3, WirelessDevice4 = 4, WirelessDevice5 = 5, WirelessDevice6 = 6, - CordedDevice = 0xff }; static constexpr std::size_t ShortParamLength = 3;