Skip to content

Commit

Permalink
Invert FN-Lock for ProArt #3012
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Aug 23, 2024
1 parent 21a2dca commit 0e59f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Input/InputDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public static void ToggleArrowLock()
public static void HardwareFnLock(bool fnLock)
{
Program.acpi.DeviceSet(AsusACPI.FnLock, fnLock ^ AppConfig.IsInvertedFNLock() ? 1 : 0, "FnLock");
AsusHid.WriteInput([AsusHid.INPUT_ID, 0xD0, 0x4E, fnLock ? (byte)0x01 : (byte)0x00], "USB FnLock");
AsusHid.WriteInput([AsusHid.INPUT_ID, 0xD0, 0x4E, fnLock ? (byte)0x00 : (byte)0x01], "USB FnLock");
}

public static void ToggleFnLock()
Expand Down

0 comments on commit 0e59f93

Please sign in to comment.