mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
/*---------------------------------------------------------*\
|
|
| RGBController_CreativeSoundBlasterAE5.h |
|
|
| |
|
|
| RGBController for Creative SoundBlaster AE-5 |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-only |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "RGBController.h"
|
|
#include "CreativeSoundBlasterAE5ControllerBase.h"
|
|
|
|
class RGBController_CreativeSoundBlasterAE5: public RGBController
|
|
{
|
|
public:
|
|
RGBController_CreativeSoundBlasterAE5(CreativeSoundBlasterAE5ControllerBase* controller_ptr);
|
|
~RGBController_CreativeSoundBlasterAE5();
|
|
|
|
void SetupZones();
|
|
|
|
void ResizeZone(int zone, int new_size);
|
|
|
|
void DeviceUpdateLEDs();
|
|
void UpdateZoneLEDs(int zone);
|
|
void UpdateSingleLED(int led);
|
|
|
|
void DeviceUpdateMode();
|
|
|
|
private:
|
|
CreativeSoundBlasterAE5ControllerBase* controller;
|
|
void UpdateLEDRange(unsigned int start_led, unsigned int led_count);
|
|
}; |