diff options
author | thompson-ele <ele.thompson12@gmail.com> | 2023-10-04 20:56:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 20:56:26 -0700 |
commit | 22fbbbb1cc5f3782cd70a088bc7cf9122462893e (patch) | |
tree | 89eed3f5747dee109c86dcf80594663a2653ff7c /keyboards/viktus/sp111_v2/sp111_v2.c | |
parent | 7603a464cd74f4ff48e775bf79e0c089d1dc69a6 (diff) |
[Keyboard] Add SP-111 v2 keyboard (#21652)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/viktus/sp111_v2/sp111_v2.c')
-rw-r--r-- | keyboards/viktus/sp111_v2/sp111_v2.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/viktus/sp111_v2/sp111_v2.c b/keyboards/viktus/sp111_v2/sp111_v2.c new file mode 100644 index 0000000000..96a9aaa5fe --- /dev/null +++ b/keyboards/viktus/sp111_v2/sp111_v2.c @@ -0,0 +1,12 @@ +// Copyright 2023 BlindAssassin111 (@blindassassin111) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "quantum.h" + +void keyboard_pre_init_kb(void) { + // enable built in pullups to avoid timeouts when right hand not connected + setPinInputHigh(D0); + setPinInputHigh(D1); + + keyboard_pre_init_user(); +} |