mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-19 20:17:50 -04:00
Properly fix how how hidapi and libusb dependencies are handled
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <cstring>
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h" //Needed to set the direct mode
|
||||
|
||||
#define CM_ARGB_COLOUR_MODE_DATA_SIZE (sizeof(colour_mode_data[0]) / sizeof(colour_mode_data[0][0]))
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define CM_ARGB_GEN2_A1_PACKET_LENGTH 65
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <sstream>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "CMKeyboardDevices.h"
|
||||
#include "KeyboardLayoutManager.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define CM_MM711_PACKET_SIZE 65
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define CM_MM_PACKET_SIZE 65
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
|
||||
#define CM_COLOUR_MODE_DATA_SIZE (sizeof(colour_mode_data[0]) / sizeof(colour_mode_data[0][0]))
|
||||
#define CM_INTERRUPT_TIMEOUT 250
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define CM_MONITOR_PACKET_LENGTH 65
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define COOLERMASTER_RADEON_6000_PID 0x014D
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define CM_RGBC_NUM_LEDS 4
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h" //Needed to set the direct mode
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/*-----------------------------------------------------*\
|
||||
| OpenRGB includes |
|
||||
\*-----------------------------------------------------*/
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "LogManager.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
Reference in New Issue
Block a user