Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [BUG] - Surface Pro 4 Touchscreen is stuck on a mouse input #103

Open
mattwhite7982 opened this issue Oct 25, 2024 · 20 comments
Open
Labels
bug Something isn't working

Comments

@mattwhite7982
Copy link

Description

When I go and try and setup bliss OS from a live boot USB it ends up just being stuck on a mouse input and not using the touchscreen instead, sort of like the OS thinks a keyboard is connected to my surface at all times

Reproduction steps

1. Boot from live USB
2. Touch the screen
3. Should see a mouse cursor appear instead

Screenshots

No response

Logs

No response

Category

Display

OS Version

16.x

@mattwhite7982 mattwhite7982 added the bug Something isn't working label Oct 25, 2024
@UknowEtheG
Copy link

Live boot can behave differently than native install

Have you tried a full install and faced the same?
Have you noticed the boot option called "PC mode"? (May not be an option from the USB installer. However, can be added as cmdline parameter to Grub boot menu entry). Differs from booting regular mode in several ways. PC mode is expecting a mouse and keyboard. Touch input is still detected the same, handling is different.

Also, You just specified "16" which is not specific enough. Please provide the full .ISO filename you are using. The EXACT .ISO filename gives us better understanding of which build may have an issue.

@mattwhite7982
Copy link
Author

For the version I've been trying to install Bliss-Surface-v16.9.7-x86_64-OFFICAL-gapps-20241012.iso

And no I've not attempted to install the OS yet

@explosivo22
Copy link

For the version I've been trying to install Bliss-Surface-v16.9.7-x86_64-OFFICAL-gapps-20241012.iso

And no I've not attempted to install the OS yet

I have been experiencing the same thing, but I have installed mine with no difference.

@dmbabu
Copy link

dmbabu commented Nov 6, 2024

Same here. Stuck with mouse, no touch (rather, touch only moves the mouse cursor). Surface Pro 3. Bliss-Surface-v16.9.7-x86_64, Bliss-Surface-v15.9.2-x86_64.

@bannert1337
Copy link

bannert1337 commented Nov 11, 2024

Same happens to me with a Surface Pro 2017 (5th Generation).
The touchscreen acts as a trackpad, moving a cursor on the screen.

Happens both in the live version and installed.

@mischasworld
Copy link

mischasworld commented Nov 12, 2024

I have got the same problem with a surface 4 pro, the touch screen moves the mouse cursor.
I tried these two roms:

Bliss-Surface-v16.9.7-x86_64, Bliss-Surface-v15.9.2-x86_64. 2024-10-12 versions

Update:

I just tried Bliss-Surface-v16.9.7-x86_64 2024 09 12 version, this one isn't affected touch screen is working fine

@UknowEtheG
Copy link

Settings > Blissify > misc> Force mouse click as touch

@electrikjesus
Copy link
Member

Anyone with this issue, can you please get me the results of:

cat /sys/class/dmi/id/uevent

And:

cat /sys/class/dmi/id/product_name

Looks like we need to add an IDC to override this controllers input method

@TechnoHT
Copy link

TechnoHT commented Nov 14, 2024

I'm encountering the exact same issue on my Surface Pro 4 (v15.9.2)

Here's the output of uevent:

MODALIAS=dmi:bvnMicrosoftCorporation:bvr109.3748.768:bd05.04.2021:svnMicrosoftCorporation:pnSurfacePro4:pvr124000000000000000000000D0B08F1C03P38:rvnMicrosoftCorporation:rnSurfacePro4:rvr:cvnMicrosoftCorporation:ct9:cvr:skuSurface_Pro_4:

Product name returned Surface Pro 4 correctly

@electrikjesus
Copy link
Member

Thank you. Can you please also grab a dumpsys input so we can match the vendor/product/version for IDC filename?

@TechnoHT
Copy link

TechnoHT commented Nov 16, 2024

Thank you. Can you please also grab a dumpsys input so we can match the vendor/product/version for IDC filename?

@electrikjesus sorry for late reply, I have obtained the result of dumpsys input

dumpsys input
INPUT MANAGER (dumpsys input)

Input Manager State:
  Interactive: true
  System UI Lights Out: false
  Pointer Speed: 0
  Pointer Acceleration Allowlist Bitmask: 0
  Force Mouse As Touch: true
  Pointer Gestures Enabled: true
  Show Touches: false
  Pointer Capture: Disabled, seq=0

Event Hub State:
  BuiltInKeyboardId: -2
  Devices:
    20: Android Power Button
      Classes: KEYBOARD
      Path: /dev/input/event18
      Enabled: true
      Descriptor: 121a35665e29ab67eb240e688adc943dd337ad5c
      Location:
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile:
      VideoDevice: <none>
    21: HDA Intel PCH HDMI/DP,pcm=8
      Classes: SWITCH
      Path: /dev/input/event17
      Enabled: true
      Descriptor: 3053bb6ed7ad3d4f78b7add8dc107a3ff654e3b1
      Location: ALSA
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    22: HDA Intel PCH HDMI/DP,pcm=7
      Classes: SWITCH
      Path: /dev/input/event16
      Enabled: true
      Descriptor: 0cbae5346794eae9d231b92444e007d5e1789285
      Location: ALSA
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    23: HDA Intel PCH HDMI/DP,pcm=3
      Classes: SWITCH
      Path: /dev/input/event15
      Enabled: true
      Descriptor: 33713208b31ed707f0b8747a862541ec4503313f
      Location: ALSA
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    24: HDA Intel PCH Headphone
      Classes: SWITCH
      Path: /dev/input/event14
      Enabled: true
      Descriptor: 0ccea1d95c1e961c0ed7008663e7a691a3d11737
      Location: ALSA
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    25: HDA Intel PCH Mic
      Classes: SWITCH
      Path: /dev/input/event13
      Enabled: true
      Descriptor: b1ef194c83c2fabae9ae074475d4b4ccee3da91d
      Location: ALSA
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    27: IPTS 1B96:006A Touchscreen
      Classes: TOUCH
      Path: /dev/input/event11
      Enabled: true
      Descriptor: ff8061d4efa5e99a6ea1bcc5344b4d0c1ee5dda4
      Location:
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0000, vendor=0x1b96, product=0x006a, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    32: Microsoft Surface Type Cover Touchpad
      Classes: TOUCH | TOUCH_MT | EXTERNAL
      Path: /dev/input/event4
      Enabled: true
      Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    34: Microsoft Surface Type Cover Mouse
      Classes: CURSOR | EXTERNAL
      Path: /dev/input/event2
      Enabled: true
      Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    35: Microsoft Surface Type Cover Keyboard
      Classes: KEYBOARD | ALPHAKEY | DPAD | JOYSTICK | EXTERNAL
      Path: /dev/input/event1
      Enabled: true
      Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile:
      VideoDevice: <none>
    37: Surface Pro 3/4 Buttons
      Classes: KEYBOARD
      Path: /dev/input/event8
      Enabled: true
      Descriptor: 223fcd3a3127f78a47dc81d8311e20f88bc825df
      Location: MSHW0040/buttons
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0019, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile:
      VideoDevice: <none>
    38: Lid Switch
      Classes: SWITCH
      Path: /dev/input/event0
      Enabled: true
      Descriptor: b1b383a648f23cb5298ba53d5c0992b1294c79b9
      Location: PNP0C0D/button/input0
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0019, vendor=0x0000, product=0x0005, version=0x0000
      KeyLayoutFile:
      KeyCharacterMapFile:
      ConfigurationFile:
      VideoDevice: <none>
    28: Video Bus
      Classes: KEYBOARD
      Path: /dev/input/event10
      Enabled: true
      Descriptor: 7d459f4a4887145e25856cde154f416f2d0db120
      Location: LNXVIDEO/video/input0
      ControllerNumber: 0
      UniqueId:
      Identifier: bus=0x0019, vendor=0x0000, product=0x0006, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile:
      VideoDevice: <none>
    -1: Virtual
      Classes: KEYBOARD | ALPHAKEY | DPAD | VIRTUAL
      Path: <virtual>
      Enabled: true
      Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd
      Location:
      ControllerNumber: 0
      UniqueId: <virtual>
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm
      ConfigurationFile:
      VideoDevice: <none>
  Unattached video devices:
    <none>

Input Reader State (Nums of device: 12):
  Device 19: HDA Intel PCH Headphone
    EventHub Devices: [ 24 ]
    Generation: 92
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 18: HDA Intel PCH Mic
    EventHub Devices: [ 25 ]
    Generation: 89
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 17: IPTS 1B96:006A Touchscreen
    EventHub Devices: [ 27 ]
    Generation: 109
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x00002002
    KeyboardType: 0
    ControllerNum: 0
    Motion Ranges:
      X: source=0x00002002, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=9.352
      Y: source=0x00002002, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=11.021
      PRESSURE: source=0x00002002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
    Touch Input Mapper (mode - POINTER):
      Parameters:
        GestureMode: MULTI_TOUCH
        DeviceType: POINTER
        AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
        OrientationAware: false
        Orientation: ORIENTATION_0
      Raw Touch Axes:
        X: min=0, max=32767, flat=0, fuzz=0, resolution=112
        Y: min=0, max=32767, flat=0, fuzz=0, resolution=198
        Pressure: unknown range
        TouchMajor: unknown range
        TouchMinor: unknown range
        ToolMajor: unknown range
        ToolMinor: unknown range
        Orientation: unknown range
        Distance: unknown range
        TiltX: unknown range
        TiltY: unknown range
        TrackingId: unknown range
        Slot: unknown range
      Calibration:
        touch.size.calibration: none
        touch.pressure.calibration: none
        touch.orientation.calibration: none
        touch.distance.calibration: none
        touch.coverage.calibration: none
      Affine Transformation:
        X scale: 1.000
        X ymix: 0.000
        X offset: 0.000
        Y xmix: 0.000
        Y scale: 1.000
        Y offset: 0.000
      Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
      RawSurfaceWidth: 2736px
      RawSurfaceHeight: 1824px
      SurfaceLeft: 0
      SurfaceTop: 0
      SurfaceRight: 2736
      SurfaceBottom: 1824
      PhysicalWidth: 2736px
      PhysicalHeight: 1824px
      PhysicalLeft: 0
      PhysicalTop: 0
      SurfaceOrientation: 0
      Translation and Scaling Factors:
        XTranslate: 0.000
        YTranslate: 0.000
        XScale: 0.083
        YScale: 0.056
        XPrecision: 11.977
        YPrecision: 17.965
        GeometricScale: 0.070
        PressureScale: 0.000
        SizeScale: 0.000
        OrientationScale: 0.000
        DistanceScale: 0.000
        HaveTilt: false
        TiltXCenter: 0.000
        TiltXScale: 0.000
        TiltYCenter: 0.000
        TiltYScale: 0.000
      Last Raw Button State: 0x00000000
      Last Raw Touch: pointerCount=0
      Last Cooked Button State: 0x00000000
      Last Cooked Touch: pointerCount=0
      Stylus Fusion:
        ExternalStylusConnected: false
        External Stylus ID: -1
        External Stylus Data Timeout: 9223372036854775807
      External Stylus State:
        When: 9223372036854775807
        Pressure: 0.000000
        Button State: 0x00000000
        Tool Type: 0
      Pointer Gesture Detector:
        XMovementScale: 0.057
        YMovementScale: 0.057
        XZoomScale: 0.021
        YZoomScale: 0.021
        MaxSwipeWidth: 11585.237305
  Device 20: HDA Intel PCH HDMI/DP,pcm=3
    EventHub Devices: [ 23 ]
    Generation: 95
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 16: Video Bus
    EventHub Devices: [ 28 ]
    Generation: 83
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x00000101
    KeyboardType: 1
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 22: HDA Intel PCH HDMI/DP,pcm=8
    EventHub Devices: [ 21 ]
    Generation: 101
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 15: Microsoft Surface Type Cover Keyboard
    EventHub Devices: [ 35 34 32 ]
    Generation: 113
    IsExternal: true
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x01007313
    KeyboardType: 2
    ControllerNum: 0
    Motion Ranges:
      X: source=0x00006002, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=27.961
      Y: source=0x00006002, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=36.553
      PRESSURE: source=0x00006002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      X: source=0x00001002, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=0.000
      Y: source=0x00001002, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=0.000
      PRESSURE: source=0x00001002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      VSCROLL: source=0x00001002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      HSCROLL: source=0x00001002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      GENERIC_1: source=0x01000010, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
    Touch Input Mapper (mode - POINTER):
      Parameters:
        GestureMode: MULTI_TOUCH
        DeviceType: POINTER
        AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
        OrientationAware: false
        Orientation: ORIENTATION_0
      Raw Touch Axes:
        X: min=0, max=1956, flat=0, fuzz=0, resolution=20
        Y: min=0, max=997, flat=0, fuzz=0, resolution=20
        Pressure: unknown range
        TouchMajor: unknown range
        TouchMinor: unknown range
        ToolMajor: unknown range
        ToolMinor: unknown range
        Orientation: unknown range
        Distance: unknown range
        TiltX: unknown range
        TiltY: unknown range
        TrackingId: min=0, max=65535, flat=0, fuzz=0, resolution=0
        Slot: min=0, max=4, flat=0, fuzz=0, resolution=0
      Calibration:
        touch.size.calibration: none
        touch.pressure.calibration: none
        touch.orientation.calibration: none
        touch.distance.calibration: none
        touch.coverage.calibration: none
      Affine Transformation:
        X scale: 1.000
        X ymix: 0.000
        X offset: 0.000
        Y xmix: 0.000
        Y scale: 1.000
        Y offset: 0.000
      Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
      RawSurfaceWidth: 2736px
      RawSurfaceHeight: 1824px
      SurfaceLeft: 0
      SurfaceTop: 0
      SurfaceRight: 2736
      SurfaceBottom: 1824
      PhysicalWidth: 2736px
      PhysicalHeight: 1824px
      PhysicalLeft: 0
      PhysicalTop: 0
      SurfaceOrientation: 0
      Translation and Scaling Factors:
        XTranslate: 0.000
        YTranslate: 0.000
        XScale: 1.398
        YScale: 1.828
        XPrecision: 0.715
        YPrecision: 0.547
        GeometricScale: 1.613
        PressureScale: 0.000
        SizeScale: 0.000
        OrientationScale: 0.000
        DistanceScale: 0.000
        HaveTilt: false
        TiltXCenter: 0.000
        TiltXScale: 0.000
        TiltYCenter: 0.000
        TiltYScale: 0.000
      Last Raw Button State: 0x00000000
      Last Raw Touch: pointerCount=0
      Last Cooked Button State: 0x00000000
      Last Cooked Touch: pointerCount=0
      Stylus Fusion:
        ExternalStylusConnected: false
        External Stylus ID: -1
        External Stylus Data Timeout: 9223372036854775807
      External Stylus State:
        When: 9223372036854775807
        Pressure: 0.000000
        Button State: 0x00000000
        Tool Type: 0
      Pointer Gesture Detector:
        XMovementScale: 1.197
        YMovementScale: 1.197
        XZoomScale: 0.449
        YZoomScale: 0.449
        MaxSwipeWidth: 549.195618
    Cursor Input Mapper:
      Parameters:
        HasAssociatedDisplay: true
        Mode: pointer
        OrientationAware: false
      XScale: 1.000
      YScale: 1.000
      XPrecision: 1.000
      YPrecision: 1.000
      AbsXScale: 1.000
      AbsYScale: 1.000
      AbsXPrecision: 1.000
      AbsYPrecision: 1.000
      HaveVWheel: true
      HaveHWheel: true
      VWheelScale: 1.000
      HWheelScale: 1.000
      Orientation: 0
      ButtonState: 0x00000000
      Down: false
      DownTime: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 2
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x200000
      DownTime: 387875696000
    Joystick Input Mapper:
      Axes:
        GENERIC_1: min=0.00000, max=1.00000, flat=0.00000, fuzz=0.00000, resolution=0.00000
          scale=0.00098, offset=0.00000, highScale=0.00098, highOffset=0.00000
          rawAxis=32, rawMin=0, rawMax=1023, rawFlat=0, rawFuzz=0, rawResolution=0
  Device 23: Android Power Button
    EventHub Devices: [ 20 ]
    Generation: 104
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x00000101
    KeyboardType: 1
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 14: Surface Pro 3/4 Buttons
    EventHub Devices: [ 37 ]
    Generation: 71
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x00000101
    KeyboardType: 1
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 21: HDA Intel PCH HDMI/DP,pcm=7
    EventHub Devices: [ 22 ]
    Generation: 98
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 13: Lid Switch
    EventHub Devices: [ 38 ]
    Generation: 68
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device -1: Virtual
    EventHub Devices: [ -1 ]
    Generation: 65
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x00000301
    KeyboardType: 2
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 2
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Configuration:
    ExcludedDeviceNames: [Power Button]
    VirtualKeyQuietTime: 0.0ms
    PointerVelocityControlParameters: scale=1.000, lowThreshold=3000.000, highThreshold=500.000, acceleration=3.000
    WheelVelocityControlParameters: scale=1.000, lowThreshold=50.000, highThreshold=15.000, acceleration=4.000
    PointerTouchEmulation: true
    PointerGesture:
      Enabled: true
      QuietInterval: 100.0ms
      DragMinSwitchSpeed: 50.0px/s
      TapInterval: 150.0ms
      TapDragInterval: 300.0ms
      TapSlop: 20.0px
      MultitouchSettleInterval: 100.0ms
      MultitouchMinDistance: 15.0px
      SwipeTransitionAngleCosine: 0.3
      SwipeMaxWidthRatio: 0.2
      MovementSpeedRatio: 0.8
      ZoomSpeedRatio: 0.3
      Viewports:
        Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]

Input Classifier State:
  Motion Classifier:
    <nullptr>

Input Dispatcher State:
  DispatchEnabled: true
  DispatchFrozen: false
  InputFilterEnabled: false
  FocusedDisplayId: 0
  FocusedApplications:
    displayId=0, name='ActivityRecord{2e67829 u0 com.android.settings/.SubSettings t43}', dispatchingTimeout=5000ms
  FocusedWindows:
    displayId=0, name='b469a55 com.android.settings/com.android.settings.SubSettings'
  FocusRequests:
    displayId=0, name='b469a55 com.android.settings/com.android.settings.SubSettings' result='OK'
  Pointer Capture Requested: false
  Current Window with Pointer Capture: None
  TouchStatesByDisplay:
    0: down=false, split=false, deviceId=15, source=0x00006002
      Windows: <none>
  Display: 0
    Windows:
      0: name='40321ad ScreenDecorOverlayBottom', id=72, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL | LAYOUT_IN_SCREEN | SPLIT_TOUCH | SLIPPERY, type=2024, frame=[0,1776][2736,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, inputFeatures=0x0, ownerPid=1243, ownerUid=10243, dispatchingTimeout=5000ms, trustedOverlay=true, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (TRANSLATE)
            1.0000  0.0000  -0.0000
            0.0000  1.0000  -1776.0000
            0.0000  0.0000  1.0000
      1: name='d4eff71 ScreenDecorOverlay', id=71, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL | LAYOUT_IN_SCREEN | SPLIT_TOUCH | SLIPPERY, type=2024, frame=[0,0][2736,48], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, inputFeatures=0x0, ownerPid=1243, ownerUid=10243, dispatchingTimeout=5000ms, trustedOverlay=true, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      2: name='fc9798f Taskbar', id=987, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | HARDWARE_ACCELERATED | SLIPPERY, type=2024, frame=[0,1704][2736,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[0,1704][2736,1824], inputFeatures=0x0, ownerPid=1673, ownerUid=10234, dispatchingTimeout=5000ms, trustedOverlay=true, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (TRANSLATE)
            1.0000  0.0000  -0.0000
            0.0000  1.0000  -1704.0000
            0.0000  0.0000  1.0000
      3: name='82b370d StatusBar', id=84, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | SPLIT_TOUCH | HARDWARE_ACCELERATED | DRAWS_SYSTEM_BAR_BACKGROUNDS, type=2000, frame=[0,0][2736,48], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[0,0][2736,48], inputFeatures=0x0, ownerPid=1243, ownerUid=10243, dispatchingTimeout=5000ms, trustedOverlay=true, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      4: name='recents_animation_input_consumer', id=103, displayId=0, portalToDisplayId=-1, paused=false, focusable=true, hasWallpaper=false, visible=false, alpha=1.00, flags=0x0, type=2022, frame=[0,0][2736,1824], globalScale=1.000000, applicationInfo.name=recents_animation_input_consumer, applicationInfo.token=0x79950ef38690, touchableRegion=[0,0][2736,1824], inputFeatures=0x0, ownerPid=1018, ownerUid=1000, dispatchingTimeout=5000ms, trustedOverlay=true, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      5: name='b469a55 com.android.settings/com.android.settings.SubSettings', id=1059, displayId=0, portalToDisplayId=-1, paused=false, focusable=true, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_TOUCH_MODAL | LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR | SPLIT_TOUCH | HARDWARE_ACCELERATED | DRAWS_SYSTEM_BAR_BACKGROUNDS, type=FIRST_APPLICATION_WINDOW, frame=[1368,0][2736,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{2e67829 u0 com.android.settings/.SubSettings t43}, applicationInfo.token=0x79950effec30, touchableRegion=[1368,0][2736,1824], inputFeatures=0x0, ownerPid=3504, ownerUid=1000, dispatchingTimeout=5000ms, trustedOverlay=false, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (TRANSLATE)
            1.0000  -0.0000  -1368.0000
            -0.0000  1.0000  0.0000
            0.0000  0.0000  1.0000
      6: name='553b1b0 ActivityRecordInputSink com.android.settings/.SubSettings', id=1026, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[1368,0][2736,1824], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      7: name='2f1ac5f ActivityRecordInputSink com.android.settings/.SubSettings', id=1003, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[1368,0][2736,1824], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      8: name='e277bc ActivityRecordInputSink com.android.settings/.SubSettings', id=982, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[1368,0][2736,1824], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      9: name='acb4161 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity', id=915, displayId=0, portalToDisplayId=-1, paused=false, focusable=true, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_TOUCH_MODAL | LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR | SPLIT_TOUCH | HARDWARE_ACCELERATED | DRAWS_SYSTEM_BAR_BACKGROUNDS, type=FIRST_APPLICATION_WINDOW, frame=[0,0][1368,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{324598b u0 com.android.settings/.homepage.SettingsHomepageActivity t43}, applicationInfo.token=0x79950eff8f90, touchableRegion=[0,0][1368,1824], inputFeatures=0x0, ownerPid=3504, ownerUid=1000, dispatchingTimeout=5000ms, trustedOverlay=false, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      10: name='774935a ActivityRecordInputSink com.android.settings/.homepage.SettingsHomepageActivity', id=911, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=true, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[0,0][1368,1824], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      11: name='e9d2f2d ActivityRecordInputSink jackpal.androidterm/.Term', id=744, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      12: name='9c2ea98 ActivityRecordInputSink at.bitfire.davdroid/.ui.intro.IntroActivity', id=844, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      13: name='2a52843 ActivityRecordInputSink at.bitfire.davdroid/.ui.AccountsActivity', id=820, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      14: name='888cd9d ActivityRecordInputSink com.termux/.app.TermuxActivity', id=300, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      15: name='2d07a09 ActivityRecordInputSink me.weishu.kernelsu/.ui.MainActivity', id=252, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      16: name='5ed5533 ActivityRecordInputSink com.amaze.filemanager/.ui.activities.MainActivity', id=450, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      17: name='2cae389 ActivityRecordInputSink org.eu.droid_ng.jellyfish/acr.browser.lightning.MainActivity', id=333, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      18: name='5e6b44a ActivityRecordInputSink com.android.launcher3/.CustomLauncher', id=115, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2022, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], inputFeatures=NO_INPUT_CHANNEL, ownerPid=1018, ownerUid=1000, dispatchingTimeout=0ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
      19: name='Wallpaper BBQ wrapper#0', id=77, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_TOUCH_MODAL, type=UNKNOWN, frame=[0,0][3242,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, inputFeatures=NO_INPUT_CHANNEL, ownerPid=1243, ownerUid=10243, dispatchingTimeout=5000ms, trustedOverlay=false, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (SCALE )
            1.1845  -0.0000  0.0000
            -0.0000  1.1842  0.0000
            0.0000  0.0000  1.0000
      20: name='960c61e com.android.systemui.ImageWallpaper', id=76, displayId=0, portalToDisplayId=-1, paused=false, focusable=false, hasWallpaper=false, visible=false, alpha=1.00, flags=NOT_FOCUSABLE | NOT_TOUCH_MODAL, type=2013, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, inputFeatures=0x0, ownerPid=1243, ownerUid=10243, dispatchingTimeout=5000ms, trustedOverlay=false, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED, displayOrientation=0
        transform (ROT_0) (IDENTITY)
  Global monitors in display 0:
    0: 'PointerEventDispatcher0 (server)',
  Gesture monitors in display 0:
    0: 'onehanded-touch (server)',
    1: 'edge-swipe (server)',
    2: 'swipe-up (server)',
  RecentQueue: length=10
    MotionEvent, age=47803ms
    MotionEvent, age=47796ms
    MotionEvent, age=47789ms
    MotionEvent, age=47782ms
    MotionEvent, age=47774ms
    MotionEvent, age=47767ms
    MotionEvent, age=47760ms
    MotionEvent, age=47752ms
    MotionEvent, age=47745ms
    FocusEvent(hasFocus=true), age=19491ms
  PendingEvent: <none>
  InboundQueue: <empty>
  ReplacedKeys: <empty>
  Connections:
    448: channelName='b469a55 com.android.settings/com.android.settings.SubSettings (server)', windowName='b469a55 com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    359: channelName='fc9798f Taskbar (server)', windowName='fc9798f Taskbar (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    425: channelName='acb4161 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', windowName='acb4161 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    461: channelName='434d6d9 at.bitfire.davdroid/at.bitfire.davdroid.ui.AccountsActivity (server)', windowName='434d6d9 at.bitfire.davdroid/at.bitfire.davdroid.ui.AccountsActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    328: channelName='82b370d StatusBar (server)', windowName='82b370d StatusBar (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    454: channelName='210f9b2 com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity (server)', windowName='210f9b2 com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    446: channelName='8d6f4c5 com.android.settings/com.android.settings.SubSettings (server)', windowName='8d6f4c5 com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    410: channelName='edge-swipe (server)', windowName='edge-swipe (server)', status=NORMAL, monitor=true, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    384: channelName='b672c4c com.android.settings/com.android.settings.SubSettings (server)', windowName='b672c4c com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    423: channelName='swipe-up (server)', windowName='swipe-up (server)', status=NORMAL, monitor=true, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    415: channelName='recents_animation_input_consumer (server)', windowName='recents_animation_input_consumer (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    345: channelName='c923c61 jackpal.androidterm/jackpal.androidterm.Term (server)', windowName='c923c61 jackpal.androidterm/jackpal.androidterm.Term (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    372: channelName='7a3599a InputMethod (server)', windowName='7a3599a InputMethod (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    413: channelName='512801c com.android.launcher3/com.android.launcher3.CustomLauncher (server)', windowName='512801c com.android.launcher3/com.android.launcher3.CustomLauncher (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    435: channelName='97701fd org.eu.droid_ng.jellyfish/acr.browser.lightning.MainActivity (server)', windowName='97701fd org.eu.droid_ng.jellyfish/acr.browser.lightning.MainActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    370: channelName='1e18f93 pip-dismiss-overlay (server)', windowName='1e18f93 pip-dismiss-overlay (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    411: channelName='ac36afc EdgeBackGestureHandler0 (server)', windowName='ac36afc EdgeBackGestureHandler0 (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    346: channelName='960c61e com.android.systemui.ImageWallpaper (server)', windowName='960c61e com.android.systemui.ImageWallpaper (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    361: channelName='bfe9235 me.weishu.kernelsu/me.weishu.kernelsu.ui.MainActivity (server)', windowName='bfe9235 me.weishu.kernelsu/me.weishu.kernelsu.ui.MainActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    337: channelName='40321ad ScreenDecorOverlayBottom (server)', windowName='40321ad ScreenDecorOverlayBottom (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    276: channelName='95705d3 com.termux/com.termux.app.TermuxActivity (server)', windowName='95705d3 com.termux/com.termux.app.TermuxActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    313: channelName='d4eff71 ScreenDecorOverlay (server)', windowName='d4eff71 ScreenDecorOverlay (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    518: channelName='10ef262 at.bitfire.davdroid/at.bitfire.davdroid.ui.intro.IntroActivity (server)', windowName='10ef262 at.bitfire.davdroid/at.bitfire.davdroid.ui.intro.IntroActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    315: channelName='1f62303 ShellDropTarget (server)', windowName='1f62303 ShellDropTarget (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    327: channelName='onehanded-touch (server)', windowName='onehanded-touch (server)', status=NORMAL, monitor=true, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    302: channelName='a289f8 NotificationShade (server)', windowName='a289f8 NotificationShade (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    162: channelName='PointerEventDispatcher0 (server)', windowName='PointerEventDispatcher0 (server)', status=NORMAL, monitor=true, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
  AppSwitch: not pending
  Configuration:
    KeyRepeatDelay: 50ms
    KeyRepeatTimeout: 400ms
    LatencyTracker:
      mTimelines.size() = 0
      mEventTimes.size() = 0
    LatencyAggregator:
      Sketches:
        mDownSketches[0]->num_values = 0 size = 0.0KB mMoveSketches[0]->num_values = 0 size = 0.0KB
        mDownSketches[1]->num_values = 0 size = 0.0KB mMoveSketches[1]->num_values = 0 size = 0.0KB
        mDownSketches[2]->num_values = 0 size = 0.0KB mMoveSketches[2]->num_values = 0 size = 0.0KB
        mDownSketches[3]->num_values = 0 size = 0.0KB mMoveSketches[3]->num_values = 0 size = 0.0KB
        mDownSketches[4]->num_values = 0 size = 0.0KB mMoveSketches[4]->num_values = 0 size = 0.0KB
        mDownSketches[5]->num_values = 0 size = 0.0KB mMoveSketches[5]->num_values = 0 size = 0.0KB
        mDownSketches[6]->num_values = 0 size = 0.0KB mMoveSketches[6]->num_values = 0 size = 0.0KB
      mNumSketchEventsProcessed=0
      mLastSlowEventTime=0
      mNumEventsSinceLastSlowEventReport = 0
      mNumSkippedSlowEvents = 0

@electrikjesus
Copy link
Member

OK. Thank you for grabbing the info. Let's try this...

Go grab this script: https://github.com/BlissRoms-x86/idc_script

and push it to the device or download it to a USB or from the device itself, and follow the instructions. The "Example" in the readme is using the Surface Pro 4 info provided above, so you can just copy that same info for this device.

It will create an .idc for your input in your devices data folder, and should just require a reboot to test.

Please let me know if it doesn't work as expected. Thanks

@coulterpeterson
Copy link

@electrikjesus thanks so much that solved the "always mouse mode" issue for the touchscreen on my Surface Pro 8 running build 'Bliss-Surface-v16.9.7-x86_64-OFFICIAL-gapps-20241012'.

For everyone's reference, this was my touchscreen device:

49: Intel Touch Host Controller Touchscreen
      Classes: TOUCH
      Path: /dev/input/event5
      Enabled: true
      Descriptor: e6b0fb37445093f42e9fe32813474b55b9f99d4f
      Location: pci-0000:00:10.6/ithc
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0001, vendor=0x045e, product=0x0c37, version=0x0100
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>

So this was my command via adb (after connecting to the device via Wireless adb, which I enabled in the Developer settings):

adb shell sh /sdcard/Download/create_touch_input_idc_in_data.sh -t 045e 0c37 0100

@electrikjesus
Copy link
Member

Glad to see that it worked on the SP8 as well. I tried to make it as generic a solution as possible.

Once we identify all these required idc's for the Surface devices, they can be submitted here for future users so things just work out of the box for them: https://github.com/BlissRoms-x86/device_generic_common/tree/arcadia-x86/idc

@TechnoHT
Copy link

Somehow it seems to not working on my SP4
(v15.9.2)
I have verified the file was correctly created and have the correct permission

Or may be it just my installation was done inside Windows using the Windows installer found thru documentation (with R/W system enabled) and it act a lil bit funny

I might have to try again with fresh installs.

@electrikjesus
Copy link
Member

I've seen the majority of devices with this issue are on the latest Surface build also as that has updated iptsd drivers

@TechnoHT
Copy link

I have switched over a fresh installation instead of install inside Windows.
creating the idc file still not fixed the problem, touchscreen still behave exactly like the touchpad

@bannert1337
Copy link

Output for Surface Pro 5th Generation 2017 with i5-7300U and 4 GB RAM:

Surface Pro:/ $ cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnMicrosoftCorporation:bvr239.871.768:bd11/07/2015:svnMicrosoftCorporation:pnSurfacePro:pvr124000000000000000000000D0B09F5C09P38S01E0:rvnMicrosoftCorporation:rnSurfacePro:rvr:cvnMicrosoftCorporation:ct9:cvr:skuSurface_Pro_1796:

and

Surface Pro:/ $ cat /sys/class/dmi/id/product_name
Surface Pro

Here is the output of dumpsys input:

Surface Pro:/ $ dumpsys input
INPUT MANAGER (dumpsys input)

Input properties:
  persist.input.velocitytracker.strategy = default

Input Manager State:
  Interactive: true
  System UI Lights Out: false
  Pointer Speed: 0
  Pointer Acceleration Allowlist Bitmask: 0
  Force Mouse As Touch: false
  Pointer Acceleration: 3.000
  Pointer Gestures Enabled: true
  Show Touches: false
  Pointer Capture: Disabled, seq=0

Event Hub State:
  BuiltInKeyboardId: -2
  Devices:
    1: Android Power Button
      Classes: KEYBOARD
      Path: /dev/input/event28
      Enabled: true
      Descriptor: 121a35665e29ab67eb240e688adc943dd337ad5c
      Location: 
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile: 
      VideoDevice: <none>
    29: Lid Switch
      Classes: SWITCH
      Path: /dev/input/event0
      Enabled: true
      Descriptor: b1b383a648f23cb5298ba53d5c0992b1294c79b9
      Location: PNP0C0D/button/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0019, vendor=0x0000, product=0x0005, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    6: HDA Intel PCH HDMI/DP,pcm=3
      Classes: SWITCH
      Path: /dev/input/event23
      Enabled: true
      Descriptor: 33713208b31ed707f0b8747a862541ec4503313f
      Location: ALSA
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    8: HDA Intel PCH Mic
      Classes: SWITCH
      Path: /dev/input/event21
      Enabled: true
      Descriptor: b1ef194c83c2fabae9ae074475d4b4ccee3da91d
      Location: ALSA
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    9: Video Bus
      Classes: KEYBOARD
      Path: /dev/input/event20
      Enabled: true
      Descriptor: 7d459f4a4887145e25856cde154f416f2d0db120
      Location: LNXVIDEO/video/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0019, vendor=0x0000, product=0x0006, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile: 
      VideoDevice: <none>
    23: Microsoft Surface Type Cover Touchpad
      Classes: TOUCH | TOUCH_MT | EXTERNAL
      Path: /dev/input/event5
      Enabled: true
      Descriptor: 515ebc12e1d363c492b2b4ce1a2bf75a6d245f70
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0003, vendor=0x045e, product=0x09c0, version=0x0111
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    5: HDA Intel PCH HDMI/DP,pcm=7
      Classes: SWITCH
      Path: /dev/input/event24
      Enabled: true
      Descriptor: 0cbae5346794eae9d231b92444e007d5e1789285
      Location: ALSA
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    -1: Virtual
      Classes: KEYBOARD | ALPHAKEY | DPAD | VIRTUAL
      Path: <virtual>
      Enabled: true
      Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd
      Location: 
      ControllerNumber: 0
      UniqueId: <virtual>
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm
      ConfigurationFile: 
      VideoDevice: <none>
    3: IPTS 045E:001F Touchscreen
      Classes: TOUCH
      Path: /dev/input/event26
      Enabled: true
      Descriptor: d1fac61d20f720e087af6904059168af30d1e6a9
      Location: 
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x045e, product=0x001f, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    26: Microsoft Surface Type Cover Mouse
      Classes: CURSOR | EXTERNAL
      Path: /dev/input/event2
      Enabled: true
      Descriptor: 515ebc12e1d363c492b2b4ce1a2bf75a6d245f70
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0003, vendor=0x045e, product=0x09c0, version=0x0111
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    16: Microsoft Surface Type Cover Tablet Mode Switch
      Classes: SWITCH | EXTERNAL
      Path: /dev/input/event13
      Enabled: true
      Descriptor: 515ebc12e1d363c492b2b4ce1a2bf75a6d245f70
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0003, vendor=0x045e, product=0x09c0, version=0x0111
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    4: HDA Intel PCH HDMI/DP,pcm=8
      Classes: SWITCH
      Path: /dev/input/event25
      Enabled: true
      Descriptor: 3053bb6ed7ad3d4f78b7add8dc107a3ff654e3b1
      Location: ALSA
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    27: Microsoft Surface Type Cover Keyboard
      Classes: KEYBOARD | ALPHAKEY | EXTERNAL
      Path: /dev/input/event1
      Enabled: true
      Descriptor: 515ebc12e1d363c492b2b4ce1a2bf75a6d245f70
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0003, vendor=0x045e, product=0x09c0, version=0x0111
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile: 
      VideoDevice: <none>
    7: HDA Intel PCH Headphone
      Classes: SWITCH
      Path: /dev/input/event22
      Enabled: true
      Descriptor: 0ccea1d95c1e961c0ed7008663e7a691a3d11737
      Location: ALSA
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
      KeyLayoutFile: 
      KeyCharacterMapFile: 
      ConfigurationFile: 
      VideoDevice: <none>
    25: Microsoft Surface Type Cover Consumer Control
      Classes: KEYBOARD | DPAD | JOYSTICK | EXTERNAL
      Path: /dev/input/event3
      Enabled: true
      Descriptor: 515ebc12e1d363c492b2b4ce1a2bf75a6d245f70
      Location: usb-0000:00:14.0-7/input0
      ControllerNumber: 0
      UniqueId: 
      Identifier: bus=0x0003, vendor=0x045e, product=0x09c0, version=0x0111
      KeyLayoutFile: /system/usr/keylayout/Generic.kl
      KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
      ConfigurationFile: 
      VideoDevice: <none>
  Unattached video devices:
    <none>

Input Reader State (Nums of device: 11):
  Device 11: Android Power Button
    EventHub Devices: [ 1 ] 
    Generation: 45
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: KEYBOARD
    KeyboardType: 1
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: true
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 10: IPTS 045E:001F Touchscreen
    EventHub Devices: [ 3 ] 
    Generation: 56
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: MOUSE
    KeyboardType: 0
    ControllerNum: 0
    Motion Ranges:
      X: source=MOUSE, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=9.352
      Y: source=MOUSE, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=11.021
      PRESSURE: source=MOUSE, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
    Touch Input Mapper (mode - POINTER):
      Parameters:
        GestureMode: MULTI_TOUCH
        DeviceType: POINTER
        AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
        OrientationAware: false
        Orientation: ORIENTATION_0
      Raw Touch Axes:
        X: min=0, max=32767, flat=0, fuzz=0, resolution=112
        Y: min=0, max=32767, flat=0, fuzz=0, resolution=198
        Pressure: unknown range
        TouchMajor: unknown range
        TouchMinor: unknown range
        ToolMajor: unknown range
        ToolMinor: unknown range
        Orientation: unknown range
        Distance: unknown range
        TiltX: unknown range
        TiltY: unknown range
        TrackingId: unknown range
        Slot: unknown range
      Calibration:
        touch.size.calibration: NONE
        touch.pressure.calibration: none
        touch.orientation.calibration: none
        touch.distance.calibration: none
        touch.coverage.calibration: none
      Affine Transformation:
        X scale: 1.000
        X ymix: 0.000
        X offset: 0.000
        Y xmix: 0.000
        Y scale: 1.000
        Y offset: 0.000
      Viewport INTERNAL: displayId=0, uniqueId=local:4625447547181623552, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
      DisplayWidth: 2736px
      DisplayHeight: 1824px
      PhysicalWidth: 2736px
      PhysicalHeight: 1824px
      PhysicalLeft: 0
      PhysicalTop: 0
      InputDeviceOrientation: 0
      Translation and Scaling Factors:
        XScale: 0.083
        YScale: 0.056
        XPrecision: 11.977
        YPrecision: 17.965
        GeometricScale: 0.070
        PressureScale: 0.000
        SizeScale: 0.000
        OrientationScale: 0.000
        DistanceScale: 0.000
        HaveTilt: false
        TiltXCenter: 0.000
        TiltXScale: 0.000
        TiltYCenter: 0.000
        TiltYScale: 0.000
      Last Raw Button State: 0x00000000
      Last Raw Touch: pointerCount=0
      Last Cooked Button State: 0x00000000
      Last Cooked Touch: pointerCount=0
      Stylus Fusion:
        ExternalStylusConnected: false
        External Stylus ID: -1
        External Stylus Data Timeout: 9223372036854775807
      External Stylus State:
        When: 9223372036854775807
        Pressure: 0.000000
        Button State: 0x00000000
        Tool Type: 0
      Pointer Gesture Detector:
        XMovementScale: 0.057
        YMovementScale: 0.057
        XZoomScale: 0.021
        YZoomScale: 0.021
        MaxSwipeWidth: 11585.237305
  Device 7: HDA Intel PCH HDMI/DP,pcm=3
    EventHub Devices: [ 6 ] 
    Generation: 33
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 6: HDA Intel PCH Headphone
    EventHub Devices: [ 7 ] 
    Generation: 30
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device -1: Virtual
    EventHub Devices: [ -1 ] 
    Generation: 3
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: KEYBOARD | DPAD
    KeyboardType: 2
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: true
        HandlesKeyRepeat: false
      KeyboardType: 2
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 5: HDA Intel PCH Mic
    EventHub Devices: [ 8 ] 
    Generation: 27
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 9: HDA Intel PCH HDMI/DP,pcm=8
    EventHub Devices: [ 4 ] 
    Generation: 39
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 8: HDA Intel PCH HDMI/DP,pcm=7
    EventHub Devices: [ 5 ] 
    Generation: 36
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Device 4: Video Bus
    EventHub Devices: [ 9 ] 
    Generation: 24
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: KEYBOARD
    KeyboardType: 1
    ControllerNum: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: true
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
  Device 3: Microsoft Surface Type Cover Keyboard
    EventHub Devices: [ 27 26 25 23 16 ] 
    Generation: 60
    IsExternal: true
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: KEYBOARD | DPAD | MOUSE | JOYSTICK
    KeyboardType: 2
    ControllerNum: 0
    Motion Ranges:
      X: source=MOUSE, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=27.961
      Y: source=MOUSE, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=36.553
      PRESSURE: source=MOUSE, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      GENERIC_1: source=JOYSTICK, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      X: source=MOUSE, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=0.000
      Y: source=MOUSE, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=0.000
      PRESSURE: source=MOUSE, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      VSCROLL: source=MOUSE, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
      HSCROLL: source=MOUSE, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
    Touch Input Mapper (mode - POINTER):
      Parameters:
        GestureMode: MULTI_TOUCH
        DeviceType: POINTER
        AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
        OrientationAware: false
        Orientation: ORIENTATION_0
      Raw Touch Axes:
        X: min=0, max=1956, flat=0, fuzz=0, resolution=20
        Y: min=0, max=997, flat=0, fuzz=0, resolution=20
        Pressure: unknown range
        TouchMajor: unknown range
        TouchMinor: unknown range
        ToolMajor: unknown range
        ToolMinor: unknown range
        Orientation: unknown range
        Distance: unknown range
        TiltX: unknown range
        TiltY: unknown range
        TrackingId: min=0, max=65535, flat=0, fuzz=0, resolution=0
        Slot: min=0, max=4, flat=0, fuzz=0, resolution=0
      Calibration:
        touch.size.calibration: NONE
        touch.pressure.calibration: none
        touch.orientation.calibration: none
        touch.distance.calibration: none
        touch.coverage.calibration: none
      Affine Transformation:
        X scale: 1.000
        X ymix: 0.000
        X offset: 0.000
        Y xmix: 0.000
        Y scale: 1.000
        Y offset: 0.000
      Viewport INTERNAL: displayId=0, uniqueId=local:4625447547181623552, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
      DisplayWidth: 2736px
      DisplayHeight: 1824px
      PhysicalWidth: 2736px
      PhysicalHeight: 1824px
      PhysicalLeft: 0
      PhysicalTop: 0
      InputDeviceOrientation: 0
      Translation and Scaling Factors:
        XScale: 1.398
        YScale: 1.828
        XPrecision: 0.715
        YPrecision: 0.547
        GeometricScale: 1.613
        PressureScale: 0.000
        SizeScale: 0.000
        OrientationScale: 0.000
        DistanceScale: 0.000
        HaveTilt: false
        TiltXCenter: 0.000
        TiltXScale: 0.000
        TiltYCenter: 0.000
        TiltYScale: 0.000
      Last Raw Button State: 0x00000000
      Last Raw Touch: pointerCount=0
      Last Cooked Button State: 0x00000000
      Last Cooked Touch: pointerCount=0
      Stylus Fusion:
        ExternalStylusConnected: false
        External Stylus ID: -1
        External Stylus Data Timeout: 9223372036854775807
      External Stylus State:
        When: 9223372036854775807
        Pressure: 0.000000
        Button State: 0x00000000
        Tool Type: 0
      Pointer Gesture Detector:
        XMovementScale: 1.197
        YMovementScale: 1.197
        XZoomScale: 0.449
        YZoomScale: 0.449
        MaxSwipeWidth: 549.195618
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 1
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 0
    Joystick Input Mapper:
      Axes:
        GENERIC_1: min=0.00000, max=1.00000, flat=0.00000, fuzz=0.00000, resolution=0.00000
          scale=0.00098, offset=0.00000, highScale=0.00098, highOffset=0.00000
          rawAxis=32, rawMin=0, rawMax=1023, rawFlat=0, rawFuzz=0, rawResolution=0
    Switch Input Mapper:
      SwitchValues: 0
    Cursor Input Mapper:
      Parameters:
        HasAssociatedDisplay: true
        Mode: POINTER
        OrientationAware: false
      XScale: 1.000
      YScale: 1.000
      XPrecision: 1.000
      YPrecision: 1.000
      AbsXScale: 1.000
      AbsYScale: 1.000
      AbsXPrecision: 1.000
      AbsYPrecision: 1.000
      HaveVWheel: true
      HaveHWheel: true
      VWheelScale: 1.000
      HWheelScale: 1.000
      DisplayId: 0
      Orientation: 0
      ButtonState: 0x00000000
      Down: false
      DownTime: 0
    Keyboard Input Mapper:
      Parameters:
        OrientationAware: false
        HandlesKeyRepeat: false
      KeyboardType: 2
      Orientation: 0
      KeyDowns: 0 keys currently down
      MetaState: 0x0
      DownTime: 827505137000
  Device 2: Lid Switch
    EventHub Devices: [ 29 ] 
    Generation: 6
    IsExternal: false
    AssociatedDisplayPort: <none>
    AssociatedDisplayUniqueId: <none>
    HasMic:     false
    Sources: 0x80000000
    KeyboardType: 0
    ControllerNum: 0
    Switch Input Mapper:
      SwitchValues: 0
  Configuration:
    ExcludedDeviceNames: [Power Button]
    VirtualKeyQuietTime: 0.0ms
    PointerVelocityControlParameters: scale=1.000, lowThreshold=3000.000, highThreshold=500.000, acceleration=3.000
    WheelVelocityControlParameters: scale=1.000, lowThreshold=50.000, highThreshold=15.000, acceleration=4.000
    PointerTouchEmulation: false
    PointerGesture:
      Enabled: true
      QuietInterval: 100.0ms
      DragMinSwitchSpeed: 50.0px/s
      TapInterval: 150.0ms
      TapDragInterval: 300.0ms
      TapSlop: 20.0px
      MultitouchSettleInterval: 100.0ms
      MultitouchMinDistance: 15.0px
      SwipeTransitionAngleCosine: 0.3
      SwipeMaxWidthRatio: 0.2
      MovementSpeedRatio: 0.8
      ZoomSpeedRatio: 0.3
      Viewports:
        Viewport INTERNAL: displayId=0, uniqueId=local:4625447547181623552, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]

UnwantedInteractionBlocker:
  mPreferStylusOverTouchBlocker:
    mActiveStyli: {}
    mLastTouchEvents: 3:NotifyMotionArgs(id=90912521, eventTime=1036390630000, deviceId=3, source=MOUSE, action=HOVER_MOVE, pointerCount=1 pointers={0: id=0 x=1547.6 y=1139.2 pressure=0.0}, flags=0x00000040)
    10:NotifyMotionArgs(id=57873998, eventTime=825975979221, deviceId=10, source=MOUSE, action=HOVER_MOVE, pointerCount=1 pointers={0: id=0 x=1690.1 y=617.8 pressure=0.0}, flags=0x00000040)
    mDevicesWithMixedToolType: {}
    mCanceledDevices: {}
  mEnablePalmRejection: 0
  isPalmRejectionEnabled (flag value): 0
  mPalmRejectors: None

Input Classifier State:
  Motion Classifier:
    <nullptr>

Input Dispatcher State:
  DispatchEnabled: true
  DispatchFrozen: false
  InputFilterEnabled: false
  FocusedDisplayId: 0
  FocusedApplications:
    displayId=0, name='ActivityRecord{cca8c76 u0 com.android.settings/.SubSettings} t15}', dispatchingTimeout=5000ms
  FocusedWindows:
    displayId=0, name='6ea6767 com.android.settings/com.android.settings.SubSettings'
  FocusRequests:
    displayId=0, name='6ea6767 com.android.settings/com.android.settings.SubSettings' result='OK'
  Pointer Capture Requested: false
  Current Window with Pointer Capture: None
  TouchStatesByDisplay:
    0: down=false, split=false, deviceId=3, source=0x00002002
      Windows: <none>
  Display: 0
    logicalSize=2736x1824
        transform (ROT_0) (IDENTITY)
    Windows:
      0: name='[Gesture Monitor] swipe-up', id=88, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] swipe-up, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=2148, ownerUid=10265, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      1: name='[Gesture Monitor] edge-swipe', id=68, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] edge-swipe, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1838, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      2: name='[Gesture Monitor] onehanded-touch', id=46, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] onehanded-touch, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1838, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      3: name='510665b Taskbar', id=132, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | WATCH_OUTSIDE_TOUCH | SLIPPERY, alpha=1.00, frame=[0,1512][2736,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, ownerPid=2148, ownerUid=10265, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (TRANSLATE)
            1.0000  0.0000  -0.0000
            0.0000  1.0000  -1512.0000
            0.0000  0.0000  1.0000
      4: name='2bd3f71 StatusBar', id=83, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY, alpha=1.00, frame=[0,0][2736,48], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[0,0][2736,48], ownerPid=1838, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      5: name='6ea6767 com.android.settings/com.android.settings.SubSettings', id=614, displayId=0, inputConfig=0x0, alpha=1.00, frame=[994,0][2736,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{cca8c76 u0 com.android.settings/.SubSettings} t15}, applicationInfo.token=0x724bfeb711f0, touchableRegion=[994,0][2736,1824], ownerPid=2049, ownerUid=1000, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (TRANSLATE)
            1.0000  -0.0000  -994.0000
            -0.0000  1.0000  0.0000
            0.0000  0.0000  1.0000
      6: name='16b5738 ActivityRecordInputSink com.android.settings/.SubSettings', id=619, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[994,0][994,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[994,0][2736,1824], ownerPid=1298, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (TRANSLATE)
            1.0000  -0.0000  -994.0000
            -0.0000  1.0000  0.0000
            0.0000  0.0000  1.0000
      7: name='b19af0e com.android.settings/com.android.settings.homepage.SettingsHomepageActivity', id=321, displayId=0, inputConfig=0x0, alpha=1.00, frame=[0,0][994,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{b870bb0 u0 com.android.settings/.homepage.SettingsHomepageActivity} t15}, applicationInfo.token=0x724bfeb81690, touchableRegion=[0,0][994,1824], ownerPid=2049, ownerUid=1000, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      8: name='870d82d ActivityRecordInputSink com.android.settings/.homepage.SettingsHomepageActivity', id=311, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_FOCUSABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[0,0][994,1824], ownerPid=1298, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      9: name='1502789 ActivityRecordInputSink com.termux/.app.TermuxActivity', id=262, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1298, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      10: name='9799f42 ActivityRecordInputSink me.weishu.kernelsu/.ui.MainActivity', id=221, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1298, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      11: name='269bba9 ActivityRecordInputSink com.android.launcher3/.uioverrides.QuickstepLauncher', id=162, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1298, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (IDENTITY)
      12: name='Wallpaper BBQ wrapper#87', id=87, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE, alpha=1.00, frame=[0,0][3243,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, ownerPid=1838, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (SCALE )
            1.1841  -0.0000  0.0000
            -0.0000  1.1842  0.0000
            0.0000  0.0000  1.0000
      13: name='4b4c568 com.android.systemui.wallpapers.ImageWallpaper', id=86, displayId=0, inputConfig=NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE | PREVENT_SPLITTING | IS_WALLPAPER, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=<null>, touchableRegion=<empty>, ownerPid=1838, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
        transform (ROT_0) (SCALE )
            1.1841  -0.0000  0.0000
            -0.0000  1.1842  0.0000
            0.0000  0.0000  1.0000
  Global monitors on display 0:
    0: 'PointerEventDispatcher0 (server)', 
  RecentQueue: length=10
    MotionEvent, age=52952ms
    MotionEvent, age=52945ms
    MotionEvent, age=52938ms
    MotionEvent, age=52931ms
    MotionEvent, age=52924ms
    MotionEvent, age=52917ms
    MotionEvent, age=52911ms
    MotionEvent, age=52905ms
    MotionEvent, age=52897ms
    MotionEvent, age=52890ms
  PendingEvent: <none>
  InboundQueue: <empty>
  ReplacedKeys: <empty>
  CommandQueue: <empty>
  Connections:
    480: channelName='1a574b4 me.weishu.kernelsu/me.weishu.kernelsu.ui.MainActivity (server)', windowName='1a574b4 me.weishu.kernelsu/me.weishu.kernelsu.ui.MainActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    444: channelName='b19af0e com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', windowName='b19af0e com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    412: channelName='6ea6767 com.android.settings/com.android.settings.SubSettings (server)', windowName='6ea6767 com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    532: channelName='6de7ab4 com.termux/com.termux.app.TermuxActivity (server)', windowName='6de7ab4 com.termux/com.termux.app.TermuxActivity (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    175: channelName='recents_animation_input_consumer (server)', windowName='recents_animation_input_consumer (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    441: channelName='6bd26e9 InputMethod (server)', windowName='6bd26e9 InputMethod (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    349: channelName='b2bec64 ShellDropTarget (server)', windowName='b2bec64 ShellDropTarget (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    387: channelName='[Gesture Monitor] swipe-up (server)', windowName='[Gesture Monitor] swipe-up (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    395: channelName='d0e2eb8 EdgeBackGestureHandler0 (server)', windowName='d0e2eb8 EdgeBackGestureHandler0 (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    477: channelName='510665b Taskbar (server)', windowName='510665b Taskbar (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    392: channelName='[Gesture Monitor] edge-swipe (server)', windowName='[Gesture Monitor] edge-swipe (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    393: channelName='6aa8239 NotificationShade (server)', windowName='6aa8239 NotificationShade (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    515: channelName='84a428e com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (server)', windowName='84a428e com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    362: channelName='ec3fa2a ScreenDecorOverlay (server)', windowName='ec3fa2a ScreenDecorOverlay (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    340: channelName='4b4c568 com.android.systemui.wallpapers.ImageWallpaper (server)', windowName='4b4c568 com.android.systemui.wallpapers.ImageWallpaper (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    364: channelName='78da482 ScreenDecorOverlayBottom (server)', windowName='78da482 ScreenDecorOverlayBottom (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    398: channelName='2bd3f71 StatusBar (server)', windowName='2bd3f71 StatusBar (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    325: channelName='[Gesture Monitor] onehanded-touch (server)', windowName='[Gesture Monitor] onehanded-touch (server)', status=NORMAL, monitor=false, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
    167: channelName='PointerEventDispatcher0 (server)', windowName='PointerEventDispatcher0 (server)', status=NORMAL, monitor=true, responsive=true
      OutboundQueue: <empty>
      WaitQueue: <empty>
  AppSwitch: not pending
  Configuration:
    KeyRepeatDelay: 50ms
    KeyRepeatTimeout: 300ms
    LatencyTracker:
      mTimelines.size() = 587
      mEventTimes.size() = 587
    LatencyAggregator:
      Sketches:
        mDownSketches[0]->num_values = 107 size = 0.1KB mMoveSketches[0]->num_values = 13535 size = 1.3KB
        mDownSketches[1]->num_values = 39 size = 0.1KB mMoveSketches[1]->num_values = 1776 size = 1.0KB
        mDownSketches[2]->num_values = 39 size = 0.1KB mMoveSketches[2]->num_values = 1776 size = 1.0KB
        mDownSketches[3]->num_values = 39 size = 0.1KB mMoveSketches[3]->num_values = 1776 size = 1.8KB
        mDownSketches[4]->num_values = 39 size = 0.1KB mMoveSketches[4]->num_values = 1776 size = 1.9KB
        mDownSketches[5]->num_values = 39 size = 0.1KB mMoveSketches[5]->num_values = 1776 size = 1.9KB
        mDownSketches[6]->num_values = 39 size = 0.1KB mMoveSketches[6]->num_values = 1776 size = 1.9KB
      mNumSketchEventsProcessed=13642
      mLastSlowEventTime=844437916732
      mNumEventsSinceLastSlowEventReport = 0
      mNumSkippedSlowEvents = 0


Input Manager Service (Java) State:
  Gesture Monitors (implemented as spy windows):
    0: name='[Gesture Monitor] swipe-up', inputChannelToken=android.os.BinderProxy@4c4d014 displayId=0
    1: name='[Gesture Monitor] edge-swipe', inputChannelToken=android.os.BinderProxy@e16dc15 displayId=0
    2: name='[Gesture Monitor] onehanded-touch', inputChannelToken=android.os.BinderProxy@8d7937e displayId=0
  BatteryController: 0 battery listeners

@olegje
Copy link

olegje commented Dec 2, 2024

I also have this issue with the Surface Pro 4.
The touchscreen works, bur only for moving the coursor and cliking with it. Not as a tablet type touchscreen.
I have trid Bliss 15.9 and 16.9.7, 20241012 same resutls on both.
I have run the script @electrikjesus is refering to, but no notisable change after that.
I have tried to activate the setting: > Blissify > misc> Force mouse click as touch, but nothing changed.

dumpsys input: INPUT MANAGER (dumpsys input)

Input properties:
persist.input.velocitytracker.strategy = default

Input Manager State:
Interactive: true
System UI Lights Out: false
Pointer Speed: 0
Pointer Acceleration Allowlist Bitmask: 0
Force Mouse As Touch: false
Pointer Acceleration: 3.000
Pointer Gestures Enabled: true
Show Touches: false
Pointer Capture: Disabled, seq=0

Event Hub State:
BuiltInKeyboardId: -2
Devices:
1: Android Power Button
Classes: KEYBOARD
Path: /dev/input/event18
Enabled: true
Descriptor: 121a35665e29ab67eb240e688adc943dd337ad5c
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
VideoDevice:
2: HDA Intel PCH HDMI/DP,pcm=8
Classes: SWITCH
Path: /dev/input/event17
Enabled: true
Descriptor: 3053bb6ed7ad3d4f78b7add8dc107a3ff654e3b1
Location: ALSA
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
3: HDA Intel PCH HDMI/DP,pcm=7
Classes: SWITCH
Path: /dev/input/event16
Enabled: true
Descriptor: 0cbae5346794eae9d231b92444e007d5e1789285
Location: ALSA
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
6: HDA Intel PCH Mic
Classes: SWITCH
Path: /dev/input/event13
Enabled: true
Descriptor: b1ef194c83c2fabae9ae074475d4b4ccee3da91d
Location: ALSA
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
9: Video Bus
Classes: KEYBOARD
Path: /dev/input/event10
Enabled: true
Descriptor: 7d459f4a4887145e25856cde154f416f2d0db120
Location: LNXVIDEO/video/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0019, vendor=0x0000, product=0x0006, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
VideoDevice:
13: Microsoft Surface Type Cover Touchpad
Classes: TOUCH | TOUCH_MT | EXTERNAL
Path: /dev/input/event4
Enabled: true
Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
Location: usb-0000:00:14.0-7/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile: /data/system/devices/idc/Vendor_045e_Product_07e8_Version_0111.idc
VideoDevice:
-1: Virtual
Classes: KEYBOARD | ALPHAKEY | DPAD | VIRTUAL
Path:
Enabled: true
Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm
ConfigurationFile:
VideoDevice:
5: HDA Intel PCH Headphone
Classes: SWITCH
Path: /dev/input/event14
Enabled: true
Descriptor: 0ccea1d95c1e961c0ed7008663e7a691a3d11737
Location: ALSA
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
16: Microsoft Surface Type Cover Keyboard
Classes: KEYBOARD | ALPHAKEY | DPAD | JOYSTICK | EXTERNAL
Path: /dev/input/event1
Enabled: true
Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
Location: usb-0000:00:14.0-7/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile: /data/system/devices/idc/Vendor_045e_Product_07e8_Version_0111.idc
VideoDevice:
18: Surface Pro 3/4 Buttons
Classes: KEYBOARD
Path: /dev/input/event8
Enabled: true
Descriptor: 223fcd3a3127f78a47dc81d8311e20f88bc825df
Location: MSHW0040/buttons
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0019, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
VideoDevice:
8: IPTS 1B96:006A Touchscreen
Classes: TOUCH
Path: /dev/input/event11
Enabled: true
Descriptor: ff8061d4efa5e99a6ea1bcc5344b4d0c1ee5dda4
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x1b96, product=0x006a, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
19: Lid Switch
Classes: SWITCH
Path: /dev/input/event0
Enabled: true
Descriptor: b1b383a648f23cb5298ba53d5c0992b1294c79b9
Location: PNP0C0D/button/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0019, vendor=0x0000, product=0x0005, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
4: HDA Intel PCH HDMI/DP,pcm=3
Classes: SWITCH
Path: /dev/input/event15
Enabled: true
Descriptor: 33713208b31ed707f0b8747a862541ec4503313f
Location: ALSA
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
VideoDevice:
15: Microsoft Surface Type Cover Mouse
Classes: CURSOR | EXTERNAL
Path: /dev/input/event2
Enabled: true
Descriptor: 1f0ff612310fef5738317a21dbc1901a49fe20ec
Location: usb-0000:00:14.0-7/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x045e, product=0x07e8, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile: /data/system/devices/idc/Vendor_045e_Product_07e8_Version_0111.idc
VideoDevice:
Unattached video devices:

Input Reader State (Nums of device: 12):
Device 8: HDA Intel PCH Headphone
EventHub Devices: [ 5 ]
Generation: 30
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 3: Surface Pro 3/4 Buttons
EventHub Devices: [ 18 ]
Generation: 9
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: KEYBOARD
KeyboardType: 1
ControllerNum: 0
Keyboard Input Mapper:
Parameters:
OrientationAware: true
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 9: HDA Intel PCH HDMI/DP,pcm=3
EventHub Devices: [ 4 ]
Generation: 33
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 10: HDA Intel PCH HDMI/DP,pcm=7
EventHub Devices: [ 3 ]
Generation: 36
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 6: IPTS 1B96:006A Touchscreen
EventHub Devices: [ 8 ]
Generation: 52
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: MOUSE
KeyboardType: 0
ControllerNum: 0
Motion Ranges:
X: source=MOUSE, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=9.352
Y: source=MOUSE, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=11.021
PRESSURE: source=MOUSE, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper (mode - POINTER):
Parameters:
GestureMode: MULTI_TOUCH
DeviceType: POINTER
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
OrientationAware: false
Orientation: ORIENTATION_0
Raw Touch Axes:
X: min=0, max=32767, flat=0, fuzz=0, resolution=112
Y: min=0, max=32767, flat=0, fuzz=0, resolution=198
Pressure: unknown range
TouchMajor: unknown range
TouchMinor: unknown range
ToolMajor: unknown range
ToolMinor: unknown range
Orientation: unknown range
Distance: unknown range
TiltX: unknown range
TiltY: unknown range
TrackingId: unknown range
Slot: unknown range
Calibration:
touch.size.calibration: NONE
touch.pressure.calibration: none
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Affine Transformation:
X scale: 1.000
X ymix: 0.000
X offset: 0.000
Y xmix: 0.000
Y scale: 1.000
Y offset: 0.000
Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
DisplayWidth: 2736px
DisplayHeight: 1824px
PhysicalWidth: 2736px
PhysicalHeight: 1824px
PhysicalLeft: 0
PhysicalTop: 0
InputDeviceOrientation: 0
Translation and Scaling Factors:
XScale: 0.083
YScale: 0.056
XPrecision: 11.977
YPrecision: 17.965
GeometricScale: 0.070
PressureScale: 0.000
SizeScale: 0.000
OrientationScale: 0.000
DistanceScale: 0.000
HaveTilt: false
TiltXCenter: 0.000
TiltXScale: 0.000
TiltYCenter: 0.000
TiltYScale: 0.000
Last Raw Button State: 0x00000000
Last Raw Touch: pointerCount=0
Last Cooked Button State: 0x00000000
Last Cooked Touch: pointerCount=0
Stylus Fusion:
ExternalStylusConnected: false
External Stylus ID: -1
External Stylus Data Timeout: 9223372036854775807
External Stylus State:
When: 9223372036854775807
Pressure: 0.000000
Button State: 0x00000000
Tool Type: 0
Pointer Gesture Detector:
XMovementScale: 0.057
YMovementScale: 0.057
XZoomScale: 0.021
YZoomScale: 0.021
MaxSwipeWidth: 11585.237305
Device 7: HDA Intel PCH Mic
EventHub Devices: [ 6 ]
Generation: 27
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 5: Video Bus
EventHub Devices: [ 9 ]
Generation: 21
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: KEYBOARD
KeyboardType: 1
ControllerNum: 0
Keyboard Input Mapper:
Parameters:
OrientationAware: true
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 12: Android Power Button
EventHub Devices: [ 1 ]
Generation: 42
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: KEYBOARD
KeyboardType: 1
ControllerNum: 0
Keyboard Input Mapper:
Parameters:
OrientationAware: true
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 11: HDA Intel PCH HDMI/DP,pcm=8
EventHub Devices: [ 2 ]
Generation: 39
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 2: Lid Switch
EventHub Devices: [ 19 ]
Generation: 6
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: 0x80000000
KeyboardType: 0
ControllerNum: 0
Switch Input Mapper:
SwitchValues: 0
Device 4: Microsoft Surface Type Cover Keyboard
EventHub Devices: [ 16 15 13 ]
Generation: 53
IsExternal: true
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: KEYBOARD | DPAD | MOUSE | STYLUS | JOYSTICK
KeyboardType: 2
ControllerNum: 0
Motion Ranges:
X: source=MOUSE | STYLUS, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=27.961
Y: source=MOUSE | STYLUS, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=36.553
PRESSURE: source=MOUSE | STYLUS, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
X: source=MOUSE, min=0.000, max=2735.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=MOUSE, min=0.000, max=1823.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=MOUSE, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
VSCROLL: source=MOUSE, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
HSCROLL: source=MOUSE, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
GENERIC_1: source=JOYSTICK, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper (mode - POINTER):
Parameters:
GestureMode: MULTI_TOUCH
DeviceType: POINTER
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false, displayId=''
OrientationAware: true
Orientation: ORIENTATION_0
Raw Touch Axes:
X: min=0, max=1956, flat=0, fuzz=0, resolution=20
Y: min=0, max=997, flat=0, fuzz=0, resolution=20
Pressure: unknown range
TouchMajor: unknown range
TouchMinor: unknown range
ToolMajor: unknown range
ToolMinor: unknown range
Orientation: unknown range
Distance: unknown range
TiltX: unknown range
TiltY: unknown range
TrackingId: min=0, max=65535, flat=0, fuzz=0, resolution=0
Slot: min=0, max=4, flat=0, fuzz=0, resolution=0
Calibration:
touch.size.calibration: NONE
touch.pressure.calibration: none
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Affine Transformation:
X scale: 1.000
X ymix: 0.000
X offset: 0.000
Y xmix: 0.000
Y scale: 1.000
Y offset: 0.000
Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]
DisplayWidth: 2736px
DisplayHeight: 1824px
PhysicalWidth: 2736px
PhysicalHeight: 1824px
PhysicalLeft: 0
PhysicalTop: 0
InputDeviceOrientation: 0
Translation and Scaling Factors:
XScale: 1.398
YScale: 1.828
XPrecision: 0.715
YPrecision: 0.547
GeometricScale: 1.613
PressureScale: 0.000
SizeScale: 0.000
OrientationScale: 0.000
DistanceScale: 0.000
HaveTilt: false
TiltXCenter: 0.000
TiltXScale: 0.000
TiltYCenter: 0.000
TiltYScale: 0.000
Last Raw Button State: 0x00000000
Last Raw Touch: pointerCount=0
Last Cooked Button State: 0x00000000
Last Cooked Touch: pointerCount=0
Stylus Fusion:
ExternalStylusConnected: false
External Stylus ID: -1
External Stylus Data Timeout: 9223372036854775807
External Stylus State:
When: 9223372036854775807
Pressure: 0.000000
Button State: 0x00000000
Tool Type: 0
Pointer Gesture Detector:
XMovementScale: 1.197
YMovementScale: 1.197
XZoomScale: 0.449
YZoomScale: 0.449
MaxSwipeWidth: 549.195618
Cursor Input Mapper:
Parameters:
HasAssociatedDisplay: true
Mode: POINTER
OrientationAware: false
XScale: 1.000
YScale: 1.000
XPrecision: 1.000
YPrecision: 1.000
AbsXScale: 1.000
AbsYScale: 1.000
AbsXPrecision: 1.000
AbsYPrecision: 1.000
HaveVWheel: true
HaveHWheel: true
VWheelScale: 1.000
HWheelScale: 1.000
DisplayId: 0
Orientation: 0
ButtonState: 0x00000000
Down: false
DownTime: 0
Keyboard Input Mapper:
Parameters:
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 2
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 32941547000
Joystick Input Mapper:
Axes:
GENERIC_1: min=0.00000, max=1.00000, flat=0.00000, fuzz=0.00000, resolution=0.00000
scale=0.00098, offset=0.00000, highScale=0.00098, highOffset=0.00000
rawAxis=32, rawMin=0, rawMax=1023, rawFlat=0, rawFuzz=0, rawResolution=0
Device -1: Virtual
EventHub Devices: [ -1 ]
Generation: 3
IsExternal: false
AssociatedDisplayPort:
AssociatedDisplayUniqueId:
HasMic: false
Sources: KEYBOARD | DPAD
KeyboardType: 2
ControllerNum: 0
Keyboard Input Mapper:
Parameters:
OrientationAware: true
HandlesKeyRepeat: false
KeyboardType: 2
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Configuration:
ExcludedDeviceNames: [Power Button]
VirtualKeyQuietTime: 0.0ms
PointerVelocityControlParameters: scale=1.000, lowThreshold=3000.000, highThreshold=500.000, acceleration=3.000
WheelVelocityControlParameters: scale=1.000, lowThreshold=50.000, highThreshold=15.000, acceleration=4.000
PointerTouchEmulation: false
PointerGesture:
Enabled: true
QuietInterval: 100.0ms
DragMinSwitchSpeed: 50.0px/s
TapInterval: 150.0ms
TapDragInterval: 300.0ms
TapSlop: 20.0px
MultitouchSettleInterval: 100.0ms
MultitouchMinDistance: 15.0px
SwipeTransitionAngleCosine: 0.3
SwipeMaxWidthRatio: 0.2
MovementSpeedRatio: 0.8
ZoomSpeedRatio: 0.3
Viewports:
Viewport INTERNAL: displayId=0, uniqueId=local:4633223040470819840, port=0, orientation=0, logicalFrame=[0, 0, 2736, 1824], physicalFrame=[0, 0, 2736, 1824], deviceSize=[2736, 1824], isActive=[1]

UnwantedInteractionBlocker:
mPreferStylusOverTouchBlocker:
mActiveStyli: {}
mLastTouchEvents: 4:NotifyMotionArgs(id=194612152, eventTime=87756023095, deviceId=4, source=MOUSE | STYLUS, action=HOVER_MOVE, pointerCount=1 pointers={0: id=0 x=1347.0 y=1645.9 pressure=0.0}, flags=0x00000040)
6:NotifyMotionArgs(id=187110422, eventTime=62494155332, deviceId=6, source=MOUSE, action=HOVER_MOVE, pointerCount=1 pointers={0: id=0 x=579.4 y=1744.1 pressure=0.0}, flags=0x00000040)
mDevicesWithMixedToolType: {}
mCanceledDevices: {}
mEnablePalmRejection: 0
isPalmRejectionEnabled (flag value): 0
mPalmRejectors: None

Input Classifier State:
Motion Classifier:

Input Dispatcher State:
DispatchEnabled: true
DispatchFrozen: false
InputFilterEnabled: false
FocusedDisplayId: 0
FocusedApplications:
displayId=0, name='ActivityRecord{694062a u0 com.android.settings/.SubSettings} t38}', dispatchingTimeout=5000ms
FocusedWindows:
displayId=0, name='ec9e18a com.android.settings/com.android.settings.SubSettings'
FocusRequests:
displayId=0, name='ec9e18a com.android.settings/com.android.settings.SubSettings' result='OK'
Pointer Capture Requested: false
Current Window with Pointer Capture: None
TouchStatesByDisplay:
0: down=false, split=false, deviceId=4, source=0x00006002
Windows:
Display: 0
logicalSize=2736x1824
transform (ROT_0) (IDENTITY)
Windows:
0: name='[Gesture Monitor] swipe-up', id=77, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] swipe-up, applicationInfo.token=, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1852, ownerUid=10256, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
1: name='[Gesture Monitor] edge-swipe', id=67, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] edge-swipe, applicationInfo.token=, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1509, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
2: name='[Gesture Monitor] onehanded-touch', id=46, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | SPY, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=[Gesture Monitor] onehanded-touch, applicationInfo.token=, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1509, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
3: name='db5128f Taskbar', id=90, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY | WATCH_OUTSIDE_TOUCH | SLIPPERY, alpha=1.00, frame=[0,1512][2736,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=, ownerPid=1852, ownerUid=10256, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (TRANSLATE)
1.0000 0.0000 -0.0000
0.0000 1.0000 -1512.0000
0.0000 0.0000 1.0000
4: name='fc498cc StatusBar', id=82, displayId=0, inputConfig=NOT_FOCUSABLE | TRUSTED_OVERLAY, alpha=1.00, frame=[0,0][2736,48], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[0,0][2736,48], ownerPid=1509, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
5: name='ec9e18a com.android.settings/com.android.settings.SubSettings', id=227, displayId=0, inputConfig=0x0, alpha=1.00, frame=[994,0][2736,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{694062a u0 com.android.settings/.SubSettings} t38}, applicationInfo.token=0x750f4f9f3090, touchableRegion=[994,0][2736,1824], ownerPid=1719, ownerUid=1000, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (TRANSLATE)
1.0000 -0.0000 -994.0000
-0.0000 1.0000 0.0000
0.0000 0.0000 1.0000
6: name='8f944cc ActivityRecordInputSink com.android.settings/.SubSettings', id=232, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[994,0][994,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[994,0][2736,1824], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (TRANSLATE)
1.0000 -0.0000 -994.0000
-0.0000 1.0000 0.0000
0.0000 0.0000 1.0000
7: name='246f9cd ActivityRecordInputSink com.android.settings/.SubSettings', id=220, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[994,0][994,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[994,0][2736,1824], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (TRANSLATE)
1.0000 -0.0000 -994.0000
-0.0000 1.0000 0.0000
0.0000 0.0000 1.0000
8: name='56e723c ActivityRecordInputSink com.android.settings/.SubSettings', id=208, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[994,0][994,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[994,0][2736,1824], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (TRANSLATE)
1.0000 -0.0000 -994.0000
-0.0000 1.0000 0.0000
0.0000 0.0000 1.0000
9: name='281b262 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity', id=159, displayId=0, inputConfig=0x0, alpha=1.00, frame=[0,0][994,1824], globalScale=1.000000, applicationInfo.name=ActivityRecord{7d77219 u0 com.android.settings/.homepage.SettingsHomepageActivity} t38}, applicationInfo.token=0x750f4f9ca2f0, touchableRegion=[0,0][994,1824], ownerPid=1719, ownerUid=1000, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
10: name='c4cdf92 ActivityRecordInputSink com.android.settings/.homepage.SettingsHomepageActivity', id=149, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_FOCUSABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[0,0][994,1824], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
11: name='16e21bf ActivityRecordInputSink com.android.vending/com.google.android.finsky.activities.MainActivity', id=114, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
12: name='79b454a ActivityRecordInputSink com.android.launcher3/.uioverrides.QuickstepLauncher', id=96, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE, alpha=1.00, frame=[0,0][0,0], globalScale=0.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=[-27359,-18239][27360,18240], ownerPid=1100, ownerUid=1000, dispatchingTimeout=0ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (IDENTITY)
13: name='Wallpaper BBQ wrapper#76', id=76, displayId=0, inputConfig=NO_INPUT_CHANNEL | NOT_VISIBLE, alpha=1.00, frame=[0,0][3243,1824], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=, ownerPid=1509, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=false, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (SCALE )
1.1841 -0.0000 0.0000
-0.0000 1.1842 0.0000
0.0000 0.0000 1.0000
14: name='beaa497 com.android.systemui.wallpapers.ImageWallpaper', id=75, displayId=0, inputConfig=NOT_VISIBLE | NOT_FOCUSABLE | NOT_TOUCHABLE | PREVENT_SPLITTING | IS_WALLPAPER, alpha=1.00, frame=[0,0][0,0], globalScale=1.000000, applicationInfo.name=, applicationInfo.token=, touchableRegion=, ownerPid=1509, ownerUid=10266, dispatchingTimeout=5000ms, hasToken=true, touchOcclusionMode=BLOCK_UNTRUSTED
transform (ROT_0) (SCALE )
1.1841 -0.0000 0.0000
-0.0000 1.1842 0.0000
0.0000 0.0000 1.0000
Global monitors on display 0:
0: 'PointerEventDispatcher0 (server)',
RecentQueue: length=10
MotionEvent, age=98246ms
MotionEvent, age=98239ms
MotionEvent, age=98232ms
MotionEvent, age=98225ms
MotionEvent, age=97925ms
MotionEvent, age=97925ms
FocusEvent(hasFocus=false), age=97886ms
FocusEvent(hasFocus=true), age=97886ms
FocusEvent(hasFocus=false), age=97865ms
FocusEvent(hasFocus=true), age=97736ms
PendingEvent:
InboundQueue:
ReplacedKeys:
CommandQueue:
Connections:
502: channelName='281b262 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', windowName='281b262 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
509: channelName='b43f23d Forgrunnsvindu (server)', windowName='b43f23d Forgrunnsvindu (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
532: channelName='ec9e18a com.android.settings/com.android.settings.SubSettings (server)', windowName='ec9e18a com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
484: channelName='8b362f4 InputMethod (server)', windowName='8b362f4 InputMethod (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
479: channelName='5bb27c7 com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (server)', windowName='5bb27c7 com.android.launcher3/com.android.launcher3.uioverrides.QuickstepLauncher (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
505: channelName='3dcb0bf com.android.vending/com.android.vending.AssetBrowserActivity (server)', windowName='3dcb0bf com.android.vending/com.android.vending.AssetBrowserActivity (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
473: channelName='db5128f Taskbar (server)', windowName='db5128f Taskbar (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
412: channelName='fc498cc StatusBar (server)', windowName='fc498cc StatusBar (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
408: channelName='a26b91f EdgeBackGestureHandler0 (server)', windowName='a26b91f EdgeBackGestureHandler0 (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
406: channelName='[Gesture Monitor] edge-swipe (server)', windowName='[Gesture Monitor] edge-swipe (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
410: channelName='8d99734 NotificationShade (server)', windowName='8d99734 NotificationShade (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
419: channelName='beaa497 com.android.systemui.wallpapers.ImageWallpaper (server)', windowName='beaa497 com.android.systemui.wallpapers.ImageWallpaper (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
499: channelName='ab607cd com.android.settings/com.android.settings.SubSettings (server)', windowName='ab607cd com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
352: channelName='ec0dced ScreenDecorOverlayBottom (server)', windowName='ec0dced ScreenDecorOverlayBottom (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
501: channelName='59fb958 com.android.settings/com.android.settings.SubSettings (server)', windowName='59fb958 com.android.settings/com.android.settings.SubSettings (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
481: channelName='a088de3 Forgrunnsvindu (server)', windowName='a088de3 Forgrunnsvindu (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
212: channelName='9dc18d4 ScreenDecorOverlay (server)', windowName='9dc18d4 ScreenDecorOverlay (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
369: channelName='c14ca5c ShellDropTarget (server)', windowName='c14ca5c ShellDropTarget (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
373: channelName='[Gesture Monitor] swipe-up (server)', windowName='[Gesture Monitor] swipe-up (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
362: channelName='[Gesture Monitor] onehanded-touch (server)', windowName='[Gesture Monitor] onehanded-touch (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
457: channelName='recents_animation_input_consumer (server)', windowName='recents_animation_input_consumer (server)', status=NORMAL, monitor=false, responsive=true
OutboundQueue:
WaitQueue:
175: channelName='PointerEventDispatcher0 (server)', windowName='PointerEventDispatcher0 (server)', status=NORMAL, monitor=true, responsive=true
OutboundQueue:
WaitQueue:
AppSwitch: not pending
Configuration:
KeyRepeatDelay: 50ms
KeyRepeatTimeout: 300ms
LatencyTracker:
mTimelines.size() = 337
mEventTimes.size() = 337
LatencyAggregator:
Sketches:
mDownSketches[0]->num_values = 21 size = 0.0KB mMoveSketches[0]->num_values = 2497 size = 1.1KB
mDownSketches[1]->num_values = 8 size = 0.0KB mMoveSketches[1]->num_values = 565 size = 0.3KB
mDownSketches[2]->num_values = 8 size = 0.0KB mMoveSketches[2]->num_values = 565 size = 0.3KB
mDownSketches[3]->num_values = 8 size = 0.0KB mMoveSketches[3]->num_values = 565 size = 0.6KB
mDownSketches[4]->num_values = 8 size = 0.0KB mMoveSketches[4]->num_values = 565 size = 0.6KB
mDownSketches[5]->num_values = 8 size = 0.0KB mMoveSketches[5]->num_values = 565 size = 0.7KB
mDownSketches[6]->num_values = 8 size = 0.0KB mMoveSketches[6]->num_values = 565 size = 0.7KB
mNumSketchEventsProcessed=2518
mLastSlowEventTime=0
mNumEventsSinceLastSlowEventReport = 573
mNumSkippedSlowEvents = 4

Input Manager Service (Java) State:
Gesture Monitors (implemented as spy windows):
0: name='[Gesture Monitor] edge-swipe', inputChannelToken=android.os.BinderProxy@fa85440 displayId=0
1: name='[Gesture Monitor] swipe-up', inputChannelToken=android.os.BinderProxy@62af333 displayId=0
2: name='[Gesture Monitor] onehanded-touch', inputChannelToken=android.os.BinderProxy@11152de displayId=0
BatteryController: 0 battery listeners

uevent: MODALIAS=dmi:bvnMicrosoftCorporation:bvr109.3748.768:bd05.04.2021:svnMicrosoftCorporation:pnSurfacePro4:pvr124000000000000000000000D0B08F1C03P38:rvnMicrosoftCorporation:rnSurfacePro4:rvr:cvnMicrosoftCorporation:ct9:cvr:skuSurface_Pro_4:
Product name: Surface pro 4

After running the script i now have these two files in /data/system/devices/idc:

Vendor_045e_Product_07e8_Version_0111.idc #Input device config file touch.deviceType = default touch.orientationAware = 1 touch.gestureMode = spots
Vendor_1b96_Product_006a_Version_0000.idc #Input device config file device.internal = 1 touch.deviceType = touchScreen

@hmtheboy154
Copy link
Member

update: found the cause
linux-surface/iptsd#184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests