This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/KeyHandler/tri-state-key-calibrate.rc
Timi Rautamäki 75ea79851b KeyHandler: Integrate in tri-state-key handling via UEventObserver API
This basically adds required code to support both switch and extcon
based tri-state-key. This also adds tri-state-key-calibrate script for
devices that need to be calibrated on boot (OnePlus7+)

Change-Id: I2e6c5d2861569750bead05edacf6e328a5227077
2022-04-11 17:55:13 +02:00

10 lines
206 B
Plaintext

service vendor.tri-state-key-calibrate /vendor/bin/tri-state-key-calibrate
class main
user system
group system
oneshot
disabled
on post-fs-data
start vendor.tri-state-key-calibrate