From 18868128e18d38b706e7df14e8e683e1a9739c17 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Tue, 17 Mar 2026 20:49:22 +1000 Subject: chore: Initial commit --- ROMs/paint.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 ROMs/paint.c (limited to 'ROMs/paint.c') 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 -- cgit v1.3.1