Update Lego Dimensions Toypad Base controller files to new standardized header comment
This commit is contained in:
parent
8b0b5bc526
commit
5f79126313
5 changed files with 58 additions and 38 deletions
|
|
@ -1,13 +1,16 @@
|
|||
/*-----------------------------------------*\
|
||||
| LegoDimensionsToypadBaseController.h |
|
||||
| |
|
||||
| Driver for Lego Dimensions ToypadBase |
|
||||
| controller |
|
||||
| |
|
||||
| Guimard Morgan (morg) 06/02/2023 |
|
||||
\*-----------------------------------------*/
|
||||
#include "LegoDimensionsToypadBaseController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| LegoDimensionsToypadBaseController.cpp |
|
||||
| |
|
||||
| Driver for Lego Dimensions Toypad Base |
|
||||
| |
|
||||
| Morgan Guimard (morg) 02 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <string.h>
|
||||
#include "LegoDimensionsToypadBaseController.h"
|
||||
|
||||
LegoDimensionsToypadBaseController::LegoDimensionsToypadBaseController(hid_device* dev_handle, const hid_device_info& info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/*-----------------------------------------*\
|
||||
| LegoDimensionsToypadBaseController.h |
|
||||
| |
|
||||
| Driver for Lego Dimensions ToypadBase |
|
||||
| controller - header file |
|
||||
| |
|
||||
| Guimard Morgan (morg) 06/02/2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| LegoDimensionsToypadBaseController.h |
|
||||
| |
|
||||
| Driver for Lego Dimensions Toypad Base |
|
||||
| |
|
||||
| Morgan Guimard (morg) 02 Jun 2023 |
|
||||
| |
|
||||
| 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 LEGO_DIMENSIONS_TOYPAD_BASE_REPORT_ID 0x55
|
||||
#define LEGO_DIMENSIONS_TOYPAD_BASE_PACKET_LENGTH 32
|
||||
|
|
|
|||
|
|
@ -1,3 +1,14 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| LegoDimensionsToypadBaseControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Lego Dimensions Toypad Base |
|
||||
| |
|
||||
| Morgan Guimard (morg) 02 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "Detector.h"
|
||||
#include "LegoDimensionsToypadBaseController.h"
|
||||
#include "RGBController.h"
|
||||
|
|
|
|||
|
|
@ -1,16 +1,17 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_LegoDimensionsToypadBase.h |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Lego Dimensions Toypad Base USB Driver |
|
||||
| |
|
||||
| Guimard Morgan (morg) 06/02/2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_LegoDimensionsToypadBase.cpp |
|
||||
| |
|
||||
| RGBController for Lego Dimensions Toypad Base |
|
||||
| |
|
||||
| Morgan Guimard (morg) 02 Jun 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_LegoDimensionsToypadBase.h"
|
||||
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include "RGBController_LegoDimensionsToypadBase.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name Lego Dimensions Toypad Base
|
||||
|
|
@ -25,7 +26,7 @@
|
|||
|
||||
RGBController_LegoDimensionsToypadBase::RGBController_LegoDimensionsToypadBase(LegoDimensionsToypadBaseController* controller_ptr)
|
||||
{
|
||||
controller = controller_ptr;
|
||||
controller = controller_ptr;
|
||||
vendor = "Logic3";
|
||||
type = DEVICE_TYPE_LEDSTRIP;
|
||||
description = "Lego Dimensions Toypad Base";
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_LegoDimensionsToypadBase.h |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Lego Dimensions Toypad Base USB Driver |
|
||||
| |
|
||||
| Guimard Morgan (morg) 06/02/2023 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_LegoDimensionsToypadBase.h |
|
||||
| |
|
||||
| RGBController for Lego Dimensions Toypad Base |
|
||||
| |
|
||||
| Morgan Guimard (morg) 02 Jun 2023 |
|
||||
| |
|
||||
| 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