From d3da09f47e7efc13f696a2618cd88713d8c5da2c Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 9 Mar 2021 10:05:13 -0600 Subject: [PATCH] Add Razer Firefly V2 to OpenRazer device list --- .../OpenRazerController/OpenRazerDevices.h | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Controllers/OpenRazerController/OpenRazerDevices.h b/Controllers/OpenRazerController/OpenRazerDevices.h index 44aade7a4..97ce7b657 100644 --- a/Controllers/OpenRazerController/OpenRazerDevices.h +++ b/Controllers/OpenRazerController/OpenRazerDevices.h @@ -4223,6 +4223,40 @@ static const razer_device firefly_hyperflux_device = 0 }; +/*-------------------------------------------------------------*\ +| Razer Firefly V2 | +| | +| Zone "LED Strip" | +| Matrix | +| 19 LEDs | +\*-------------------------------------------------------------*/ +static const razer_zone firefly_v2_zone = +{ + "LED Strip", + ZONE_TYPE_LINEAR, + 1, + 19 +}; + +static const razer_device firefly_v2_device = +{ + "Razer Firefly V2", + DEVICE_TYPE_MOUSEMAT, + true, + 1, + 19, + { + &firefly_v2_zone, + NULL, + NULL, + NULL, + NULL, + NULL + }, + NULL, + 0 +}; + /*-------------------------------------------------------------*\ | Razer Goliathus | | | @@ -4865,6 +4899,7 @@ static const razer_device* device_list[] = \*-----------------------------------------------------------------*/ &firefly_device, &firefly_hyperflux_device, + &firefly_v2_device, &goliathus_device, &goliathus_extended_device, /*-----------------------------------------------------------------*\