Switched to F1 - should be less annoying than F2

This commit is contained in:
leriomaggio
2021-05-28 07:05:06 +01:00
parent 39ed24d133
commit 66cb1c28f7

View File

@@ -50,7 +50,7 @@ public class OperatingSystem {
//use robot to simulate user action so system standby timer resets
java.awt.Robot robot = new java.awt.Robot();
if (isMac())
robot.keyPress(KeyEvent.VK_F2); // F15 increases Display Brightness by default. Switch to F2
robot.keyPress(KeyEvent.VK_F1); // F15 increases Display Brightness by default. Switch to F1
else
robot.keyPress(KeyEvent.VK_F15); //simulate F15 key press since that won't do anything noticeable