From: JC Date: Sun, 30 Jul 2023 23:30:06 +0000 (-0500) Subject: Invert coloration on A button press X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=77772b8b0e6d4137f1e3511e23fbf6326c57ab21;p=life-pd.git Invert coloration on A button press --- diff --git a/source/main.lua b/source/main.lua index e69de29..2c650e1 100644 --- a/source/main.lua +++ b/source/main.lua @@ -0,0 +1,5 @@ +function playdate.update() + if playdate.buttonJustPressed("a") then + playdate.display.setInverted(not playdate.display.getInverted()) + end +end