Skip to content

Commit

Permalink
added generic 2 zone + logo mousepad layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed Mar 19, 2022
1 parent 4c07c35 commit e236a4c
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Project-Aurora/Project-Aurora/Settings/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ public enum PreferredMousepad

[Description("Razer/Corsair Mousepad")]
Generic_Mousepad = 1,

[Description("2 Zone + Logo Mousepad")]
Two_Zone_Plus_Logo_Mousepad,

//Steelseries range is 100-299
[Description("SteelSeries - QcK Prism Mousepad")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,9 @@ public void LoadBrand(PreferredKeyboard keyboard_preference = PreferredKeyboard.
case PreferredMousepad.Generic_Mousepad:
mousepad_feature_path = Path.Combine(layoutsPath, "Extra Features", "generic_mousepad.json");
break;
case PreferredMousepad.Two_Zone_Plus_Logo_Mousepad:
mousepad_feature_path = Path.Combine(layoutsPath, "Extra Features", "2zone_1logo_mousepad.json");
break;
case PreferredMousepad.SteelSeries_QcK_Prism:
mousepad_feature_path = Path.Combine(layoutsPath, "Extra Features", "steelseries_qck_prism_features.json");
break;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"group_tag": "mousepad",
"origin_region": 4,
"grouped_keys": [
{
"tag": -1,
"margin_left": 15.0,
"margin_top": -200.0,
"width": 200.0,
"height": 168.0,
"width_bits": 6,
"height_bits": 6,
"margin_left_bits": 2,
"margin_top_bits": -6,
"enabled": true,
"absolute_location": true
},
{ //logo
"tag": 213,
"visualName": "",
"margin_left": 143.5,
"margin_top": -200.0,
"width": 56.0,
"height": 16.0,
"width_bits": 6,
"height_bits": 6,
"margin_left_bits": 2,
"margin_top_bits": -6,
"enabled": true,
"absolute_location": true
},
{ //right
"tag": 214,
"visualName": "",
"margin_left": 200.0,
"margin_top": -200.0,
"width": 16.0,
"height": 168.0,
"width_bits": 6,
"height_bits": 6,
"margin_left_bits": 2,
"margin_top_bits": -6,
"enabled": true,
"absolute_location": true
},
{ //left
"tag": 215,
"visualName": "",
"margin_left": 15.0,
"margin_top": -200.0,
"width": 16.0,
"height": 168.0,
"width_bits": 6,
"height_bits": 6,
"margin_left_bits": 2,
"margin_top_bits": -6,
"enabled": true,
"absolute_location": true
},
]
}

0 comments on commit e236a4c

Please sign in to comment.