Update Lenovo M300 controller files to new standardized header comment
This commit is contained in:
parent
a460e01718
commit
47a81009c8
5 changed files with 55 additions and 41 deletions
|
|
@ -1,14 +1,16 @@
|
|||
/*-----------------------------------*\
|
||||
| LenovoM300Controller.cpp |
|
||||
| |
|
||||
| Controller For Lenovo Legion M300 |
|
||||
| Mouse |
|
||||
| |
|
||||
| Wayne Riordan 9 Jan 2024 |
|
||||
\*-----------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoM300Controller.cpp |
|
||||
| |
|
||||
| Driver for Lenovo Legion M300 mouse |
|
||||
| |
|
||||
| Wayne Riordan 09 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "LenovoM300Controller.h"
|
||||
#include <cstring>
|
||||
#include "LenovoM300Controller.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/*-----------------------------------*\
|
||||
| LenovoM300Controller.h |
|
||||
| |
|
||||
| Header file for Lenovo M300 Mouse |
|
||||
| controller |
|
||||
| |
|
||||
| Wayne Riordan 9 Jan 2024 |
|
||||
\*-----------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoM300Controller.h |
|
||||
| |
|
||||
| Driver for Lenovo Legion M300 mouse |
|
||||
| |
|
||||
| Wayne Riordan 09 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define M300_DATA_SIZE 0x41
|
||||
#define M300_MAX_BRIGTH 0x64
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
/*-----------------------------------*\
|
||||
| LenovoMouseDetect.h |
|
||||
| |
|
||||
| Detect Lenovo Mouse |
|
||||
| |
|
||||
| Wayne Riordan 9 Jan 2024 |
|
||||
\*-----------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LenovoM300ControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Lenovo Legion M300 mouse |
|
||||
| |
|
||||
| Wayne Riordan 09 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "Detector.h"
|
||||
#include "RGBController_LenovoM300.h"
|
||||
|
|
@ -1,11 +1,14 @@
|
|||
/*-----------------------------------*\
|
||||
| RGBController_LenovoM300.cpp |
|
||||
| |
|
||||
| RGB Controller For Lenovo M300 |
|
||||
| Mouse |
|
||||
| |
|
||||
| Wayne Riordan 9 Jan 2024 |
|
||||
\*-----------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_LenovoM300.cpp |
|
||||
| |
|
||||
| RGBController for Lenovo Legion M300 mouse |
|
||||
| |
|
||||
| Wayne Riordan 09 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_LenovoM300.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
|
|
@ -22,6 +25,7 @@
|
|||
RGBController_LenovoM300::RGBController_LenovoM300(LenovoM300Controller* controller_ptr)
|
||||
{
|
||||
controller = controller_ptr;
|
||||
|
||||
name = "Lenovo Legion M300";
|
||||
vendor = "Lenovo";
|
||||
type = DEVICE_TYPE_MOUSE;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
/*-----------------------------------*\
|
||||
| RGBController_LenovoM300.h |
|
||||
| |
|
||||
| Header file for Lenovo M300 Mouse |
|
||||
| RGB Controller |
|
||||
| |
|
||||
| Wayne Riordan 9 Jan 2024 |
|
||||
\*-----------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_LenovoM300.h |
|
||||
| |
|
||||
| RGBController for Lenovo Legion M300 mouse |
|
||||
| |
|
||||
| Wayne Riordan 09 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue