Publish LumaOps source

This commit is contained in:
LumaOps release export
2026-09-03 01:18:36 +02:00
commit 7f1c0e5f71
2363 changed files with 501543 additions and 0 deletions
@@ -0,0 +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
};
};