Skip to content

Disable-while-typing doesn't work on Surface Pro Type Cover #2030

@technobirb

Description

@technobirb

There are 2 devices even though there is only 1 keyboard:

❯ sudo libinput list-devices
Device:                  Microsoft Surface 045E:09AE
Kernel:                  /dev/input/event18
Id:                      host:045e:09ae
Group:                   6
Seat:                    seat0, default
Capabilities:            keyboard pointer

Device:                  Microsoft Surface 045E:09B0 Keyboard
Kernel:                  /dev/input/event17
Id:                      host:045e:09b0
Group:                   7
Seat:                    seat0, default
Capabilities:            keyboard

Pressing a key triggers the former instead of latter:

k event18  KEYBOARD_KEY                 +0.092s *** (-1) released

And this is not matched by libinput quirks:

[Microsoft Surface Keyboard]
MatchName=Microsoft Surface *Keyboard
AttrKeyboardIntegration=internal

The same ID & the issue is seen on Surface Laptop 3 as well: #67 (comment)

  • Why 2 devices?
  • Is there a way to group devices together instead of marking them as internal? The type covers can be detached after all so it's kinda like a peripheral.

libinput pairs touchpads and keyboards for the disable-while-typing feature.

https://wayland.freedesktop.org/libinput/doc/latest/palm-detection.html#disable-while-typing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions