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,35 @@
/*---------------------------------------------------------*\
| PatriotViperMouseController.h |
| |
| Detector for Patriot Viper Mouse |
| |
| mi4code 23 May 2025 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#pragma once
#include <hidapi.h>
#include "StringUtils.h"
#include <cstring>
#include "RGBController.h"
class PatriotViperMouseController
{
public:
PatriotViperMouseController(hid_device* dev_handle, const char* path, std::string dev_name);
~PatriotViperMouseController();
std::string GetLocation();
std::string GetName();
std::string GetSerial();
void SetRGB(std::vector<RGBColor> colors);
private:
hid_device* dev;
std::string location;
std::string name;
};