Skip to content

Commit 55f7658

Browse files
committed
Revert "Invert harfware FN-Lock for all TUF modes #4839"
This reverts commit 07dffd2.
1 parent 07dffd2 commit 55f7658

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/AnimeMatrix/AniMatrixControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ public void OnDefaultDeviceChanged(DataFlow flow, Role role, string defaultDevic
637637
AudioDeviceId = defaultDeviceId;
638638

639639
//Delay is required or it will deadlock on dispose.
640-
Task.Delay(50).ContinueWith(t => SetMatrix());
640+
Task.Delay(50).ContinueWith(t => SetAudio());
641641
}
642642

643643
public void OnPropertyValueChanged(string pwstrDeviceId, PropertyKey key)

app/AppConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ public static bool IsInputBacklight()
485485

486486
public static bool IsInvertedFNLock()
487487
{
488-
return ContainsModel("M140") || ContainsModel("S550") || ContainsModel("P540") || IsTUF();
488+
return ContainsModel("M140") || ContainsModel("S550") || ContainsModel("P540") || ContainsModel("FA401KM") || ContainsModel("FA401U") || ContainsModel("TUF");
489489
}
490490

491491
public static bool IsOLED()

0 commit comments

Comments
 (0)