Skip to content

Commit

Permalink
lirc: support -D_TIME_BITS=64 for 64-bit time
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Heitbaum committed Jul 22, 2022
1 parent d27138a commit 2da3f0e
Showing 1 changed file with 11 additions and 0 deletions.
@@ -0,0 +1,11 @@
--- a/plugins/devinput.c 2017-09-10 08:52:19.000000000 +0000
+++ b/plugins/devinput.c 2022-07-19 13:59:01.653286222 +0000
@@ -459,7 +459,7 @@
return 0;
}

- log_trace("time %ld.%06ld type %d code %d value %d", event.time.tv_sec, event.time.tv_usec, event.type,
+ log_trace("time %ld.%06ld type %d code %d value %d", event.input_event_sec, event.input_event_usec, event.type,
event.code, event.value);

value = (unsigned)event.value;

0 comments on commit 2da3f0e

Please sign in to comment.