Properly fix how how hidapi and libusb dependencies are handled

This commit is contained in:
James Buren 2024-08-05 01:14:17 +00:00 committed by Adam Honse
parent 6140849e28
commit 66109be668
281 changed files with 304 additions and 352 deletions

View file

@ -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]))

View file

@ -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

View file

@ -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"

View file

@ -13,7 +13,7 @@
#include <array>
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h"
#define CM_MM711_PACKET_SIZE 65

View file

@ -14,7 +14,7 @@
#include <array>
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h"
#define CM_MM_PACKET_SIZE 65

View file

@ -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

View file

@ -12,7 +12,7 @@
#pragma once
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h"
#define CM_MONITOR_PACKET_LENGTH 65

View file

@ -13,7 +13,7 @@
#include <array>
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h"
#define COOLERMASTER_RADEON_6000_PID 0x014D

View file

@ -12,7 +12,7 @@
#pragma once
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h"
#define CM_RGBC_NUM_LEDS 4

View file

@ -13,7 +13,7 @@
#include <array>
#include <string>
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "RGBController.h" //Needed to set the direct mode
/*---------------------------------------------------------*\

View file

@ -10,7 +10,7 @@
/*-----------------------------------------------------*\
| OpenRGB includes |
\*-----------------------------------------------------*/
#include <hidapi/hidapi.h>
#include <hidapi.h>
#include "Detector.h"
#include "LogManager.h"
#include "RGBController.h"