Skip to content

Commit

Permalink
Update to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mtricht committed Apr 19, 2024
1 parent 45a95e5 commit 5c021f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ https://user-images.githubusercontent.com/7511094/122837368-3e0fad00-d2f4-11eb-8

## Run on windows startup
To run after boot, create a shortcut to gamesense-essentials inside the "Startup" folder. Follow this [tutorial](https://www.howtogeek.com/208224/how-to-add-a-program-to-startup-in-windows/) if you're having trouble.

## Tick rate
Starting with v1.3.0, the tick rate/delay is now configurable through the system tray icon. This value determines how many times per second the OLED screen is updated.
The default on windows is 50 milliseconds.

This is because the lower the number, the higher the CPU usage will be. For my 8-core gaming desktop, 50 milliseconds is barely noticeable, but for my laptop, 50 milliseconds is way too fast and the CPU fans will go crazy.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ tasks {
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

val fatJar = task("fatJar", type = Jar::class) {
Expand Down

0 comments on commit 5c021f5

Please sign in to comment.