qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

sp111_v2.c (335B)


      1 // Copyright 2023 BlindAssassin111 (@blindassassin111)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #include "quantum.h"
      5 
      6 void keyboard_pre_init_kb(void) {
      7     // enable built in pullups to avoid timeouts when right hand not connected
      8     gpio_set_pin_input_high(D0);
      9     gpio_set_pin_input_high(D1);
     10 
     11     keyboard_pre_init_user();
     12 }