Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add idle detection and mode #141

Merged
merged 1 commit into from Dec 16, 2023
Merged

Conversation

LostLuma
Copy link
Collaborator

Resolves #92.

Users can choose to activate an optional Idle power state when the window is focused but no input has been sent for an amount of 1 to 30 minutes.

Since this incurs a small runtime cost this functionality is only active for users choosing to use it, and it only runs 20 times per second instead of e.g. every frame.

@LostLuma LostLuma merged commit 9823168 into juliand665:main Dec 16, 2023
4 checks passed
@andreasdc
Copy link

Looks nice! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Idea: Reduce FPS when inactive/no input for X amount of time (AFK)
2 participants