Apologies if I've reported these before, but I've been working on improving the scraper for playdate-luacats and noticed few minor issues in the Lua SDK docs which I'm currently having to work around:
Incorrect in 2.7.1:
playdate.network.http:query has the incorrect signature (missing method). Should be: playdate.network.http:query(method, path, [headers], [data]) not playdate.network.http:query(path, [headers], data).
playdate.graphics.setClipRect(rect) is incorrectly duplicated under playdate.graphics.setClipRect(x, y, width, height). It has it's own definition one line below so the duplicated method can be removed.
Some callbacks, like playdate.update() have () while others are missing it. Also some of them may have optional arguments too. playdate.keyboard.keyboardDidShowCallback() playdate.keyboard.keyboardDidHideCallback() playdate.keyboard.keyboardWillHideCallback() playdate.keyboard.keyboardAnimatingCallback() playdate.keyboard.textChangedCallback() playdate.timer.timerEndedCallback(...) playdate.timer.updateCallback(...) playdate.frameTimer.timerEndedCallback(...) playdate.frameTimer.updateCallback(...)
Just a quick shoutout to @notpeter for keeping together one of the most essential libraries for playdate development out there! You're a hero! (And I hope these issues are fixed Let us know if there's anything us non-Panic folks can do to help!)