Skip to content
This repository has been 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
wants to merge 1 commit into
base: Q-raphael
Choose a base branch
from

Commits on Sep 7, 2020

  1. goodix_driver_gt9886: Add gaming mode support for custom roms.

    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 <[email protected]>
    CodeElixir committed Sep 7, 2020
    Configuration menu
    Copy the full SHA
    40b5c5d View commit details
    Browse the repository at this point in the history