Skip to content

BInding on just "mod" #216

@PandaWood

Description

@PandaWood

I wanted to detect the presence of "Ctl/Command" and log the fact
So I use "keyup" and "keydown" - something like this
Mousetrap.bind('mod', function(_this) {
_this.ctrlPressed = false;
}, 'keyup');

But I don't get any events firing - I can't see any documentation clarifying this but I gather just checking for "mod" and nothing else isn't supported/expected?

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