|
@@ -72,14 +72,7 @@ __attribute__((weak)) void trackball_check_click(bool pressed, report_mouse_t* m
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
|
|
|
|
|
- if (true) {
|
|
|
|
|
- xprintf("KL: kc: %u, col: %u, row: %u, pressed: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- if (!process_record_user(keycode, record)) { return false; }
|
|
|
|
|
-
|
|
|
|
|
|
|
+bool process_record_user(uint16_t keycode, keyrecord_t* record) {
|
|
|
/* If Mousekeys is disabled, then use handle the mouse button
|
|
/* If Mousekeys is disabled, then use handle the mouse button
|
|
|
* keycodes. This makes things simpler, and allows usage of
|
|
* keycodes. This makes things simpler, and allows usage of
|
|
|
* the keycodes in a consistent manner. But only do this if
|
|
* the keycodes in a consistent manner. But only do this if
|
|
@@ -95,6 +88,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
|
|
|
}
|
|
}
|
|
|
pointing_device_set_report(currentReport);
|
|
pointing_device_set_report(currentReport);
|
|
|
pointing_device_send();
|
|
pointing_device_send();
|
|
|
|
|
+ return false;
|
|
|
}
|
|
}
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|