Automatic generation of udev rules for supported devices

+ Added build-udev-rules.sh script
+ Added new custom target in Linux section of .pro to accommodate new rules location
This commit is contained in:
Chris
2022-04-17 12:00:48 +10:00
parent fb7e388e3f
commit bc10e3f772
163 changed files with 1700 additions and 957 deletions

View File

@@ -176,6 +176,16 @@ static const char *led_names[] =
KEY_EN_MEDIA_MUTE
};
/**------------------------------------------------------------------*\
@name HyperX Alloy Elite
@type USB
@save :x:
@direct :white_check_mark:
@effects :white_check_mark:
@detectors DetectHyperXAlloyElite
@comment
\*-------------------------------------------------------------------*/
RGBController_HyperXAlloyElite::RGBController_HyperXAlloyElite(HyperXAlloyEliteController* controller_ptr)
{
controller = controller_ptr;

View File

@@ -193,6 +193,16 @@ static const char *led_names[] =
"RGB Strip 18",
};
/**------------------------------------------------------------------*\
@name HyperX Alloy Elite 2
@type USB
@save :x:
@direct :white_check_mark:
@effects :white_check_mark:
@detectors DetectHyperXAlloyElite2
@comment
\*-------------------------------------------------------------------*/
RGBController_HyperXAlloyElite2::RGBController_HyperXAlloyElite2(HyperXAlloyElite2Controller* controller_ptr)
{
controller = controller_ptr;

View File

@@ -148,6 +148,16 @@ static const char *led_names[] =
KEY_EN_NUMPAD_PERIOD
};
/**------------------------------------------------------------------*\
@name HyperX Alloy FPS
@type USB
@save :x:
@direct :white_check_mark:
@effects :x:
@detectors DetectHyperXAlloyFPS
@comment
\*-------------------------------------------------------------------*/
RGBController_HyperXAlloyFPS::RGBController_HyperXAlloyFPS(HyperXAlloyFPSController* controller_ptr)
{
controller = controller_ptr;

View File

@@ -168,6 +168,16 @@ static const char *led_names[] =
KEY_EN_NUMPAD_ENTER,
};
/**------------------------------------------------------------------*\
@name HyperX Alloy Origins
@type USB
@save :x:
@direct :white_check_mark:
@effects :x:
@detectors DetectHyperXAlloyOrigins
@comment
\*-------------------------------------------------------------------*/
RGBController_HyperXAlloyOrigins::RGBController_HyperXAlloyOrigins(HyperXAlloyOriginsController* controller_ptr)
{
controller = controller_ptr;

View File

@@ -146,6 +146,16 @@ static const char *led_names[] =
KEY_EN_RIGHT_ARROW
};
/**------------------------------------------------------------------*\
@name HyperX Alloy Origins Core
@type USB
@save :x:
@direct :white_check_mark:
@effects :x:
@detectors DetectHyperXAlloyOriginsCore
@comment
\*-------------------------------------------------------------------*/
RGBController_HyperXAlloyOriginsCore::RGBController_HyperXAlloyOriginsCore(HyperXAlloyOriginsCoreController* controller_ptr)
{
controller = controller_ptr;