/*---------------------------------------------------------*\
| RGBController_WushiL50USB.h                               |
|                                                           |
|   RGBController for Wushi L50                             |
|                                                           |
|   This file is part of the OpenRGB project                |
|   SPDX-License-Identifier: GPL-2.0-or-later               |
\*---------------------------------------------------------*/

#pragma once

#include <vector>
#include "WushiL50USBController.h"
#include "RGBController.h"

class RGBController_WushiL50USB : public RGBController
{
public:
    RGBController_WushiL50USB(WushiL50USBController* controller_ptr);
    ~RGBController_WushiL50USB();

    void        SetupZones();
    void        ResizeZone(int zone, int new_size);

    void        DeviceUpdateLEDs();
    void        UpdateZoneLEDs(int zone);
    void        UpdateSingleLED(int led);

    void        DeviceUpdateMode();
    void        DeviceSaveMode();

private:
    WushiL50USBController * controller;
    WushiL50State           state;
};
