Compare commits

...

19 Commits

Author SHA1 Message Date
8b4d28f6fb Fix omnikeyish 2020-02-29 21:35:30 -08:00
6506745502 Fix model01 2020-02-29 21:35:30 -08:00
a18f85c6b6 fix matrix/noah 2020-02-29 21:35:30 -08:00
0ef12b059d fix maartenwut/minitomic 2020-02-29 21:35:30 -08:00
b8d54bddcc Fix k_type 2020-02-29 21:35:30 -08:00
a84bc86073 Fix hub16 2020-02-29 21:35:29 -08:00
a17fe1f2ad fix handwired/prime_exl_plus 2020-02-29 21:35:29 -08:00
7ab1e6d0f0 fix flx/virgo 2020-02-29 21:35:29 -08:00
c4001ca425 fix ergodox_infinity 2020-02-29 21:35:29 -08:00
ac8a8e838e fix bpiphany/pegasushoof/2015 2020-02-29 21:35:29 -08:00
5ba8a76da5 wip 2020-02-29 21:35:29 -08:00
b281d88c6f update the template too 2020-02-29 21:35:29 -08:00
123758c663 wip 2020-02-29 21:35:29 -08:00
0d8b4d6fa6 Ensure more _user functions will always run 2020-02-29 21:35:29 -08:00
256fabca9e wip 2020-02-29 21:35:28 -08:00
2d64301cd9 run the _user functions whenever we run the _kb functions 2020-02-29 21:34:46 -08:00
69b2a82be6 change the order to match the in situ assumption by keyboard maintainers 2020-02-29 21:34:46 -08:00
ff49927703 Fix the process_record_kb weak function too. h/t @fauxpark. 2020-02-29 21:34:46 -08:00
c4aa18363e wip 2020-02-29 21:34:46 -08:00
501 changed files with 232 additions and 7343 deletions
keyboards
1upkeyboards
1up60hse
super16
40percentclub
25
4pack
4x4
5x5
6lit
foobar
half_n_half
i75
mf68
nano
nori
ut47
6ball
9key
abstract/ellipse/rev1
acheron/shark
acr60
adkb96/rev1
ai03
akb/eb46
al1
alf
alu84
amj40
amj60
amj96
amjkeyboard/amj66
amjpad
angel17
alpha
rev1
angel64
atomic
baguette
bm16a
bm43a
bm60rgb
boston_meetup/2019
bpiphany
bthlabs/geekpad
business_card
butterstick
candybar
cannonkeys
satisfaction75
stm32f072
centromere
chimera_ergo
chimera_ls
chimera_ortho
choco60
christmas_tree
ckeys
handwire_101
nakey
obelus
thedora
claw44
clueboard
17
2x1800
60
66
rev2
rev3
rev4
66_hotswap
gen1
prototype
card
cocoa40
comet46
converter
adb_usb
hp_46010a
ibm_5291
m0110_usb
modelm101
numeric_keypad_IIe
palm_usb
siemens_tastatur
sun_usb
usb_usb
xt_usb
coseyfannitutti
mullet
mulletpad
crkbd
cu75
cutie_club/wraith
dc01
dichotomy
dk60
do60
donutcables/scrabblepad
doro67
multi
regular
rgb
dozen0
dp60
duck
dumbpad
dz60
efreet
ep
40
96
comsn
hs68
mollydooker
tf_longeboye
ergodash/rev1
ergodone
ergodox_ez
ergodox_infinity
ergodox_stm32
ergoinu
ergotaco
ergotravel/rev1
espectro
evil80
exclusive
e65
e6_rgb
e6v2
e7v1
e7v1se
fc660c
fc980c
fleuron
flx/virgo
fortitude60
foxlab/leaf60
hotswap
universal
freyr
geekboards/tester
georgi
gergo
gh60/satan
gingham
gray_studio
cod67
space65
think65
hotswap
solder
hadron
ver2
ver3
halberd
handwired
2x5keypad
412_64
aek64
aranck
atreus50
bluepill/bluepill70
cmd60
co60/rev1
dactyl
dactyl_left
dactyl_manuform
4x5
4x6
5x6
5x7
6x6
dmote/62key
dactyl_promicro
daishi
datahand
fivethirteen
frenchdev
fruity60
gamenum
hacked_motospeed
hnah40
ibm122m
jn68m
jopr
jot50
jotanck
jotpad16
kbod
lovelive9
maartenwut
magicforce61
magicforce68
mechboards_micropad
not_so_minidox
numpad20
ortho5x13
owlet60
pilcrow
prime_exl
prime_exl_plus
promethium
qc60/proto
reddot
retro_refit
sticc14
tennie
terminus_mini
trackpoint
traveller
woodpad
wulkan
xealous/rev1
xealousbrown
hecomi
helix
hid_liber
hineybush
h87a
h88
hbcp
hineyg80
physix
sm68
honeycomb
hotdox
hs60/v1
hub16
idobo
illuminati/is0
infinity60
ivy/rev1
jae/j01
jc65/v32u4
k_type
kagamidget
katana60
kbdfans
kbd19x
kbd4x
kbd66
kbd67
hotswap
mkii_soldered
mkiirgb
rev1
rev2
kbd6x
kbd75
rev1
rev2
kbd8x
kbd8x_mk2
kbdmini
kbdpad_mk2
kc60se
keebio
ergodicity
levinson
rev1
rev2
rev3
nyquist
rev1
rev2
rev3
quefrency/rev1
rorschach/rev1
tragicforce68
wavelet
keyhive/maypad
kinesis
kira75
kmac
kmini
knops/mini
kona_classic
kudox/rev1
kudox_game/rev1
kv/revt
launchpad/rev1
lets_split
rev1
rev2
sockets
lfkeyboards
lfk65_hs
lfk78
lfk87
lfkpad
mini1800
smk65
lily58
m0lly
m10a
maartenwut
atom47
rev2
rev3
minitomic
mx5160
ta65
wasdat
wonderland
massdrop
matrix/noah
maxr1998/pulse4k
mechkeys/mk60
mechlovin
hannah910
infinityce
meira
meishi
meishi2
meme
meson
miniaxe
mitosis
miuni32
model01
moon
mt980
keymaps/walker
mt980.c
mxss
nafuda
naked48/rev1
naked60/rev1
naked64/rev1
namecard2x4
navi10
rev0
rev2
rev3
nek_type_a
newgame40
nightmare
niu_mini
noxary
omnikeyish
orthodox
rev1
rev3
rev3_teensy
otaku_split
rev0
rev1
pdxkbc
peiorisboards/ixora
percent/booster
phantom
pinky
plaid
planck
playkbtw/pk60
preonic
rev1
rev2
rev3
primekb
prime_o
prime_r
quantrik/kyuu
qwertyydox/rev1
rabbit/rabbit68
redox/rev1
redox_w
redscarf_iiplus
reviung34
reviung39
rgbkb/zen/rev1
sck
m0116b
osa
scythe
sentraq
number_pad
s60_x/default
s65_plus
s65_x
setta21/rev1
shiro
sirius/uni660
sixkeyboard
snampad
spacetime
rev1
rev2
speedo
standaside
stella
suihankey
alpha
rev1
split
alpha
rev1
switchplate/southpaw_fullsize
sx60
tada68
tanuki
telophase
tg4x
the_ruler
thedogkeyboard
thevankeyboards
bananasplit
roadkit
tkc1800
tmo50
tokyo60
touchpad
treadstone32
treasure/type9
ut472
uzu42
v60_type_r
vinta
vision_division
vitamins_included
rev1
rev2
vn66
westfoxtrot/cyclops
whitefox
wilba_tech
xbows
knight
woody
xd68
xd75
xd87
yd68
yosino58
z150_blackheart
zinc
zj68
quantum
tmk_core/common

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "1up60hse.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "super16.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -15,33 +15,6 @@
*/
#include "25.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {

@ -15,40 +15,10 @@
*/
#include "4pack.h"
// Optional override functions below.
// You can leave any or all of these undefined.
// These are only required if you want to perform custom actions.
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
setPinOutput(F4); // cathodes
setPinOutput(F5); // cathodes
// Do the rest
matrix_init_user();
}
/*
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
*/

@ -1,29 +1,2 @@
#include "4x4.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -1,29 +1,2 @@
#include "5x5.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -15,33 +15,6 @@
*/
#include "6lit.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {

@ -15,33 +15,6 @@
*/
#include "foobar.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "half_n_half.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "i75.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -1,8 +1 @@
#include "mf68.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}

@ -1,5 +1 @@
#include "nano.h"
void matrix_init_kb(void) {
matrix_init_user();
}

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "nori.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -15,36 +15,16 @@
*/
#include "ut47.h"
#ifdef LED_ENABLE
#include "protocol/serial.h"
#include "protocol/serial.h"
#endif
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
if (record->event.pressed) {
#ifdef LED_ENABLE
serial_send((record->event.key.row*16)+record->event.key.col);
#endif
}
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
if (record->event.pressed) {
#ifdef LED_ENABLE
serial_send((record->event.key.row*16)+record->event.key.col);
#endif
}
return true;
}

@ -1,5 +1 @@
#include "6ball.h"
void matrix_init_kb(void) {
matrix_init_user();
}

@ -1,5 +1 @@
#include "9key.h"
void matrix_init_kb(void) {
matrix_init_user();
}

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.h"
/*void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}*/

@ -14,38 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "shark.h"
// Optional override functions below.
// You can leave any or all of these undefined.
// These are only required if you want to perform custom actions.
/*
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
*/

@ -4,25 +4,12 @@
void matrix_init_kb(void) {
// Keyboard start-up code goes here
// Runs once when the firmware starts up
matrix_init_user();
led_init_ports();
};
void matrix_scan_kb(void) {
// Looping keyboard code goes here
// This runs every cycle (a lot)
matrix_scan_user();
};
void led_init_ports(void) {
// Set caps lock LED pin as output
DDRB |= (1 << 2);
// Default to off
PORTB |= (1 << 2);
}
void led_set_kb(uint8_t usb_led) {
// Code for caps lock LED as reported by the OS
// Set this per keymap, instead of globally
led_set_user(usb_led);
}

@ -9,7 +9,5 @@ void matrix_init_kb(void) {
// // orange led on
// DDRB |= (1<<0);
// PORTB &= ~(1<<0);
matrix_init_user();
};

@ -66,15 +66,6 @@ static matrix_row_t raw_matrix[ROWS_PER_HAND];
uint8_t thisHand, thatHand;
// user-defined overridable functions
__attribute__((weak)) void matrix_init_kb(void) { matrix_init_user(); }
__attribute__((weak)) void matrix_scan_kb(void) { matrix_scan_user(); }
__attribute__((weak)) void matrix_init_user(void) {}
__attribute__((weak)) void matrix_scan_user(void) {}
__attribute__((weak)) void matrix_slave_scan_user(void) {}
// helper functions

@ -168,22 +168,6 @@ void matrix_init_kb(void) {
}
set_layer_indicators(0);
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
@ -201,7 +185,6 @@ void led_set_kb(uint8_t usb_led) {
}
led_set_user(usb_led);
}
uint32_t layer_state_set_kb(uint32_t state) {

@ -14,38 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quasar.h"
// Optional override functions below.
// You can leave any or all of these undefined.
// These are only required if you want to perform custom actions.
/*
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
*/

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "soyuz.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "eb46.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}

@ -15,10 +15,6 @@
*/
#include "al1.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
CONFIG_LED_IO;
print_dec(usb_led);

@ -15,27 +15,6 @@
*/
#include "dc60.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
DDRB |= (1 << 7);
@ -44,6 +23,4 @@ void led_set_kb(uint8_t usb_led) {
DDRB &= ~(1 << 7);
PORTB &= ~(1 << 7);
}
led_set_user(usb_led);
}

@ -22,21 +22,6 @@ void matrix_init_kb(void) {
setPinOutput(C6);
setPinOutput(E6);
setPinOutput(C7);
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
@ -59,6 +44,4 @@ void led_set_kb(uint8_t usb_led) {
} else {
writePinHigh(C7);
}
led_set_user(usb_led);
}

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here

@ -4,16 +4,9 @@
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
led_init_ports();
};
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
};
void led_init_ports(void) {
// * Set our LED pins as output
DDRB |= (1<<2);

Some files were not shown because too many files have changed in this diff Show More