Publish LumaOps source
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| GenesisXenon200Controller.h |
|
||||
| |
|
||||
| Driver for Genesis Xenon 200 mouse |
|
||||
| |
|
||||
| chrabonszcz Jul 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
class GenesisXenon200Controller
|
||||
{
|
||||
public:
|
||||
GenesisXenon200Controller(hid_device* dev_handle, hid_device* cmd_dev_handle, const char* path, std::string dev_name);
|
||||
~GenesisXenon200Controller();
|
||||
|
||||
std::string GetLocationString();
|
||||
std::string GetNameString();
|
||||
|
||||
void SaveMode(unsigned char mode, unsigned char value, RGBColor color);
|
||||
|
||||
private:
|
||||
hid_device* dev;
|
||||
hid_device* cmd_dev;
|
||||
std::string location;
|
||||
std::string name;
|
||||
};
|
||||
Reference in New Issue
Block a user