Skip to content

Add support for playdate.keyPressed #2

@scratchminer

Description

@scratchminer

The Playdate Lua and C APIs expose a keyPressed callback/event that was intended to be used for debugging, but maybe Playwrite could support the function as well to implement keyboard support via the Simulator/other tools that send keyboard input to the Playdate?

Thorough testing has revealed that some keys (most notably the letter A and all the uppercase letters) are completely unusable in the Simulator, but that doesn't mean the device doesn't support them. See this gist I made for a complete list of the testable keys in the Simulator.

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