Skip to content

How to get DeviceID for a specific button pressed? #6

@MasterGroosha

Description

@MasterGroosha

Hello, Sir.
I have troubles with understanding the documentation, could you please point me to the right direction?

I have a "laptop" with keyboard and touchpad. Unfortunately, the touchpad is somehow "hacked" by chinese manufacturers, so it has smart gestures emulated. So whenever I swipe left on touchpad, it sends "Left Windows" button.
As far as I see, I can try filtering such buttons by getting DeviceID of keyboard & touchpad and simply ignoring "Left Windows" sends by touchpad.

GetDevInfo function requiers an index. However is there any way to get device which send a specific button?

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