diff --git a/examples/basic/basic.c b/examples/basic/basic.c index 7ab9e5c..7ad7d4b 100644 --- a/examples/basic/basic.c +++ b/examples/basic/basic.c @@ -89,10 +89,10 @@ int main(void) { printf("dropped : %s\n", win->event.droppedFiles[i]); } - else if (win->event.type == RGFW_jsButtonPressed) + else if (win->event.type == RGFW_gpButtonPressed) printf("pressed %i\n", win->event.button); - else if (win->event.type == RGFW_jsAxisMove && !win->event.button) + else if (win->event.type == RGFW_gpAxisMove && !win->event.button) printf("{%i, %i}\n", win->event.axis[0].x, win->event.axis[0].y); }