View Single Post
Old 01-18-2022, 05:14 PM   #21
llinfeng
Enthusiast
llinfeng is on a distinguished road
 
Posts: 38
Karma: 58
Join Date: Jan 2019
Device: Kobo, Kindles, Sony DPTs, QQ-Read
Thank you for all the detailed instructions up to this point. Here are two sets of logcat outputs, stored on Dropbox:
Then, to talk about the patterns, I am not sure what to look for exactly. Solely by how often something is logged, here is my take:
  1. After pressing the buttons on the magnetic cover for Nova Air, I shall see the following event:
    Code:
    01-18 16:56:28.193  1286  2707 D MediaSessionService: dispatchVolumeKeyEvent, pkg=com.android.settings, opPkg=com.android.settings, pid=7509, uid=1000, asSystem=true, event=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_VOLUME_UP, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=2335593, downTime=2335593, deviceId=-2023406815, source=0x12345678, displayId=-1 }, stream=-2147483648, musicOnly=false
  2. When I toggle the "Finger Touch" function, I found the following patterns:
    Code:
    01-18 12:23:59.437  1436  1436 I TouchInteractionService: onReceive Intent { act=onyx.action.DO_NOT_INTERCEPT_GESTURE flg=0x1000010 }   flags 0
    
    01-18 16:54:08.631  1436  1436 W TouchInteractionService: Intercept gesture TP disable

How to make use of these things? As a bit of a sidenote, can I assign a dedicated key to disable/enable "Finger Touch" by editing /system/usr/keylayout?
llinfeng is offline   Reply With Quote