mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 22:45:55 -04:00
Add new Controller Nollie16
This commit is contained in:
@@ -11,14 +11,11 @@
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
NollieController::NollieController(hid_device* dev_handle, const char* path, unsigned short /*pid*/)
|
||||
NollieController::NollieController(hid_device* dev_handle, const char* path, unsigned short pid)
|
||||
{
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
/*-----------------------------------------------------*\
|
||||
| PID may be used in the future, here is to pass |
|
||||
| arguments not to do storage |
|
||||
\*-----------------------------------------------------*/
|
||||
dev = dev_handle;
|
||||
location = path;
|
||||
usb_pid = pid;
|
||||
}
|
||||
|
||||
std::string NollieController::GetLocationString()
|
||||
@@ -42,6 +39,11 @@ std::string NollieController::GetSerialString()
|
||||
return(return_string);
|
||||
}
|
||||
|
||||
unsigned short NollieController::GetUSBPID()
|
||||
{
|
||||
return(usb_pid);
|
||||
}
|
||||
|
||||
void NollieController::SetMos(bool mos)
|
||||
{
|
||||
unsigned char usb_buf[65];
|
||||
|
||||
Reference in New Issue
Block a user