Publish curated LumaOps source from c85ee9ef8f1454f5c305398902afbb9e6738de40
Managed validation / full (push) Failing after 8s

This commit is contained in:
Public Source Publisher committed 2026-09-30 00:26:45 +00:00
1 parent 91f8b3e3c1
commit def7920856
2271 files changed
+501225 -501178

No files matched your search

@@ -1,39 +1,39 @@
/*---------------------------------------------------------*\
| MadCatzCyborgController.h |
| |
| Driver for MadCatz Cyborg Gaming Light |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi.h>
class MadCatzCyborgController
{
public:
MadCatzCyborgController(hid_device* dev_handle, const char* path);
~MadCatzCyborgController();
std::string GetDeviceLocation();
std::string GetSerialString();
void Initialize();
void SetLEDColor(unsigned char red, unsigned char green, unsigned char blue);
void SetIntensity(unsigned char intensity);
private:
hid_device* dev;
std::string location;
// Protocol constants
enum Commands
{
CMD_ENABLE = 0xA1,
CMD_COLOR = 0xA2,
CMD_INTENSITY = 0xA6
};
};
/*---------------------------------------------------------*\
| MadCatzCyborgController.h |
| |
| Driver for MadCatz Cyborg Gaming Light |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi.h>
class MadCatzCyborgController
{
public:
MadCatzCyborgController(hid_device* dev_handle, const char* path);
~MadCatzCyborgController();
std::string GetDeviceLocation();
std::string GetSerialString();
void Initialize();
void SetLEDColor(unsigned char red, unsigned char green, unsigned char blue);
void SetIntensity(unsigned char intensity);
private:
hid_device* dev;
std::string location;
// Protocol constants
enum Commands
{
CMD_ENABLE = 0xA1,
CMD_COLOR = 0xA2,
CMD_INTENSITY = 0xA6
};
};