Skip to content

Keyboard methods pressKey and releaseKey ignore updated autoDelayMs #188

Closed
@dancesWithBugs

Description

@dancesWithBugs

Version

1.5.0

Description

One can update the keyboard's auto-delay value by setting keyboard.config.autoDelayMs to a new value. The type() method will then use the updated value, but pressKey() and releaseKey() will not. For these, the delay has to be updated via keyboard.nativeAdapter.keyboard.setKeyboardDelay().

This is inconsistent behavior and should be streamlined. I'd suggest updating Keyboard to add a setter that updates the delay in a streamlined fashion for all methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to existing features

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions