commit | 49b84e6fc4320a4f8a87606530562b258c93b844 | [log] [tgz] |
---|---|---|
author | SamarV-121 <samarvispute121@pm.me> | Fri Feb 03 19:15:58 2023 +0530 |
committer | SamarV-121 <samarvispute121@pm.me> | Wed Feb 08 22:12:58 2023 +0530 |
tree | d01bd49f4287fa7b9dd34cd0ad02086b084a928a | |
parent | f81b214f664526c26396a1e09e664eb5cf0052ab [diff] |
RM6785: lights: Fix brightness curve * These devices report values in 0-2047 or 0-4095 which results in extremely uneven behaviour in brightness slider * Map brightness values logarithmatically to match aosp behaviour * Generated using https://gist.github.com/SamarV-121/3fe97552db73d9cc673ce7cf250d27b7 Change-Id: I794fdca04bb29b8431fd20b769fc09749481645b