Input dev finally works
This commit is contained in:
parent
0557006254
commit
85e6e78b8c
2 changed files with 3 additions and 3 deletions
|
|
@ -166,9 +166,9 @@ static void* input_read_thread_func(void* ptr) {
|
|||
if (rc == 0) {
|
||||
const int is_syn = (read_ev.type == EV_SYN) && (read_ev.code == SYN_REPORT);
|
||||
|
||||
if ((read_ev.code == MSC_TIMESTAMP) && (read_ev.type = EV_MSC)) {
|
||||
if ((read_ev.code == MSC_TIMESTAMP) && (read_ev.type == EV_MSC)) {
|
||||
// the output device will handle that
|
||||
printf("MSC_TIMESTAMP found. Ignoring...");
|
||||
//printf("MSC_TIMESTAMP found. Ignoring...\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "queue.h"
|
||||
|
||||
#define INCLUDE_INPUT_DEBUG
|
||||
#undef INCLUDE_INPUT_DEBUG
|
||||
|
||||
#define INPUT_DEV_CTRL_FLAG_EXIT 0x00000001U
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue