This repository was archived by the owner on Oct 28, 2022. It is now read-only.
goodix_driver_gt9886: Add gaming mode support for custom roms.#2
Open
CodeElixir wants to merge 1 commit intoF1xy-kernels:Q-raphaelfrom
Open
goodix_driver_gt9886: Add gaming mode support for custom roms.#2CodeElixir wants to merge 1 commit intoF1xy-kernels:Q-raphaelfrom
CodeElixir wants to merge 1 commit intoF1xy-kernels:Q-raphaelfrom
Conversation
1. Expose gaming mode features to userspace via sysfs instead of ioctl.
2. Userspace framework can write values to sysfs path /sys/devices/platform/goodix_ts.0/game_mode
Ex : echo 'X Y Z E' > /sys/devices/platform/goodix_ts.0/game_mode
where, X -> Gaming mode on/off. 1 -> ON, 0 -> OFF.
Y -> Touch response. Range : 0 <= Y <= 3.
Z -> Sensitivity to repeated taps : Range : 0 <= Y <= 3.
E -> Touch-resistant area : Range : 0 <= Y <= 3.
Signed-off-by: CodeElixir <14311A0431@sreenidhi.edu.in>
Contributor
|
We would need some kind of an app to change it on custom ROMs. |
Author
|
Yes, I am hoping ROM maintainers can implement this. Since some ROMs already have their some sort of gaming mode, they can add this thing else it requires to develop app. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have tried to add stock MIUI gaming features to custom roms. I checked it and works pretty well. I hope it might be a necessary feature for userpace to communicate. It also increases report rate to 180Hz when gaming mode is enabled.