Skip to content

Inserting a mouse input together with a keyboard input into InputDefineVerb disables the mouse input #997

@RationaLess

Description

@RationaLess

Is this issue related to documentation?

  • This issue is not related to documentation

Issue or Feature Request

I encountered this issue when trying to map both mb_left and vk_enter to the defaultKbmBinding argument of InputDefineVerb.

InputDefineVerb(INPUT_VERB.ACCEPT, "accept", [mb_left, vk_enter], gp_face1);

With this line, the ACCEPT verb will only listen for vk_enter, and not mb_left. They work when included seperately. The order of the keywords does not matter, it still breaks. Multiple mouse keywords work together as well, but they cease to work once a keyboard constant has been added to the argument array.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions