Skip to content

regex excludes Raydium Corp Touch input device #4

Description

@error454

I've got a touch screen whose libinput entry looks like this

Device:                  Raydium Corporation Raydium Touch System
Kernel:                  /dev/input/event2
Id:                      usb:2386:3114
Group:                   4
Seat:                    seat0, default
Size:                    320x180mm
Capabilities:            touch
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             identity matrix
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

The first regex check for 'Touchscreen' was failing, I backed it off to 'Touch' and it went through. I'm wondering if perhaps only checking for Capabilities: touch might be safe for other screens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions