summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-09-26 20:49:32 -0700
committerGitHub <noreply@github.com>2022-09-26 20:49:32 -0700
commitfb400f2ac2c57fa0fc82ca803f6450b818bb32f9 (patch)
tree0f9939fc9404fc2104c0c664c6a2ea0c90276558 /keyboards/ploopyco/trackball
parentd909038b28c553f5eb0ecec74f58792155c4d49d (diff)
Enabling Pointing Device support in register code functions (#18363)
Diffstat (limited to 'keyboards/ploopyco/trackball')
-rw-r--r--keyboards/ploopyco/trackball/trackball.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/keyboards/ploopyco/trackball/trackball.c b/keyboards/ploopyco/trackball/trackball.c
index c96bf15cba..6dbb73e8f8 100644
--- a/keyboards/ploopyco/trackball/trackball.c
+++ b/keyboards/ploopyco/trackball/trackball.c
@@ -178,14 +178,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
* the keycodes in a consistent manner. But only do this if
* Mousekeys is not enable, so it's not handled twice.
*/
-#ifndef MOUSEKEY_ENABLE
- if (IS_MOUSEKEY_BUTTON(keycode)) {
- report_mouse_t currentReport = pointing_device_get_report();
- currentReport.buttons = pointing_device_handle_buttons(currentReport.buttons, record->event.pressed, keycode - KC_MS_BTN1);
- pointing_device_set_report(currentReport);
- pointing_device_send();
- }
-#endif
return true;
}