#emergency_disk=source=tmpfs;type=tmpfs;option=size=6M
#services=[dynamicbox],[shortcut],[notification],[utility],[badge],[file]
auto_align=false
-use_event_time=false
-use_gettimeofday=true
+use_event_time=true
+use_gettimeofday=false
slave_event_boost_on=-10
slave_event_boost_off=0
event_filter=0.5
static int event_control_init(void)
{
int status;
+ unsigned int clockId = CLOCK_MONOTONIC;
DbgPrint("Initializing event controller\n");
if (s_info.handle != -1) {
ErrPrint("Error: %s\n", strerror(errno));
}
+ if (ioctl(s_info.handle, EVIOCSCLOCKID, &clockId) < 0) {
+ ErrPrint("Error: %s\n", strerror(errno));
+ }
+
status = pipe2(s_info.evt_pipe, O_CLOEXEC);
if (status < 0) {
ErrPrint("Unable to prepare evt pipe: %s\n", strerror(errno));