Skip to content
This repository has been archived by the owner on May 6, 2019. It is now read-only.

Add option to set screen brightness to max while in-game #25

Open
nvllsvm opened this issue Jul 23, 2017 · 0 comments
Open

Add option to set screen brightness to max while in-game #25

nvllsvm opened this issue Jul 23, 2017 · 0 comments

Comments

@nvllsvm
Copy link
Owner

nvllsvm commented Jul 23, 2017

The DOOM engine games can be fairly dark and from personal experience, are hard to play at lower brightnesses.

There should be an option to set the brightness to max while in game. The default should be off.

Code to be added to Game.java

WindowManager.LayoutParams attributes = getWindow().getAttributes();
attributes.screenBrightness = 1F;
getWindow().setAttributes(attributes);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant