mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-26 16:57:51 -05:00
30 lines
695 B
C++
30 lines
695 B
C++
/*-----------------------------------------*\
|
|
| ArcticController.h |
|
|
| |
|
|
| Controller Interface for Arctic devices |
|
|
| |
|
|
| Armin Wolf (Wer-Wolf) 01/09/2023 |
|
|
\*-----------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include <algorithm>
|
|
#include "RGBController.h"
|
|
#include "serial_port.h"
|
|
|
|
class ArcticController
|
|
{
|
|
public:
|
|
ArcticController(const std::string &portname);
|
|
~ArcticController();
|
|
|
|
void SetChannels(std::vector<RGBColor> colors);
|
|
bool IsPresent();
|
|
|
|
std::string GetLocation();
|
|
|
|
private:
|
|
std::string port_name;
|
|
serial_port serialport;
|
|
};
|