Update LG monitor controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-25 12:57:52 -05:00
parent cb41353622
commit de17f6b7cb
5 changed files with 58 additions and 38 deletions

View file

@ -1,13 +1,16 @@
/*-----------------------------------------*\
| LGMonitorController.cpp |
| |
| Driver for LG monitor lighting |
| controller |
| |
| Guimard Morgan (morg) 10/11/2023 |
\*-----------------------------------------*/
#include "LGMonitorController.h"
/*---------------------------------------------------------*\
| LGMonitorController.cpp |
| |
| Driver for LG monitor |
| |
| Morgan Guimard (morg) 11 Oct 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string.h>
#include "LGMonitorController.h"
LGMonitorController::LGMonitorController(hid_device* dev_handle, const hid_device_info& info)
{
@ -127,7 +130,7 @@ void LGMonitorController::SetMode(uint8_t mode_value, uint8_t brightness, const
/*---------------------------------------------------------*\
| Send color in slot 1 |
\*---------------------------------------------------------*/
SetSlotColor(LG_MONITOR_STATIC_SLOT_1_MODE_VALUE, colors[0]);
SetSlotColor(LG_MONITOR_STATIC_SLOT_1_MODE_VALUE, colors[0]);
break;

View file

@ -1,11 +1,14 @@
/*-----------------------------------------*\
| LGMonitorController.h |
| |
| Driver for LG monitor lighting |
| controller - header file |
| |
| Guimard Morgan (morg) 10/11/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| LGMonitorController.h |
| |
| Driver for LG monitor |
| |
| Morgan Guimard (morg) 11 Oct 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>

View file

@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| LGMonitorControllerDetect.cpp |
| |
| Detector for LG monitor |
| |
| Morgan Guimard (morg) 11 Oct 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "Detector.h"
#include "LGMonitorController.h"
#include "RGBController.h"

View file

@ -1,16 +1,17 @@
/*-----------------------------------------*\
| RGBController_LGMonitor.cpp |
| |
| Generic RGB Interface for OpenRGB |
| LG monitor RGB USB Driver |
| |
| Guimard Morgan (morg) 10/11/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_LGMonitor.cpp |
| |
| RGBController for LG monitor |
| |
| Morgan Guimard (morg) 11 Oct 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_LGMonitor.h"
#include <thread>
#include <chrono>
#include <thread>
#include "RGBController_LGMonitor.h"
using namespace std::chrono_literals;

View file

@ -1,17 +1,19 @@
/*-----------------------------------------*\
| RGBController_LGMonitor.h |
| |
| Generic RGB Interface for OpenRGB |
| LG monitor RGB USB Driver |
| |
| Guimard Morgan (morg) 10/11/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_LGMonitor.h |
| |
| RGBController for LG monitor |
| |
| Morgan Guimard (morg) 11 Oct 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <chrono>
#include "RGBController.h"
#include "LGMonitorController.h"
#include <chrono>
class RGBController_LGMonitor : public RGBController
{