Input.Event uses deprecated `time` field which does not exist any more on 32 bit
About three years ago, Linux changed the input_event struct to not use a struct timeval
any more on 32 bit machines. However, current linux.api still unconditionally includes the Posix.timeval time
unconditionally. The current API is to entirely ignore that field in C sources, and use the provided #define
s event.input_event_sec
and .input_event_usec
. This may be a bit tricky to model in a VAPI, but I'm not sure how well such defines are supported?
This leads to build failures on 32 bit:
./../source/src/umockdev.vala:919:21: error: 'struct input_event' has no member named 'time'
919 | delay = (int) (ev_sec - ev.time.tv_sec) * 1000 + (int) (ev_usec - ev.time.tv_usec) / 1000;
|
as the underlying C sources don't have a .time field any more.