Skip to content

How can I see device mode? #235

@jave

Description

@jave

I have a wacom expresskey, it hs 3 leds, and a mode button. With the mode button i can change which mode led lights up.

When I use libinput debug-events, I can see the mode:

event3 TABLET_PAD_BUTTON +2.128s 0 pressed (mode 0)
event3 TABLET_PAD_BUTTON +2.356s 0 released (mode 0)
event3 TABLET_PAD_BUTTON +2.780s 0 pressed (mode 1)
event3 TABLET_PAD_BUTTON +3.040s 0 released (mode 1)
event3 TABLET_PAD_BUTTON +3.916s 0 pressed (mode 2)
event3 TABLET_PAD_BUTTON +4.124s 0 released (mode 2)

However, I cant seem to read the mode from python code. Is it possible?

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