Skip to content

XINPUT_VIRTUAL_KEY not handling "no key pressed" state #9

@alanoliveira

Description

@alanoliveira

XInputGetKeystroke set the VirtualKey value to 0 if no key is pressed.
As the "no key pressed" value do not exists in Xinput.h and XINPUT_VIRTUAL_KEY is not set as a flag, zig panics when XInputGetKeystroke is used.

It would be nice if this could be set as a flag in a future update

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