It would be handy to have keyIsPressed, keyJustPressed, and keyJustReleased query functions in addition to the playdate.keyPressed callback function. These would mirror the button variants in syntax and behavior.
The primary use case I’m solving for is using multiple separate tools/libraries for debugging that require shortcuts (or using any single such tool/library in combination with shortcuts of my own). With these functions, those tools could query for key events in the update loop instead of conflicting with/overriding the singular keyPressed handler.