From c83433ac0602916345c516ef247216dddba762b2 Mon Sep 17 00:00:00 2001 From: TheRogueZeta <6479694-TheRogueZeta@users.noreply.gitlab.com> Date: Sat, 2 Jan 2021 21:17:01 -0800 Subject: [PATCH] Add Razer Viper to OpenRazerDevices.h --- .../OpenRazerController/OpenRazerDevices.h | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Controllers/OpenRazerController/OpenRazerDevices.h b/Controllers/OpenRazerController/OpenRazerDevices.h index bd50070fd..95ae52cd9 100644 --- a/Controllers/OpenRazerController/OpenRazerDevices.h +++ b/Controllers/OpenRazerController/OpenRazerDevices.h @@ -3754,6 +3754,40 @@ static const razer_device viper_ultimate_wireless_device = 0 }; +/*-------------------------------------------------------------*\ +| Razer Viper 1532:0078 | +| | +| Zone "Logo" | +| Matrix | +| 1 LED | +\*-------------------------------------------------------------*/ +static const razer_zone viper_logo_zone = +{ + "Logo", + ZONE_TYPE_SINGLE, + 1, + 1 +}; + +static const razer_device viper_device = +{ + "Razer Viper", + DEVICE_TYPE_MOUSE, + true, + 1, + 1, + { + &viper_logo_zone, + NULL, + NULL, + NULL, + NULL, + NULL + }, + NULL, + 0 +}; + /*-------------------------------------------------------------*\ | Razer Naga Epic Chroma | | | @@ -4606,6 +4640,7 @@ static const razer_device* device_list[] = &viper_mini_device, &viper_ultimate_wired_device, &viper_ultimate_wireless_device, + &viper_device, /*-----------------------------------------------------------------*\ | KEYPADS | \*-----------------------------------------------------------------*/