Skip to content

Commit 301107e

Browse files
committed
Removed unsupported key-binding options for Vivo/Zenbooks and ProArt #3585
1 parent d04c417 commit 301107e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

app/Extra.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,15 @@ public Extra()
206206
labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false;
207207
}
208208

209+
if (AppConfig.IsVivoZenPro())
210+
{
211+
labelM1.Visible = comboM1.Visible = textM1.Visible = false;
212+
labelM2.Visible = comboM2.Visible = textM2.Visible = false;
213+
labelM3.Visible = comboM3.Visible = textM3.Visible = false;
214+
labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false;
215+
labelM4.Text = "FN+F12";
216+
}
217+
209218
if (AppConfig.MediaKeys())
210219
{
211220
labelFNF4.Visible = comboFNF4.Visible = textFNF4.Visible = false;

app/Input/InputDispatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void RegisterKeys()
152152
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, Keys.F20);
153153
}
154154

155-
if (!AppConfig.IsZ13() && !AppConfig.IsAlly())
155+
if (!AppConfig.IsZ13() && !AppConfig.IsAlly() && !AppConfig.IsVivoZenPro())
156156
{
157157
if (actionM1 is not null && actionM1.Length > 0) hook.RegisterHotKey(ModifierKeys.None, Keys.VolumeDown);
158158
if (actionM2 is not null && actionM2.Length > 0) hook.RegisterHotKey(ModifierKeys.None, Keys.VolumeUp);

0 commit comments

Comments
 (0)