#include <pico.h>
int main() {
SDL_Event event;
printf("Waiting for an event for the next 2 seconds...\n");
if (happened) {
printf("Event detected! Type: %d\n", event.type);
}
else {
printf("No event detected in those 2 seconds\n");
}
return 0;
}
void pico_init(int on)
Initializes and terminates pico.