Fix swapped DefaultDevice and CordedDevice indexes

This commit is contained in:
pixl 2020-06-18 14:45:16 -04:00
parent ecc5062e0f
commit 47db60fad8
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E

View File

@ -16,14 +16,14 @@ namespace logid::backend::hidpp
enum DeviceIndex: uint8_t enum DeviceIndex: uint8_t
{ {
DefaultDevice = 0, DefaultDevice = 0xff,
CordedDevice = 0,
WirelessDevice1 = 1, WirelessDevice1 = 1,
WirelessDevice2 = 2, WirelessDevice2 = 2,
WirelessDevice3 = 3, WirelessDevice3 = 3,
WirelessDevice4 = 4, WirelessDevice4 = 4,
WirelessDevice5 = 5, WirelessDevice5 = 5,
WirelessDevice6 = 6, WirelessDevice6 = 6,
CordedDevice = 0xff
}; };
static constexpr std::size_t ShortParamLength = 3; static constexpr std::size_t ShortParamLength = 3;