| 148 | } |
| 149 | |
| 150 | bool orientationchange_callback(int eventType, const EmscriptenOrientationChangeEvent *e, void *userData) { |
| 151 | printf("%s, orientationAngle: %d, orientationIndex: %d\n", emscripten_event_type_to_string(eventType), e->orientationAngle, e->orientationIndex); |
| 152 | |
| 153 | return 0; |
| 154 | } |
| 155 | |
| 156 | bool fullscreenchange_callback(int eventType, const EmscriptenFullscreenChangeEvent *e, void *userData) { |
| 157 | printf("%s, isFullscreen: %d, fullscreenEnabled: %d, fs element nodeName: \"%s\", fs element id: \"%s\". New size: %dx%d pixels. Screen size: %dx%d pixels.\n", |
no test coverage detected