#include <stdio.h>
#include <inttypes.h>
#if _WIN32 || _WIN64
#include <windows.h>
static void sleep_ms(int time) {
Sleep(time);
}
#else
#include <unistd.h>
static void sleep_ms(int time) {
usleep(time * 1000);
}
#endif
(void)(user_data);
printf("External signal: device time stamp %" PRId64 ", value %i \n",
}
char* serial_number;
printf("Subscribing to external signal for eye tracker with serial number %s.\n", serial_number);
sleep_ms(2000);
printf("Unsubscribed from external signal.");
}