@@ -1992,6 +1992,36 @@ static const razer_key ornata_chroma_keymap[] =
19921992 { 0 , 5 , 20 , " Key: Number Pad ." },
19931993};
19941994
1995+ #define TARTARUS_V2_KEYMAP_SIZE (sizeof (tartarus_v2_keymap) / sizeof (tartarus_v2_keymap[0 ]))
1996+
1997+ static const razer_key tartarus_v2_keymap[] =
1998+ {
1999+ /* ---------------------------------------------------------------------*\
2000+ | Zone, Row, Column, Key |
2001+ \*---------------------------------------------------------------------*/
2002+ { 0 , 0 , 0 , " Key: 01" },
2003+ { 0 , 0 , 1 , " Key: 02" },
2004+ { 0 , 0 , 2 , " Key: 03" },
2005+ { 0 , 0 , 3 , " Key: 04" },
2006+ { 0 , 0 , 4 , " Key: 05" },
2007+ { 0 , 1 , 0 , " Key: 06" },
2008+ { 0 , 1 , 1 , " Key: 07" },
2009+ { 0 , 1 , 2 , " Key: 08" },
2010+ { 0 , 1 , 3 , " Key: 09" },
2011+ { 0 , 1 , 4 , " Key: 10" },
2012+ { 0 , 2 , 0 , " Key: 11" },
2013+ { 0 , 2 , 1 , " Key: 12" },
2014+ { 0 , 2 , 2 , " Key: 13" },
2015+ { 0 , 2 , 3 , " Key: 14" },
2016+ { 0 , 2 , 4 , " Key: 15" },
2017+ { 0 , 3 , 0 , " Key: 16" },
2018+ { 0 , 3 , 1 , " Key: 17" },
2019+ { 0 , 3 , 2 , " Key: 18" },
2020+ { 0 , 3 , 3 , " Key: 19" },
2021+ { 0 , 3 , 4 , " Key: Scroll Wheel" },
2022+ { 0 , 3 , 5 , " Key: 20" },
2023+ };
2024+
19952025/* -------------------------------------------------------------------------*\
19962026| KEYBOARDS |
19972027\*-------------------------------------------------------------------------*/
@@ -5812,14 +5842,14 @@ static const razer_device tartarus_chroma_device =
58125842| |
58135843| Zone "Keypad" |
58145844| Matrix |
5815- | 4 Rows, 5 Columns |
5845+ | 4 Rows, 6 Columns |
58165846\*-------------------------------------------------------------*/
58175847static const razer_zone tartarus_v2_zone =
58185848{
58195849 " Keypad" ,
58205850 ZONE_TYPE_MATRIX,
58215851 4 ,
5822- 5
5852+ 6
58235853};
58245854
58255855static const razer_device tartarus_v2_device =
@@ -5829,7 +5859,7 @@ static const razer_device tartarus_v2_device =
58295859 DEVICE_TYPE_KEYBOARD,
58305860 true ,
58315861 4 ,
5832- 5 ,
5862+ 6 ,
58335863 {
58345864 &tartarus_v2_zone,
58355865 NULL ,
@@ -5838,8 +5868,8 @@ static const razer_device tartarus_v2_device =
58385868 NULL ,
58395869 NULL
58405870 },
5841- NULL ,
5842- 0
5871+ tartarus_v2_keymap ,
5872+ TARTARUS_V2_KEYMAP_SIZE
58435873};
58445874
58455875/* -------------------------------------------------------------------------*\
0 commit comments