diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2022-09-15 07:48:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 23:48:43 -0700 |
commit | 40b0b3a9830097ac6be2a2acfd2aa3cf7300fd8f (patch) | |
tree | 0b1ee0c98a70348750e825ff6c4b9b1dcb2e31e9 /quantum/pointing_device | |
parent | 6d39cc858fa638ccaf1892a7b5dda65d1eee3ce8 (diff) |
Fix cirque tap from secondary side (#18351)
Diffstat (limited to 'quantum/pointing_device')
-rw-r--r-- | quantum/pointing_device/pointing_device_drivers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/pointing_device/pointing_device_drivers.c b/quantum/pointing_device/pointing_device_drivers.c index 096ad5d028..d7e0b90917 100644 --- a/quantum/pointing_device/pointing_device_drivers.c +++ b/quantum/pointing_device/pointing_device_drivers.c @@ -117,8 +117,11 @@ report_mouse_t cirque_pinnacle_get_report(report_mouse_t mouse_report) { pinnacle_data_t touchData = cirque_pinnacle_read_data(); mouse_xy_report_t report_x = 0, report_y = 0; static uint16_t x = 0, y = 0; +# if defined(CIRQUE_PINNACLE_TAP_ENABLE) + mouse_report.buttons = pointing_device_handle_buttons(mouse_report.buttons, false, POINTING_DEVICE_BUTTON1); +# endif # ifdef POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE - cursor_glide_t glide_report = {0}; + cursor_glide_t glide_report = {0}; if (cursor_glide_enable) { glide_report = cursor_glide_check(&glide); |