diff options
author | Drashna Jaelre <drashna@live.com> | 2022-09-26 20:49:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 20:49:32 -0700 |
commit | fb400f2ac2c57fa0fc82ca803f6450b818bb32f9 (patch) | |
tree | 0f9939fc9404fc2104c0c664c6a2ea0c90276558 /keyboards/handwired | |
parent | d909038b28c553f5eb0ecec74f58792155c4d49d (diff) |
Enabling Pointing Device support in register code functions (#18363)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/tractyl_manuform.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c index d3e2e02975..7ded835a6e 100644 --- a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c +++ b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c @@ -308,16 +308,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { break; } # endif // !NO_CHARYBDIS_KEYCODES -# ifndef MOUSEKEY_ENABLE - // Simulate mouse keys if full support is not enabled (reduces firmware size - // while maintaining support for mouse keys). - if (IS_MOUSEKEY_BUTTON(keycode)) { - report_mouse_t mouse_report = pointing_device_get_report(); - mouse_report.buttons = pointing_device_handle_buttons(mouse_report.buttons, record->event.pressed, keycode - KC_MS_BTN1); - pointing_device_set_report(mouse_report); - pointing_device_send(); - } -# endif // !MOUSEKEY_ENABLE return true; } |