projects
/
life-pd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b07a383
)
Invert coloration on A button press
author
JC
<dev@jacobcasper.com>
Sun, 30 Jul 2023 23:30:06 +0000
(18:30 -0500)
committer
JC
<dev@jacobcasper.com>
Sun, 30 Jul 2023 23:30:06 +0000
(18:30 -0500)
source/main.lua
patch
|
blob
|
blame
|
history
diff --git
a/source/main.lua
b/source/main.lua
index
e69de29
..
2c650e1
100644
(file)
--- 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