Skip to content

Add double tap #7

@qwelyt

Description

@qwelyt
KeyType{
    DoubleTap(Key, u8, Key),
// ...
}

If pressed once it works as normal key. If pressed and held, it works as a normal key.
If you double tap the key (press**press) within the time limit (u8) then it acts as key2.

How tap-tap&hold should be handled I'm not fully sure.

Perhaps there are several types hidden here.

KeyType {
   TapHold, // Press-Release-Press&Hold
   DoubleTap, // Press-Release-Press-Release
   DoubleTapHold, // Press-Release-Press-Release-Press&Hold
}

There are a lot of possibilities. Might be feature creep.

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