| 168 | } |
| 169 | |
| 170 | bool visibilitychange_callback(int eventType, const EmscriptenVisibilityChangeEvent *e, void *userData) { |
| 171 | printf("%s, hidden: %d, visibilityState: %d\n", emscripten_event_type_to_string(eventType), e->hidden, e->visibilityState); |
| 172 | |
| 173 | return 0; |
| 174 | } |
| 175 | |
| 176 | bool touch_callback(int eventType, const EmscriptenTouchEvent *e, void *userData) { |
| 177 | printf("%s, numTouches: %d timestamp: %lf %s%s%s%s\n", |
no test coverage detected