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
Add a default calibration page
The text was updated successfully, but these errors were encountered:
Meanwhile you could add some logging to get the raw coordinates, that's what I did (I used log_e since I didn't want to change the log level)
#ifdef BOARD_HAS_TOUCH // See: https://www.maximintegrated.com/en/design/technical-documents/app-notes/5/5296.html void lvgl_touch_calibration_transform(lv_indev_drv_t *disp_drv, lv_indev_data_t *data) { log_v("disp_drv:0x%08x, data:0x%08x", disp_drv, data); // Call low level read from the driver driver_touch_read_cb(disp_drv, data); if (data->state == LV_INDEV_STATE_PRESSED) { log_e("-------- raw x %d raw y %d",data->point.x,data->point.y); }
then I used those value to set the calibration data (using touch_calibration_data=smartdisplay_compute_touch_calibration(screen,touch);)
touch_calibration_data=smartdisplay_compute_touch_calibration(screen,touch);
Sorry, something went wrong.
No branches or pull requests
Add a default calibration page
The text was updated successfully, but these errors were encountered: