Skip to content

Expose raw hook event data #204

@Descolada

Description

@Descolada

Hello,
Please consider exposing the raw data of hook events, by which I mean in Windows the pointer to KBDLLHOOKSTRUCT/MSLLHOOKSTRUCT and in X11 XKeyPressedEvent. First of all it would allow accessing struct fields not exposed by libuiohook such as KBDLLHOOKSTRUCT->dwExtraInfo, and second it would allow modifying the underlying structure. For example in Windows KBDLLHOOKSTRUCT and MSLLHOOKSTRUCT get propagated down the hook chain, which means we can change how those hooks interpret the data, eg we could remove the LLMHF_INJECTED flag or pass info around using dwExtraInfo.

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