From cae28f3ac6310d9b4d9464d0fbf5701ba7d0a456 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 24 Nov 2020 18:27:18 -0600 Subject: [PATCH] Use different interface on Windows vs. Linux for HyperX Alloy Origins --- .../HyperXKeyboardControllerDetect.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Controllers/HyperXKeyboardController/HyperXKeyboardControllerDetect.cpp b/Controllers/HyperXKeyboardController/HyperXKeyboardControllerDetect.cpp index 87ae14f3..e6facf93 100644 --- a/Controllers/HyperXKeyboardController/HyperXKeyboardControllerDetect.cpp +++ b/Controllers/HyperXKeyboardController/HyperXKeyboardControllerDetect.cpp @@ -33,8 +33,13 @@ static const hyperx_device device_list[] = \*-----------------------------------------------------------------------------------------------------*/ { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_ELITE_PID, 2, "HyperX Alloy Elite RGB" }, { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_FPS_RGB_PID, 2, "HyperX Alloy FPS RGB" }, +#ifdef _WIN32 + { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_ORIGINS_PID, 3, "HyperX Alloy Origins" }, + { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_ORIGINS_CORE_PID, 3, "HyperX Alloy Origins Core" }, +#else { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_ORIGINS_PID, 0, "HyperX Alloy Origins" }, { HYPERX_KEYBOARD_VID, HYPERX_ALLOY_ORIGINS_CORE_PID, 0, "HyperX Alloy Origins Core" }, +#endif }; /******************************************************************************************\