Support AE-5 and AE-5 Plus on Windows

This commit is contained in:
Logan Phillips
2025-10-14 23:59:53 -04:00
parent 3fb56e610d
commit db517c01af
6 changed files with 794 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
/*---------------------------------------------------------*\
| CreativeSoundBlasterAE5ControllerDetect_Windows.cpp |
| |
| Detector for Creative SoundBlaster AE-5 (Windows) |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-or-later |
\*---------------------------------------------------------*/
#include "Detector.h"
#include "CreativeSoundBlasterAE5Controller_Windows.h"
#include "RGBController_CreativeSoundBlasterAE5_Windows.h"
#include "LogManager.h"
void DetectCreativeAE5Device()
{
LOG_INFO("[Creative SoundBlaster AE-5] Windows detection function called");
CreativeSoundBlasterAE5Controller_Windows* controller = new CreativeSoundBlasterAE5Controller_Windows();
if(controller->Initialize())
{
LOG_INFO("[Creative SoundBlaster AE-5] Device initialized successfully, registering controller");
RGBController_CreativeSoundBlasterAE5* rgb_controller = new RGBController_CreativeSoundBlasterAE5(controller);
ResourceManager::get()->RegisterRGBController(rgb_controller);
}
else
{
LOG_WARNING("[Creative SoundBlaster AE-5] Device initialization failed");
delete controller;
}
}
REGISTER_DETECTOR("Creative SoundBlaster AE-5", DetectCreativeAE5Device);