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,66 +1,66 @@
/*---------------------------------------------------------*\
| XPGSummonerController.h |
| |
| Driver for XPG Summoner keyboard |
| |
| Erick Granados (eriosgamer) |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include "hidapi.h"
#include "RGBController.h"
/*-----------------------------------------------------*\
| XPG vendor ID |
\*-----------------------------------------------------*/
#define XPG_VID 0x125F
/*-----------------------------------------------------*\
| Keyboard product ID |
\*-----------------------------------------------------*/
#define XPG_SUMMONER_PID 0x9418
enum
{
XPG_SUMMONER_MODE_DIRECT = 0x01
};
class XPGSummonerController
{
public:
XPGSummonerController(hid_device *dev_handle, const char *path, const unsigned short pid, std::string dev_name);
~XPGSummonerController();
std::string GetLocationString();
std::string GetNameString();
std::string GetSerialString();
unsigned short GetUSBPID();
void SendColors
(
unsigned char *color_data,
unsigned int color_data_size
);
unsigned int SendColorDataPacket
(
unsigned char packet_id,
unsigned char *color_data,
unsigned int color_size
);
void SendTerminateColorPacket();
void SendInitialize();
private:
hid_device *dev;
std::string location;
std::string name;
unsigned short usb_pid;
};
/*---------------------------------------------------------*\
| XPGSummonerController.h |
| |
| Driver for XPG Summoner keyboard |
| |
| Erick Granados (eriosgamer) |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include "hidapi.h"
#include "RGBController.h"
/*-----------------------------------------------------*\
| XPG vendor ID |
\*-----------------------------------------------------*/
#define XPG_VID 0x125F
/*-----------------------------------------------------*\
| Keyboard product ID |
\*-----------------------------------------------------*/
#define XPG_SUMMONER_PID 0x9418
enum
{
XPG_SUMMONER_MODE_DIRECT = 0x01
};
class XPGSummonerController
{
public:
XPGSummonerController(hid_device *dev_handle, const char *path, const unsigned short pid, std::string dev_name);
~XPGSummonerController();
std::string GetLocationString();
std::string GetNameString();
std::string GetSerialString();
unsigned short GetUSBPID();
void SendColors
(
unsigned char *color_data,
unsigned int color_data_size
);
unsigned int SendColorDataPacket
(
unsigned char packet_id,
unsigned char *color_data,
unsigned int color_size
);
void SendTerminateColorPacket();
void SendInitialize();
private:
hid_device *dev;
std::string location;
std::string name;
unsigned short usb_pid;
};