Add the rest of the OpenRazer supported laptops to the device list

This commit is contained in:
Adam Honse
2020-04-09 12:45:13 -05:00
parent 38c3f2d94c
commit 680c143ad7
+531 -4
View File
@@ -218,6 +218,358 @@ static const razer_device blade_stealth_device =
}
};
/*-------------------------------------------------------------*\
| Razer Blade Stealth (Late 2016) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_stealth_late_2016_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_stealth_late_2016_device =
{
"Razer Blade Stealth (Late 2016)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_stealth_late_2016_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Stealth (Mid 2017) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_stealth_mid_2017_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_stealth_mid_2017_device =
{
"Razer Blade Stealth (Mid 2017)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_stealth_mid_2017_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Stealth (Late 2017) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_stealth_late_2017_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_stealth_late_2017_device =
{
"Razer Blade Stealth (Late 2017)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_stealth_late_2017_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Stealth (2019) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_stealth_2019_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_stealth_2019_device =
{
"Razer Blade Stealth (2019)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_stealth_2019_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Stealth (Late 2019) |
| |
| Zone "Keyboard" |
| Single |
| 1 LED |
\*-------------------------------------------------------------*/
static const razer_zone blade_stealth_late_2019_zone =
{
"Keyboard",
ZONE_TYPE_SINGLE,
1,
1
};
static const razer_device blade_stealth_late_2019_device =
{
"Razer Blade Stealth (Late 2019)",
DEVICE_TYPE_KEYBOARD,
false,
1,
1,
{
&blade_stealth_late_2019_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade (Late 2016) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_late_2016_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_late_2016_device =
{
"Razer Blade (Late 2016)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_late_2016_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade (QHD) |
| |
| Zone "Keyboard" |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_qhd_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_qhd_device =
{
"Razer Blade (QHD)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_qhd_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (2018) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_2018_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_15_2018_device =
{
"Razer Blade 15 (2018)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_15_2018_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (2018) Mercury |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_2018_mercury_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_15_2018_mercury_device =
{
"Razer Blade 15 (2018) Mercury",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_15_2018_mercury_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (2018) Base Model |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_2018_base_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_15_2018_base_device =
{
"Razer Blade 15 (2018) Base Model",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_15_2018_base_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (2019) Advanced |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_2019_advanced_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_15_2019_advanced_device =
{
"Razer Blade 15 (2019) Advanced",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_15_2019_advanced_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (Mid 2019) Mercury |
@@ -226,7 +578,7 @@ static const razer_device blade_stealth_device =
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_mid_2019_zone =
static const razer_zone blade_15_mid_2019_mercury_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
@@ -234,7 +586,7 @@ static const razer_zone blade_15_mid_2019_zone =
16
};
static const razer_device blade_15_mid_2019_device =
static const razer_device blade_15_mid_2019_mercury_device =
{
"Razer Blade 15 (Mid 2019) Mercury",
DEVICE_TYPE_KEYBOARD,
@@ -242,7 +594,71 @@ static const razer_device blade_15_mid_2019_device =
6,
16,
{
&blade_15_mid_2019_zone,
&blade_15_mid_2019_mercury_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 (Mid 2019) Base Model |
| |
| Zone "Keyboard" |
| Single |
| 1 LED |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_mid_2019_base_zone =
{
"Keyboard",
ZONE_TYPE_SINGLE,
1,
1
};
static const razer_device blade_15_mid_2019_base_device =
{
"Razer Blade 15 (Mid 2019) Base Model",
DEVICE_TYPE_KEYBOARD,
false,
1,
1,
{
&blade_15_mid_2019_base_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade 15 Studio Edition (2019) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_15_studio_2019_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_15_studio_2019_device =
{
"Razer Blade 15 Studio Edition (2019)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_15_studio_2019_zone,
NULL,
NULL,
NULL,
@@ -315,6 +731,101 @@ static const razer_device blade_pro_2017_device =
}
};
/*-------------------------------------------------------------*\
| Razer Blade Pro FullHD (2017) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 25 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_pro_2017_fullhd_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
25
};
static const razer_device blade_pro_2017_fullhd_device =
{
"Razer Blade Pro FullHD (2017)",
DEVICE_TYPE_KEYBOARD,
true,
6,
25,
{
&blade_pro_2017_fullhd_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Pro 17 (2019) |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_pro_17_2019_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_pro_17_2019_device =
{
"Razer Blade Pro 17 (2019)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_pro_17_2019_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------*\
| Razer Blade Pro (Late 2019) |
| |
| Zone "Keyboard" |
| Matrix |
| 6 Rows, 16 Columns |
\*-------------------------------------------------------------*/
static const razer_zone blade_pro_late_2019_zone =
{
"Keyboard",
ZONE_TYPE_MATRIX,
6,
16
};
static const razer_device blade_pro_late_2019_device =
{
"Razer Blade Pro (Late 2019)",
DEVICE_TYPE_KEYBOARD,
true,
6,
16,
{
&blade_pro_late_2019_zone,
NULL,
NULL,
NULL,
NULL,
NULL
}
};
/*-------------------------------------------------------------------------*\
| MICE |
\*-------------------------------------------------------------------------*/
@@ -1129,9 +1640,25 @@ static const razer_device* device_list[] =
| LAPTOPS |
\*-----------------------------------------------------------------*/
&blade_stealth_device,
&blade_15_mid_2019_device,
&blade_stealth_late_2016_device,
&blade_stealth_mid_2017_device,
&blade_stealth_late_2017_device,
&blade_stealth_2019_device,
&blade_stealth_late_2019_device,
&blade_late_2016_device,
&blade_qhd_device,
&blade_15_2018_device,
&blade_15_2018_mercury_device,
&blade_15_2018_base_device,
&blade_15_2019_advanced_device,
&blade_15_mid_2019_mercury_device,
&blade_15_mid_2019_base_device,
&blade_15_studio_2019_device,
&blade_pro_late_2016_device,
&blade_pro_2017_device,
&blade_pro_2017_fullhd_device,
&blade_pro_17_2019_device,
&blade_pro_late_2019_device,
/*-----------------------------------------------------------------*\
| MICE |
\*-----------------------------------------------------------------*/