From 030c0c60f3a9c2fddba4b0129f4177bcd995deef Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 23 Jul 2020 11:17:23 -0500 Subject: [PATCH] Add (ANSI) and (ISO) specifiers to keys that differ between layouts --- RGBController/RGBController_CorsairPeripheral.cpp | 2 +- RGBController/RGBController_HyperXAlloyOrigins.cpp | 2 +- RGBController/RGBController_HyperXKeyboard.cpp | 6 +++--- RGBController/RGBController_LogitechG810.cpp | 4 ++-- RGBController/RGBController_PoseidonZRGB.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/RGBController/RGBController_CorsairPeripheral.cpp b/RGBController/RGBController_CorsairPeripheral.cpp index 1dd34713..6307759c 100644 --- a/RGBController/RGBController_CorsairPeripheral.cpp +++ b/RGBController/RGBController_CorsairPeripheral.cpp @@ -117,7 +117,7 @@ static const char* led_names[] = "Key: K", //99 "Key: M", //100 "Key: Right Windows", //101 - "Key: \\", //102 + "Key: \\ (ANSI)", //102 "Key: Up Arrow", //103 "Key: Number Pad *", //104 "Key: Number Pad 2", //105 diff --git a/RGBController/RGBController_HyperXAlloyOrigins.cpp b/RGBController/RGBController_HyperXAlloyOrigins.cpp index baf03b2c..ca393c27 100644 --- a/RGBController/RGBController_HyperXAlloyOrigins.cpp +++ b/RGBController/RGBController_HyperXAlloyOrigins.cpp @@ -143,7 +143,7 @@ static const char *led_names[] = "Key: Context", "Key: F12", "Key: Backspace", - "Key: \\", + "Key: \\ (ANSI)", "Key: Enter", "Key: Right Shift", "Key: Right Control", diff --git a/RGBController/RGBController_HyperXKeyboard.cpp b/RGBController/RGBController_HyperXKeyboard.cpp index 2a16402a..93162700 100644 --- a/RGBController/RGBController_HyperXKeyboard.cpp +++ b/RGBController/RGBController_HyperXKeyboard.cpp @@ -83,13 +83,13 @@ static const char *led_names[] = "Key: L", "Key: ,", "Key: Context", - "Key: UK Enter", + "Key: Enter (ISO)", "Key: Left Arrow", "Key: F1", "Key: 1", "Key: Q", "Key: A", - "Key: UK Backslash", + "Key: \\ (ISO)", "Key: Left Windows", "Key: Print Screen", "Key: F10", @@ -170,7 +170,7 @@ static const char *led_names[] = "Key: K", "Key: M", "Key: Right Windows", - "Key: \\", + "Key: \\ (ANSI)", "Key: Up Arrow", "Key: Number Pad 5", "Key: Number Pad Enter", diff --git a/RGBController/RGBController_LogitechG810.cpp b/RGBController/RGBController_LogitechG810.cpp index d838f236..4b081c7e 100644 --- a/RGBController/RGBController_LogitechG810.cpp +++ b/RGBController/RGBController_LogitechG810.cpp @@ -91,7 +91,7 @@ static const led_type led_names[] = { "Key: =", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x2E }, { "Key: [", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x2F }, { "Key: ]", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x30 }, - { "Key: \\", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x31 },//ANSI only + { "Key: \\ (ANSI)", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x31 },//ANSI only { "Key: #", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x32 },//ISO only { "Key: ;", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x33 }, { "Key: '", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x34 }, @@ -142,7 +142,7 @@ static const led_type led_names[] = { "Key: Number Pad 9", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x61 }, { "Key: Number Pad 0", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x62 }, { "Key: Number Pad .", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x63 }, - { "Key: \\", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x64 },//ISO only + { "Key: \\ (ISO)", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x64 },//ISO only { "Key: Context", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0x65 }, { "Key: Left Control", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0xE0 }, { "Key: Left Shift", LOGITECH_G810_ZONE_DIRECT_KEYBOARD, 0xE1 }, diff --git a/RGBController/RGBController_PoseidonZRGB.cpp b/RGBController/RGBController_PoseidonZRGB.cpp index 7ac871bd..d5cc5502 100644 --- a/RGBController/RGBController_PoseidonZRGB.cpp +++ b/RGBController/RGBController_PoseidonZRGB.cpp @@ -132,7 +132,7 @@ static const char* led_names[] = "Key: Context", "Key: Number Pad -", "Key: Print Screen", - "Key: \\", + "Key: \\ (ANSI)", "Key: Enter", "Key: Right Control", "Key: Number Pad Enter",