playdate.keyPressed(key) case inconsistent between Windows/macOS


This is a minor nitpick, but the key param passed to playdate.keyPressed(key) seems to return uppercase characters on Windows and lowercase characters on macOS.

A simple workaround is just: key = string.lower(key)

However I was initially confused having started my project on Windows and then none of the debug keys working on macOS because I was checking if key == 'W' then ...

SDK 1.12.0

Thanks for the report; we will change the Windows version to match the mac version behavior.

1 Like