Slion 1,184 Posted August 30, 2021 Share Posted August 30, 2021 (edited) While working on our keyboard I could not help but noticed those oem_halla and oem_hallb GPIO events definition: https://github.com/LineageOS/android_kernel_fxtec_msm8998/blob/lineage-18.1/arch/arm/boot/dts/qcom/msm8998-qrd-skuk-t5.dtsi As I'm the developer of Fx Service which provides smart case functionalities for Pro¹ I can tell oem_halla is the case close event and I'm guessing oem_hallb is the case open event. @Sean McCreary Is there any chance we could reroute those events to Android Sensor API somehow? I reckon that should make them more useable especially the case open event that's not coming through since your device is locked and keys are apparently not passed to apps and services anymore, that was the case on stock. On Lineage OS, since oem_hallb is set to scan code 0 I reckon it is even less usable and likely to reach apps… Found those resources, maybe that could help:https://forum.xda-developers.com/t/looking-for-help-to-get-flip-cover-working-on-custom-roms.3720299/https://cs.android.com/android/platform/superproject/+/master:frameworks/base/services/core/java/com/android/server/display/DisplayPowerController.java Edited October 17, 2021 by Slion 1 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.