diff options
Diffstat (limited to 'ROMs/paint.c')
| -rw-r--r-- | ROMs/paint.c | 25 |
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 |
