summaryrefslogtreecommitdiff
path: root/ROMs/paint.c
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-17 20:49:22 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-17 20:49:22 +1000
commit18868128e18d38b706e7df14e8e683e1a9739c17 (patch)
tree6f0e0e5eee646f10cbad9c0c89c24d330bc58cc6 /ROMs/paint.c
parentd87ab8af4c86a3fc6ee237444e372d87e536e3ef (diff)
chore: Initial commit
Diffstat (limited to 'ROMs/paint.c')
-rw-r--r--ROMs/paint.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/ROMs/paint.c b/ROMs/paint.c
deleted file mode 100644
index 71c478e..0000000
--- a/ROMs/paint.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include "std.c"
-#include "hid.c"
-#include "screen.c"
-
-int main()
-{
- int color = 0;
- while (true)
- {
- int mouseIndex = hid_getMouseIndex();
- int mouseState = hid_getMouseState();
-
- if (mouseState & MS_LEFT)
- screen_setPixel(mouseIndex, (color % 3) + 1);
-
- if (hid_getKeyState(SK_C))
- screen_clear(COLOR_BLACK);
-
- if (hid_getKeyState(SK_A))
- {
- color++;
- while (hid_getKeyState(SK_A)) { }
- }
- }
-} \ No newline at end of file