Update Creative controller files to new standardized header comment
This commit is contained in:
parent
1e53aae676
commit
e9d7b6b103
5 changed files with 51 additions and 5 deletions
|
|
@ -1,7 +1,16 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| CreativeControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Creative devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "CreativeSoundBlasterXG6Controller.h"
|
||||
#include "RGBController_CreativeSoundBlasterXG6.h"
|
||||
#include "Detector.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Creative vendor ID |
|
||||
|
|
@ -15,7 +24,7 @@
|
|||
void DetectCreativeDevice(hid_device_info* info, const std::string& name)
|
||||
{
|
||||
hid_device* dev = hid_open_path(info->path);
|
||||
|
||||
|
||||
if(dev)
|
||||
{
|
||||
CreativeSoundBlasterXG6Controller* controller = new CreativeSoundBlasterXG6Controller(dev, info->path);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| CreativeSoundBlasterXG6Controller.cpp |
|
||||
| |
|
||||
| Driver for Creative SoundBlaster XG6 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "CreativeSoundBlasterXG6Controller.h"
|
||||
|
||||
CreativeSoundBlasterXG6Controller::CreativeSoundBlasterXG6Controller(hid_device* dev_handle, const char* path)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,18 @@
|
|||
#include "RGBController.h"
|
||||
#include <cstring>
|
||||
#include <hidapi/hidapi.h>
|
||||
/*---------------------------------------------------------*\
|
||||
| CreativeSoundBlasterXG6Controller.h |
|
||||
| |
|
||||
| Driver for Creative SoundBlaster XG6 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstring>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
class CreativeSoundBlasterXG6Controller
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| RGBController_CreativeSoundBlasterXG6.cpp |
|
||||
| |
|
||||
| RGBController for Creative SoundBlaster XG6 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_CreativeSoundBlasterXG6.h"
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| RGBController_CreativeSoundBlasterXG6.h |
|
||||
| |
|
||||
| RGBController for Creative SoundBlaster XG6 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "CreativeSoundBlasterXG6Controller.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue