mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-07 05:41:13 -05:00
Removed unused includes
This commit is contained in:
committed by
Adam Honse
parent
b3b9ebb3b7
commit
300abac9a8
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_ValkyrieKeyboard.h"
|
||||
|
||||
void DetectValkyrieKeyboardControllers(hid_device_info* info, const std::string& name)
|
||||
@@ -21,10 +20,10 @@ void DetectValkyrieKeyboardControllers(hid_device_info* info, const std::string&
|
||||
|
||||
if(dev)
|
||||
{
|
||||
ValkyrieKeyboardController* controller = new ValkyrieKeyboardController(dev, info->path, info->product_id, info->interface_number);
|
||||
RGBController_ValkyrieKeyboard* rgb_controller = new RGBController_ValkyrieKeyboard(controller);
|
||||
rgb_controller->name = name;
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
ValkyrieKeyboardController* controller = new ValkyrieKeyboardController(dev, info->path, info->product_id, info->interface_number);
|
||||
RGBController_ValkyrieKeyboard* rgb_controller = new RGBController_ValkyrieKeyboard(controller);
|
||||
rgb_controller->name = name;
|
||||
ResourceManager::get()->RegisterRGBController(rgb_controller);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user