Update Sony DualSense controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-17 22:21:59 -05:00
parent 9360466b6f
commit 51f162bd37
4 changed files with 46 additions and 32 deletions

View file

@ -1,10 +1,13 @@
/*-----------------------------------------*\
| RGBController_SonyDualSense.h |
| |
| Controller for Sony DualSense |
| |
| by flora 01/07/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SonyDualSense.cpp |
| |
| RGBController for Sony DualSense |
| |
| Flora Aubry 01 Jul 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <iostream>
#include "RGBController_SonyDualSense.h"

View file

@ -1,11 +1,15 @@
/*-----------------------------------------*\
| RGBController_SonyDualSense.h |
| |
| Controller for Sony DualSense |
| |
| by flora 01/07/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SonyDualSense.h |
| |
| RGBController for Sony DualSense |
| |
| Flora Aubry 01 Jul 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "SonyDualSenseController.h"

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\
| RGBController_SonyDualSense.h |
| |
| Controller for Sony DualSense |
| |
| by flora 01/07/2022 |
\*-----------------------------------------*/
#include <CRC.h>
/*---------------------------------------------------------*\
| SonyDualSenseController.cpp |
| |
| Driver for Sony DualSense |
| |
| Flora Aubry 01 Jul 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include <CRC.h>
#include <hidapi/hidapi.h>
#include "SonyDualSenseController.h"

View file

@ -1,17 +1,20 @@
/*-----------------------------------------*\
| RGBController_SonyDualSense.h |
| |
| Controller for Sony DualSense |
| |
| by flora 01/07/2022 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SonyDualSenseController.h |
| |
| Driver for Sony DualSense |
| |
| Flora Aubry 01 Jul 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "RGBController.h"
#pragma once
#include <string>
#include <vector>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#define SONY_DUALSENSE_LIGHTBAR_LED_COUNT 1
#define SONY_DUALSENSE_PLAYER_LED_COUNT 5