mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-24 08:51:07 -04:00
Update Debug controller files to new standardized header comment
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| DebugControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for debug devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
#include "Detector.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_Debug.h"
|
||||
@@ -5,16 +22,6 @@
|
||||
#include "RGBControllerKeyNames.h"
|
||||
#include "KeyboardLayoutManager.h"
|
||||
#include "SettingsManager.h"
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
|
||||
//0xFFFFFFFF indicates an unused entry in matrix
|
||||
#define NA 0xFFFFFFFF
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
#include "RGBController_Debug.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Debug.cpp |
|
||||
| |
|
||||
| RGBController for debug devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include "RGBController_Debug.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name Debug
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
#ifndef RGBCONTROLLER_DEBUG_H
|
||||
#define RGBCONTROLLER_DEBUG_H
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_Debug.h |
|
||||
| |
|
||||
| RGBController for debug devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController_Dummy.h"
|
||||
|
||||
// A variation of Dummy controller that allows the zones to be resized
|
||||
|
||||
class RGBController_Debug : public RGBController_Dummy
|
||||
{
|
||||
public:
|
||||
RGBController_Debug();
|
||||
void ResizeZone(int zone, int newSize) override;
|
||||
};
|
||||
|
||||
#endif // RGBCONTROLLER_DEBUG_H
|
||||
|
||||
Reference in New Issue
Block a user