summaryrefslogtreecommitdiffstats
path: root/keyboards/ploopyco/trackball_thumb/trackball_thumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball_thumb/trackball_thumb.c')
-rw-r--r--keyboards/ploopyco/trackball_thumb/trackball_thumb.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/keyboards/ploopyco/trackball_thumb/trackball_thumb.c b/keyboards/ploopyco/trackball_thumb/trackball_thumb.c
index f76d243f18..4a90ced8eb 100644
--- a/keyboards/ploopyco/trackball_thumb/trackball_thumb.c
+++ b/keyboards/ploopyco/trackball_thumb/trackball_thumb.c
@@ -67,7 +67,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
#ifdef MOUSEKEY_ENABLE
tap_code(clockwise ? KC_WH_U : KC_WH_D);
#else
- mouse_report_t mouse_report = pointing_device_get_report();
+ report_mouse_t mouse_report = pointing_device_get_report();
mouse_report.v = clockwise ? 1 : -1;
pointing_device_set_report(mouse_report);
pointing_device_send();
@@ -188,19 +188,6 @@ void keyboard_pre_init_kb(void) {
setPinInput(OPT_ENC1);
setPinInput(OPT_ENC2);
- /* Ground all output pins connected to ground. This provides additional
- * pathways to ground. If you're messing with this, know this: driving ANY
- * of these pins high will cause a short. On the MCU. Ka-blooey.
- */
-#ifdef UNUSED_PINS
- const pin_t unused_pins[] = UNUSED_PINS;
-
- for (uint8_t i = 0; i < (sizeof(unused_pins) / sizeof(pin_t)); i++) {
- setPinOutput(unused_pins[i]);
- writePinLow(unused_pins[i]);
- }
-#endif
-
// This is the debug LED.
#if defined(DEBUG_LED_PIN)
setPinOutput(DEBUG_LED_PIN);
[cgit] Unable to lock slot /tmp/cgit/a1300000.lock: Permission denied (13)