Update SteelSeriesSenseiController files to new standardized header format

This commit is contained in:
Adam Honse 2024-07-19 20:43:14 -05:00
parent a4a457ad5c
commit 9c7aad8259
4 changed files with 47 additions and 36 deletions

View file

@ -1,11 +1,14 @@
/*------------------------------------------*\
| RGBController_SteelSeriesSensei.cpp |
| |
| Generic RGB Interface SteelSeriesSensei |
| Class |
| Based on Rival Controller by |
| B Horn (bahorn) 13/05/2020 |
\*------------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SteelSeriesSensei.cpp |
| |
| RGBController for SteelSeries Sensei |
| |
| Based on SteelSeries Rival controller |
| B Horn (bahorn) 13 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_SteelSeriesSensei.h"

View file

@ -1,11 +1,14 @@
/*------------------------------------------*\
| RGBController_SteelSeriesSensei.h |
| |
| Generic RGB Interface SteelSeriesSensei |
| Class |
| Based on Rival controller by |
| B Horn (bahorn) 13/05/2020 |
\*------------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_SteelSeriesSensei.h |
| |
| RGBController for SteelSeries Sensei |
| |
| Based on SteelSeries Rival controller |
| B Horn (bahorn) 13 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once

View file

@ -1,16 +1,19 @@
/*-----------------------------------------*\
| SteelSeriesSenseiController.h |
| |
| Definitions and types for SteelSeries |
| Sensei lighting controller |
| Based on Rival controller by |
| B Horn (bahorn) 13/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SteelSeriesSenseiController.cpp |
| |
| Driver for SteelSeries Sensei |
| |
| Based on SteelSeries Rival controller |
| B Horn (bahorn) 13 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "SteelSeriesSenseiController.h"
#include <cstring>
#include <stdio.h>
#include <stdlib.h>
#include "SteelSeriesSenseiController.h"
static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size)
{

View file

@ -1,19 +1,21 @@
/*-----------------------------------------*\
| SteelSeriesSenseiController.h |
| |
| Definitions and types for SteelSeries |
| Sensei lighting controller |
| Based on Rival controller by |
| B Horn (bahorn) 13/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| SteelSeriesSenseiController.h |
| |
| Driver for SteelSeries Sensei |
| |
| Based on SteelSeries Rival controller |
| B Horn (bahorn) 13 May 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi/hidapi.h>
#include "SteelSeriesGeneric.h"
#pragma once
/*-------------------------------------------------------------*\
| Mode, we then use these to set actual effect based on speed. |
\*-------------------------------------------------------------*/