Add an RGBController interface for AMD Wraith Prism
This commit is contained in:
parent
7de0b2549b
commit
45c7bc8008
7 changed files with 97 additions and 3 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#include <string>
|
||||
#include <libusb-1.0/libusb.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
class AMDWraithPrismController
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "AMDWraithPrismController.h"
|
||||
#include "RGBController.h"
|
||||
//#include "RGBController_AMDWraithPrism.h"
|
||||
#include "RGBController_AMDWraithPrism.h"
|
||||
#include <vector>
|
||||
#include <libusb-1.0/libusb.h>
|
||||
|
||||
|
|
@ -29,5 +29,9 @@ void DetectAMDWraithPrismControllers(std::vector<RGBController*>& rgb_controller
|
|||
libusb_claim_interface(dev, 1);
|
||||
|
||||
AMDWraithPrismController* controller = new AMDWraithPrismController(dev);
|
||||
|
||||
RGBController_AMDWraithPrism* rgb_controller = new RGBController_AMDWraithPrism(controller);
|
||||
|
||||
rgb_controllers.push_back(rgb_controller);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue