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,35 +1,35 @@
/*---------------------------------------------------------*\
| SonyDS4Controller.h |
| |
| Driver for Sony Dualshock 4 |
| |
| Pol Rius (alpemwarrior) 24 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi.h>
class SonyDS4Controller
{
public:
SonyDS4Controller(hid_device * device_handle, const char * device_path);
~SonyDS4Controller();
std::string GetLocation();
std::string GetSerialString();
void SetColors(unsigned char red, unsigned char green, unsigned char blue);
private:
hid_device* dev;
bool is_bluetooth = false;
std::string location;
void sendReportUSB(unsigned char red, unsigned char green, unsigned char blue);
void sendReportBT(unsigned char red, unsigned char green, unsigned char blue);
};
/*---------------------------------------------------------*\
| SonyDS4Controller.h |
| |
| Driver for Sony Dualshock 4 |
| |
| Pol Rius (alpemwarrior) 24 Sep 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi.h>
class SonyDS4Controller
{
public:
SonyDS4Controller(hid_device * device_handle, const char * device_path);
~SonyDS4Controller();
std::string GetLocation();
std::string GetSerialString();
void SetColors(unsigned char red, unsigned char green, unsigned char blue);
private:
hid_device* dev;
bool is_bluetooth = false;
std::string location;
void sendReportUSB(unsigned char red, unsigned char green, unsigned char blue);
void sendReportBT(unsigned char red, unsigned char green, unsigned char blue);
};