We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I set a log in io_handler like this:
static void io_handler(FILE* input, FILE* output, internal_state_t* state) { setvbuf(input, NULL, _IOLBF, 1024); setvbuf(output, NULL, _IOLBF, 1024);
// Tell version fprintf(output, "v %d\n", VERSION); // Tell limits fprintf(output, "^ %d %d %d %d\n", state->max_contacts, state->max_x, state->max_y, state->max_pressure); // Tell pid fprintf(output, "$ %d\n", getpid()); char read_buffer[80]; while (fgets(read_buffer, sizeof(read_buffer), input) != NULL) { LOGE_CORE("readbuffer:%s",read_buffer); read_buffer[strcspn(read_buffer, "\r\n")] = 0; parse_input(read_buffer, state); }
}
but when the message is received,like: 06-07 03:25:36.674 2640-2640/? E/minitouch: readbuffer:d 0 90 170 100 06-07 03:25:36.675 2640-2640/? E/minitouch: readbuffer: 06-07 03:25:36.675 2640-2640/? E/minitouch: readbuffer:c 06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer: 06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:u 0 06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer: 06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:c 06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:
the click event is not start
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I set a log in io_handler like this:
static void io_handler(FILE* input, FILE* output, internal_state_t* state)
{
setvbuf(input, NULL, _IOLBF, 1024);
setvbuf(output, NULL, _IOLBF, 1024);
}
but when the message is received,like:
06-07 03:25:36.674 2640-2640/? E/minitouch: readbuffer:d 0 90 170 100
06-07 03:25:36.675 2640-2640/? E/minitouch: readbuffer:
06-07 03:25:36.675 2640-2640/? E/minitouch: readbuffer:c
06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:
06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:u 0
06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:
06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:c
06-07 03:25:36.676 2640-2640/? E/minitouch: readbuffer:
the click event is not start
The text was updated successfully, but these errors were encountered: