diff options
author | QMK Bot <hello@qmk.fm> | 2021-11-29 07:42:34 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-11-29 07:42:34 +0000 |
commit | 4461355cce04750f021d0351939a35b1f7fdf5d5 (patch) | |
tree | f293723bb02256e5d7c35568b44db8fab09c092f /keyboards/handwired/tractyl_manuform/tractyl_manuform.c | |
parent | ccc2030beee932c1de855f663890b028820cc2da (diff) | |
parent | 5b5b36421a7c887aad5bf5faef06dcf133d64f15 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/tractyl_manuform.c')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/tractyl_manuform.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c index 5f476fcc98..4b36fab54f 100644 --- a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c +++ b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c @@ -99,20 +99,8 @@ void pointing_device_init_kb(void) { } report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { - if (is_keyboard_left()) { - if (is_keyboard_master()) { - transaction_rpc_recv(RPC_ID_POINTER_STATE_SYNC, sizeof(sync_mouse_report), &sync_mouse_report); - mouse_report.x = sync_mouse_report.x; - mouse_report.y = sync_mouse_report.y; - pointing_device_task_user(mouse_report); - } - } else { - if (is_keyboard_master()) { - pointing_device_task_user(mouse_report); - } else { - sync_mouse_report.x = mouse_report.x; - sync_mouse_report.y = mouse_report.y; - } + if (is_keyboard_master()) { + mouse_report = pointing_device_task_user(mouse_report); } return mouse_report; } |