diff options
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/40percentclub/ut47/keymaps/default/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/keymaps/non-us/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/keymaps/nordic/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/keymaps/rgb/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/matrix.c | 14 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/40percentclub/ut47/ut47.c | 8 | ||||
-rw-r--r-- | keyboards/ai03/orbit/config.h | 13 | ||||
-rw-r--r-- | keyboards/ai03/orbit/keymaps/default/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/ai03/orbit/matrix.c | 328 | ||||
-rw-r--r-- | keyboards/ai03/orbit/orbit.c | 270 | ||||
-rw-r--r-- | keyboards/ai03/orbit/orbit.h | 17 | ||||
-rw-r--r-- | keyboards/ai03/orbit/readme.md | 6 | ||||
-rw-r--r-- | keyboards/ai03/orbit/rules.mk | 10 | ||||
-rw-r--r-- | keyboards/ai03/orbit/serial.c | 545 | ||||
-rw-r--r-- | keyboards/ai03/orbit/serial.h | 62 | ||||
-rw-r--r-- | keyboards/ai03/orbit/split_flags.c | 5 | ||||
-rw-r--r-- | keyboards/ai03/orbit/split_flags.h | 15 | ||||
-rw-r--r-- | keyboards/ai03/orbit/split_util.c | 87 | ||||
-rw-r--r-- | keyboards/ai03/orbit/split_util.h | 10 | ||||
-rw-r--r-- | keyboards/ai03/orbit/transport.c | 238 | ||||
-rw-r--r-- | keyboards/ai03/orbit/transport.h | 42 | ||||
-rw-r--r-- | keyboards/amj96/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/angel64/alpha/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/angel64/rev1/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/bpiphany/kitten_paw/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/bpiphany/pegasushoof/2013/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/config.h (renamed from keyboards/cu24/config.h) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/cu24.c (renamed from keyboards/cu24/cu24.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/cu24.h (renamed from keyboards/cu24/cu24.h) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/info.json (renamed from keyboards/cu24/info.json) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/keymaps/default/keymap.c (renamed from keyboards/cu24/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/keymaps/default/readme.md (renamed from keyboards/cu24/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/readme.md (renamed from keyboards/cu24/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu24/rules.mk (renamed from keyboards/cu24/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/config.h (renamed from keyboards/cu75/config.h) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/cu75.c (renamed from keyboards/cu75/cu75.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/cu75.h (renamed from keyboards/cu75/cu75.h) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/cu75/.noci (renamed from keyboards/7skb/.noci) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/info.json (renamed from keyboards/cu75/info.json) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/keymaps/default/keymap.c (renamed from keyboards/cu75/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/keymaps/default/rules.mk (renamed from keyboards/cu75/keymaps/default/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/keymaps/iso/keymap.c (renamed from keyboards/cu75/keymaps/iso/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/keymaps/iso/rules.mk (renamed from keyboards/cu75/keymaps/iso/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/readme.md (renamed from keyboards/cu75/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu75/rules.mk (renamed from keyboards/cu75/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/config.h (renamed from keyboards/cu80/config.h) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/info.json (renamed from keyboards/cu80/info.json) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/keymaps/default/keymap.c (renamed from keyboards/cu80/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/keymaps/default/readme.md (renamed from keyboards/cu80/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/readme.md (renamed from keyboards/cu80/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/rules.mk (renamed from keyboards/cu80/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/v1.c | 18 | ||||
-rw-r--r-- | keyboards/capsunlocked/cu80/v1/v1.h (renamed from keyboards/cu80/cu80.h) | 0 | ||||
-rw-r--r-- | keyboards/centromere/config.h | 9 | ||||
-rw-r--r-- | keyboards/centromere/matrix.c | 126 | ||||
-rw-r--r-- | keyboards/centromere/rules.mk | 23 | ||||
-rw-r--r-- | keyboards/chimera_ergo/config.h | 9 | ||||
-rw-r--r-- | keyboards/chimera_ergo/matrix.c | 135 | ||||
-rw-r--r-- | keyboards/chimera_ergo/rules.mk | 19 | ||||
-rw-r--r-- | keyboards/chimera_ls/config.h | 9 | ||||
-rw-r--r-- | keyboards/chimera_ls/matrix.c | 139 | ||||
-rw-r--r-- | keyboards/chimera_ls/rules.mk | 17 | ||||
-rw-r--r-- | keyboards/chimera_ortho/config.h | 9 | ||||
-rw-r--r-- | keyboards/chimera_ortho/matrix.c | 125 | ||||
-rw-r--r-- | keyboards/chimera_ortho/rules.mk | 17 | ||||
-rw-r--r-- | keyboards/chimera_ortho_plus/config.h | 9 | ||||
-rw-r--r-- | keyboards/chimera_ortho_plus/matrix.c | 125 | ||||
-rw-r--r-- | keyboards/chimera_ortho_plus/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/comet46/config.h | 9 | ||||
-rw-r--r-- | keyboards/comet46/matrix.c | 125 | ||||
-rw-r--r-- | keyboards/comet46/rules.mk | 18 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/config.h | 55 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/matrix.c | 15 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/post_rules.mk | 7 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/command_extra.c | 22 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/config.h | 47 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/led.c | 6 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/matrix.c | 27 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/post_rules.mk | 6 | ||||
-rw-r--r-- | keyboards/converter/sun_usb/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/converter/usb_usb/custom_matrix.cpp | 4 | ||||
-rw-r--r-- | keyboards/cu80/cu80.c | 1 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/.noci (renamed from keyboards/bat43/.noci) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/bat43.c (renamed from keyboards/bat43/bat43.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/bat43.h (renamed from keyboards/bat43/bat43.h) | 4 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/config.h (renamed from keyboards/bat43/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/keymaps/default/keymap.c (renamed from keyboards/bat43/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/keymaps/default/readme.md (renamed from keyboards/bat43/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/keymaps/via/keymap.c (renamed from keyboards/bat43/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/keymaps/via/readme.md (renamed from keyboards/bat43/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/keymaps/via/rules.mk (renamed from keyboards/allison/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/readme.md (renamed from keyboards/bat43/readme.md) | 15 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev1/.noci (renamed from keyboards/bat43/rev1/.noci) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev1/info.json (renamed from keyboards/bat43/rev1/info.json) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev1/rev1.c (renamed from keyboards/bat43/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev1/rev1.h (renamed from keyboards/bat43/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev1/rules.mk (renamed from keyboards/bat43/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev2/.noci (renamed from keyboards/bat43/rev2/.noci) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev2/info.json (renamed from keyboards/bat43/rev2/info.json) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev2/rev2.c (renamed from keyboards/bat43/rev2/rev2.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev2/rev2.h (renamed from keyboards/bat43/rev2/rev2.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rev2/rules.mk (renamed from keyboards/bat43/rev2/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/bat43/rules.mk (renamed from keyboards/bat43/rules.mk) | 2 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/.noci (renamed from keyboards/claw44/.noci) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/claw44.c (renamed from keyboards/claw44/claw44.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/claw44.h (renamed from keyboards/claw44/claw44.h) | 2 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/config.h (renamed from keyboards/claw44/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/default/config.h (renamed from keyboards/claw44/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/default/keymap.c (renamed from keyboards/claw44/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/oled/config.h (renamed from keyboards/claw44/keymaps/oled/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/oled/keymap.c (renamed from keyboards/claw44/keymaps/oled/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/oled/rules.mk (renamed from keyboards/claw44/keymaps/oled/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/via/config.h (renamed from keyboards/claw44/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/via/keymap.c (renamed from keyboards/claw44/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/keymaps/via/rules.mk (renamed from keyboards/allison_numpad/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/lib/glcdfont.c (renamed from keyboards/claw44/lib/glcdfont.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/readme.md (renamed from keyboards/claw44/readme.md) | 19 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/.noci (renamed from keyboards/claw44/rev1/.noci) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/config.h (renamed from keyboards/claw44/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/info.json (renamed from keyboards/claw44/rev1/info.json) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/readme.md (renamed from keyboards/claw44/rev1/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/rev1.c (renamed from keyboards/7skb/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/rev1.h (renamed from keyboards/claw44/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rev1/rules.mk (renamed from keyboards/claw44/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/claw44/rules.mk (renamed from keyboards/claw44/rules.mk) | 2 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/config.h (renamed from keyboards/owl8/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/info.json (renamed from keyboards/owl8/info.json) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/keymaps/default/keymap.c (renamed from keyboards/owl8/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/keymaps/default/readme.md (renamed from keyboards/owl8/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/keymaps/via/keymap.c (renamed from keyboards/owl8/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/keymaps/via/readme.md (renamed from keyboards/owl8/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/keymaps/via/rules.mk (renamed from keyboards/barleycorn/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/owl8.c (renamed from keyboards/owl8/owl8.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/owl8.h (renamed from keyboards/owl8/owl8.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/readme.md (renamed from keyboards/owl8/readme.md) | 13 | ||||
-rw-r--r-- | keyboards/dailycraft/owl8/rules.mk (renamed from keyboards/owl8/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/config.h (renamed from keyboards/7skb/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/readme.md (renamed from keyboards/wings42/rev1_extkeys/readme.md) | 13 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/config.h (renamed from keyboards/wings42/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/keymaps/default/keymap.c (renamed from keyboards/wings42/rev1/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/keymaps/default/readme.md (renamed from keyboards/wings42/rev1/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/keymaps/via/keymap.c (renamed from keyboards/wings42/rev1/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/keymaps/via/rules.mk (renamed from keyboards/bat43/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/readme.md (renamed from keyboards/wings42/rev1/readme.md) | 13 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/rev1.c (renamed from keyboards/wings42/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/rev1.h (renamed from keyboards/wings42/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1/rules.mk (renamed from keyboards/7skb/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/config.h (renamed from keyboards/wings42/rev1_extkeys/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/keymap.c (renamed from keyboards/wings42/rev1_extkeys/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/readme.md (renamed from keyboards/wings42/rev1_extkeys/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/keymap.c (renamed from keyboards/wings42/rev1_extkeys/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/rules.mk (renamed from keyboards/chili/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/readme.md (renamed from keyboards/wings42/readme.md) | 13 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.c (renamed from keyboards/wings42/rev1_extkeys/rev1_extkeys.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.h (renamed from keyboards/wings42/rev1_extkeys/rev1_extkeys.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/rules.mk (renamed from keyboards/jisplit89/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/config.h (renamed from keyboards/wings42/rev2/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/keymaps/default/keymap.c (renamed from keyboards/wings42/rev2/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/keymaps/default/readme.md (renamed from keyboards/wings42/rev2/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/keymaps/via/config.h (renamed from keyboards/wings42/rev2/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/keymaps/via/keymap.c (renamed from keyboards/wings42/rev2/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/keymaps/via/rules.mk (renamed from keyboards/wings42/rev2/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/readme.md (renamed from keyboards/wings42/rev2/readme.md) | 13 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/rev2.c (renamed from keyboards/wings42/rev2/rev2.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/rev2.h (renamed from keyboards/wings42/rev2/rev2.h) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rev2/rules.mk (renamed from keyboards/naked48/keymaps/salicylic_with_setta21/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/rules.mk (renamed from keyboards/wings42/rules.mk) | 2 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/wings42.c (renamed from keyboards/wings42/wings42.c) | 0 | ||||
-rw-r--r-- | keyboards/dailycraft/wings42/wings42.h (renamed from keyboards/wings42/wings42.h) | 6 | ||||
-rw-r--r-- | keyboards/dc01/arrow/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/left/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/numpad/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dc01/right/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/dichotomy/config.h | 9 | ||||
-rwxr-xr-x | keyboards/dichotomy/dichotomy.c | 8 | ||||
-rwxr-xr-x | keyboards/dichotomy/matrix.c | 10 | ||||
-rwxr-xr-x | keyboards/dichotomy/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/config.h | 10 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/ergoinu.c | 17 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/ergoinu.h | 5 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default/config.h | 24 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default/keymap.c | 41 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default/rules.mk | 18 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default_jis/config.h | 24 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c | 26 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/keymaps/default_jis/rules.mk | 18 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/matrix.c | 292 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/post_rules.mk | 9 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/readme.md | 9 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/rules.mk | 20 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/serial.c | 295 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/serial.h | 24 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/serial_config.h | 11 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/split_util.c | 56 | ||||
-rw-r--r-- | keyboards/dm9records/ergoinu/split_util.h | 12 | ||||
-rw-r--r-- | keyboards/duck/jetfire/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h | 7 | ||||
-rw-r--r-- | keyboards/durgod/boards/DURGOD_STM32_F070/chconf.h | 2 | ||||
-rw-r--r-- | keyboards/durgod/boards/DURGOD_STM32_F070/mcuconf.h | 2 | ||||
-rw-r--r-- | keyboards/durgod/dgk6x/config.h | 3 | ||||
-rw-r--r-- | keyboards/durgod/dgk6x/halconf.h | 3 | ||||
-rw-r--r-- | keyboards/durgod/dgk6x/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/durgod/k3x0/config.h | 3 | ||||
-rw-r--r-- | keyboards/durgod/k3x0/halconf.h | 2 | ||||
-rw-r--r-- | keyboards/edi/standaside/config.h (renamed from keyboards/standaside/config.h) | 0 | ||||
-rw-r--r-- | keyboards/edi/standaside/info.json (renamed from keyboards/standaside/info.json) | 0 | ||||
-rw-r--r-- | keyboards/edi/standaside/keymaps/default/keymap.c (renamed from keyboards/standaside/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/edi/standaside/readme.md (renamed from keyboards/standaside/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/edi/standaside/rules.mk (renamed from keyboards/standaside/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/edi/standaside/standaside.c (renamed from keyboards/standaside/standaside.c) | 0 | ||||
-rw-r--r-- | keyboards/edi/standaside/standaside.h (renamed from keyboards/standaside/standaside.h) | 0 | ||||
-rw-r--r-- | keyboards/ergodox_stm32/matrix.c | 4 | ||||
-rw-r--r-- | keyboards/ergodox_stm32/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/ergotaco/matrix.c | 5 | ||||
-rw-r--r-- | keyboards/gboards/gergoplex/matrix.c | 5 | ||||
-rw-r--r-- | keyboards/georgi/matrix.c | 5 | ||||
-rw-r--r-- | keyboards/gergo/matrix.c | 5 | ||||
-rw-r--r-- | keyboards/gmmk/pro/iso/keymaps/vitoni/config.h | 20 | ||||
-rw-r--r-- | keyboards/gmmk/pro/iso/keymaps/vitoni/keymap.c | 148 | ||||
-rw-r--r-- | keyboards/gmmk/pro/iso/keymaps/vitoni/readme.adoc | 104 | ||||
-rw-r--r-- | keyboards/handwired/dactyl/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/handwired/frenchdev/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/config.h | 5 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/i2c.c | 162 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/i2c.h | 46 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/keymaps/default/keymap.c | 56 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/matrix.c | 308 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/rules.mk | 17 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/serial.c | 228 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/serial.h | 23 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/split_util.c | 84 | ||||
-rw-r--r-- | keyboards/handwired/not_so_minidox/split_util.h | 17 | ||||
-rw-r--r-- | keyboards/handwired/onekey/teensy_32/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/handwired/onekey/teensy_lc/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/handwired/promethium/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/handwired/pterodactyl/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/4x6_right/rules.mk | 6 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/config.h | 1 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/5x6_right/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/config.h | 5 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/tm_sync.c | 180 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/tractyl_manuform.c | 56 | ||||
-rw-r--r-- | keyboards/handwired/tractyl_manuform/tractyl_manuform.h | 15 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/config.h | 20 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/info.json | 88 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/keymaps/default/keymap.c | 44 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/keymaps/via/keymap.c | 92 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/keymaps/via/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/readme.md | 19 | ||||
-rw-r--r-- | keyboards/handwired/wakizashi40/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/helix/pico/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/helix/rev1/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/helix/rev2/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/hhkb/ansi/matrix.c | 9 | ||||
-rw-r--r-- | keyboards/hhkb/jp/matrix.c | 9 | ||||
-rwxr-xr-x | keyboards/hid_liber/matrix.c | 6 | ||||
-rwxr-xr-x | keyboards/honeycomb/config.h | 9 | ||||
-rwxr-xr-x | keyboards/honeycomb/honeycomb.c | 6 | ||||
-rwxr-xr-x | keyboards/honeycomb/matrix.c | 10 | ||||
-rwxr-xr-x | keyboards/honeycomb/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/kinesis/alvicstep/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h (renamed from keyboards/kprepublic/bm65hsrgb_iso/config.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json (renamed from keyboards/kprepublic/bm65hsrgb_iso/info.json) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/config.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/default/keymap.c (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/keymap.c (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/readme.md (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/rules.mk (renamed from keyboards/7skb/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/readme.md (renamed from keyboards/kprepublic/bm65hsrgb_iso/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.c (renamed from keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.c) | 2 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.h (renamed from keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm65hsrgb_iso/rev1/rules.mk (renamed from keyboards/kprepublic/bm65hsrgb_iso/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/config.h (renamed from keyboards/kprepublic/bm68hsrgb/config.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/info.json (renamed from keyboards/kprepublic/bm68hsrgb/info.json) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/keymap.c (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/readme.md (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/config.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/keymap.c (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/readme.md (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/rules.mk (renamed from keyboards/claw44/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/readme.md (renamed from keyboards/kprepublic/bm68hsrgb/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/rev1.c (renamed from keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c) | 2 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/rev1.h (renamed from keyboards/kprepublic/bm68hsrgb/bm68hsrgb.h) | 0 | ||||
-rw-r--r-- | keyboards/kprepublic/bm68hsrgb/rev1/rules.mk (renamed from keyboards/kprepublic/bm68hsrgb/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/config.h (renamed from keyboards/lck75/config.h) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/info.json (renamed from keyboards/lck75/info.json) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/7u/keymap.c (renamed from keyboards/lck75/keymaps/7u/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/7u_iso/keymap.c (renamed from keyboards/lck75/keymaps/7u_iso/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/7u_sbs/keymap.c (renamed from keyboards/lck75/keymaps/7u_sbs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/default/keymap.c (renamed from keyboards/lck75/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/iso/keymap.c (renamed from keyboards/lck75/keymaps/iso/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/iso_sbs/keymap.c (renamed from keyboards/lck75/keymaps/iso_sbs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/sbs/keymap.c (renamed from keyboards/lck75/keymaps/sbs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/via/keymap.c (renamed from keyboards/lck75/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/keymaps/via/rules.mk (renamed from keyboards/lck75/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/lck75.c (renamed from keyboards/lck75/lck75.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/lck75.h (renamed from keyboards/lck75/lck75.h) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/readme.md (renamed from keyboards/lck75/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/lyso1/lck75/rules.mk (renamed from keyboards/lck75/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/config.h (renamed from keyboards/lefishe/config.h) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/info.json (renamed from keyboards/lefishe/info.json) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/keymaps/default/keymap.c (renamed from keyboards/lefishe/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/keymaps/wk_sbs/keymap.c (renamed from keyboards/lefishe/keymaps/wk_sbs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/keymaps/wkl/keymap.c (renamed from keyboards/lefishe/keymaps/wkl/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/keymaps/wkl_sbs/keymap.c (renamed from keyboards/lefishe/keymaps/wkl_sbs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/lefishe.c (renamed from keyboards/lefishe/lefishe.c) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/lefishe.h (renamed from keyboards/lefishe/lefishe.h) | 0 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/readme.md (renamed from keyboards/lefishe/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/lyso1/lefishe/rules.mk (renamed from keyboards/lefishe/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/info.json (renamed from keyboards/treadstone32/info.json) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/default/config.h (renamed from keyboards/treadstone32/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/default/keymap.c (renamed from keyboards/treadstone32/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/default/readme.md (renamed from keyboards/treadstone32/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/default/readme_jp.md (renamed from keyboards/treadstone32/keymaps/default/readme_jp.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/default/rules.mk (renamed from keyboards/treadstone32/keymaps/default/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/like_jis/config.h (renamed from keyboards/treadstone32/keymaps/like_jis/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/like_jis/keymap.c (renamed from keyboards/treadstone32/keymaps/like_jis/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/like_jis/readme.md (renamed from keyboards/treadstone32/keymaps/like_jis/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/like_jis/readme_jp.md (renamed from keyboards/treadstone32/keymaps/like_jis/readme_jp.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/keymaps/like_jis/rules.mk (renamed from keyboards/treadstone32/keymaps/like_jis/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/lite/.noci (renamed from keyboards/cu75/.noci) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/lite/config.h (renamed from keyboards/treadstone32/lite/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/lite/lite.c (renamed from keyboards/treadstone32/lite/lite.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/lite/lite.h (renamed from keyboards/treadstone32/lite/lite.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/lite/rules.mk (renamed from keyboards/treadstone32/lite/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/readme.md (renamed from keyboards/treadstone32/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rev1/.noci (renamed from keyboards/getta25/.noci) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rev1/config.h (renamed from keyboards/treadstone32/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rev1/rev1.c (renamed from keyboards/treadstone32/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rev1/rev1.h (renamed from keyboards/treadstone32/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rev1/rules.mk (renamed from keyboards/treadstone32/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone32/rules.mk (renamed from keyboards/treadstone32/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/.noci (renamed from keyboards/jisplit89/.noci) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/common/glcdfont.c (renamed from keyboards/treadstone48/common/glcdfont.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/common/oled_helper.c (renamed from keyboards/treadstone48/common/oled_helper.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/common/oled_helper.h (renamed from keyboards/treadstone48/common/oled_helper.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/default/config.h (renamed from keyboards/treadstone48/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/default/keymap.c (renamed from keyboards/treadstone48/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme.md (renamed from keyboards/treadstone48/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme_jp.md (renamed from keyboards/treadstone48/keymaps/default/readme_jp.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/default/rules.mk (renamed from keyboards/treadstone48/keymaps/default/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/config.h (renamed from keyboards/treadstone48/keymaps/like_jis/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/keymap.c (renamed from keyboards/treadstone48/keymaps/like_jis/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme.md (renamed from keyboards/treadstone48/keymaps/like_jis/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme_jp.md (renamed from keyboards/treadstone48/keymaps/like_jis/readme_jp.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/rules.mk (renamed from keyboards/treadstone48/keymaps/like_jis/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/readme.md (renamed from keyboards/treadstone48/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/.noci (renamed from keyboards/naked48/.noci) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/config.h (renamed from keyboards/treadstone48/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/info.json (renamed from keyboards/treadstone48/rev1/info.json) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/config.h (renamed from keyboards/treadstone48/rev1/keymaps/like_jis_rs/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/keymap.c (renamed from keyboards/treadstone48/rev1/keymaps/like_jis_rs/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme.md (renamed from keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md (renamed from keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/rules.mk (renamed from keyboards/treadstone48/rev1/keymaps/like_jis_rs/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/rev1.c (renamed from keyboards/treadstone48/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/rev1.h (renamed from keyboards/treadstone48/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev1/rules.mk (renamed from keyboards/getta25/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev2/config.h (renamed from keyboards/treadstone48/rev2/config.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev2/info.json (renamed from keyboards/treadstone48/rev2/info.json) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev2/rev2.c (renamed from keyboards/treadstone48/rev2/rev2.c) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev2/rev2.h (renamed from keyboards/treadstone48/rev2/rev2.h) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rev2/rules.mk (renamed from keyboards/naked48/keymaps/default/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/treadstone48/rules.mk (renamed from keyboards/treadstone48/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/massdrop/alt/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/massdrop/ctrl/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/matrix/abelx/boards/abelx_bd/board.c | 3 | ||||
-rw-r--r-- | keyboards/matrix/abelx/bootloader_defs.h | 7 | ||||
-rw-r--r-- | keyboards/matrix/abelx/rules.mk | 8 | ||||
-rw-r--r-- | keyboards/matrix/m20add/bootloader_defs.h | 5 | ||||
-rw-r--r-- | keyboards/matrix/m20add/m20add.c | 19 | ||||
-rw-r--r-- | keyboards/matrix/noah/bootloader_defs.h | 5 | ||||
-rw-r--r-- | keyboards/mechlovin/olly/jf/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/mechmini/v1/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/meira/matrix.c | 6 | ||||
-rw-r--r-- | keyboards/mitosis/config.h | 9 | ||||
-rw-r--r-- | keyboards/mitosis/matrix.c | 126 | ||||
-rw-r--r-- | keyboards/mitosis/rules.mk | 21 | ||||
-rw-r--r-- | keyboards/mode/m65s/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/nek_type_a/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/config.h (renamed from keyboards/nk1/config.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk1/info.json (renamed from keyboards/nk1/info.json) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/keymaps/default/keymap.c (renamed from keyboards/nk1/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/keymaps/default/readme.md (renamed from keyboards/nk1/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/keymaps/via/keymap.c (renamed from keyboards/nk1/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/keymaps/via/readme.md (renamed from keyboards/nk1/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/keymaps/via/rules.mk (renamed from keyboards/7splus/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/nk1.c (renamed from keyboards/nk1/nk1.c) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/nk1.h (renamed from keyboards/nk1/nk1.h) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/readme.md (renamed from keyboards/nk1/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/novelkeys/nk1/rules.mk (renamed from keyboards/nk1/rules.mk) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/config.h (renamed from keyboards/nk65/config.h) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk65/halconf.h (renamed from keyboards/nk65/halconf.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/info.json (renamed from keyboards/nk65/info.json) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/keymaps/default/keymap.c (renamed from keyboards/nk65/keymaps/default/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/keymaps/default/readme.md (renamed from keyboards/nk65/keymaps/default/readme.md) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/keymaps/madhatter/keymap.c (renamed from keyboards/nk65/keymaps/madhatter/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/keymaps/via/keymap.c (renamed from keyboards/nk65/keymaps/via/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/keymaps/via/readme.md (renamed from keyboards/nk65/keymaps/via/readme.md) | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | keyboards/novelkeys/nk65/keymaps/via/rules.mk (renamed from keyboards/delilah/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk65/mcuconf.h (renamed from keyboards/nk65/mcuconf.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/nk65.c (renamed from keyboards/nk65/nk65.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/nk65.h (renamed from keyboards/nk65/nk65.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/readme.md (renamed from keyboards/nk65/readme.md) | 2 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/rules.mk (renamed from keyboards/nk65/rules.mk) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/v1_4/config.h (renamed from keyboards/nk65/v1_4/config.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/v1_4/readme.md (renamed from keyboards/nk65/v1_4/readme.md) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk65/v1_4/rules.mk (renamed from keyboards/nk65/v1_4/rules.mk) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/config.h (renamed from keyboards/nk87/config.h) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk87/halconf.h (renamed from keyboards/nk87/halconf.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/info.json (renamed from keyboards/nk87/info.json) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/keymaps/default/keymap.c (renamed from keyboards/nk87/keymaps/default/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/keymaps/default/readme.md (renamed from keyboards/nk87/keymaps/default/readme.md) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/keymaps/via/keymap.c (renamed from keyboards/nk87/keymaps/via/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/keymaps/via/readme.md (renamed from keyboards/nk87/keymaps/via/readme.md) | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | keyboards/novelkeys/nk87/keymaps/via/rules.mk (renamed from keyboards/geminate60/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/nk87/mcuconf.h (renamed from keyboards/nk87/mcuconf.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/nk87.c (renamed from keyboards/nk87/nk87.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/nk87.h (renamed from keyboards/nk87/nk87.h) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/readme.md (renamed from keyboards/nk87/readme.md) | 2 | ||||
-rwxr-xr-x | keyboards/novelkeys/nk87/rules.mk (renamed from keyboards/nk87/rules.mk) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/config.h (renamed from keyboards/novelpad/config.h) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/novelpad/info.json (renamed from keyboards/novelpad/info.json) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/keymaps/0xdec/keymap.c (renamed from keyboards/novelpad/keymaps/0xdec/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/keymaps/default/keymap.c (renamed from keyboards/novelpad/keymaps/default/keymap.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/novelpad.c (renamed from keyboards/novelpad/novelpad.c) | 0 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/novelpad.h (renamed from keyboards/novelpad/novelpad.h) | 0 | ||||
-rw-r--r-- | keyboards/novelkeys/novelpad/readme.md (renamed from keyboards/novelpad/readme.md) | 2 | ||||
-rwxr-xr-x | keyboards/novelkeys/novelpad/rules.mk (renamed from keyboards/novelpad/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/planck/keymaps/thermal_printer/config.h | 12 | ||||
-rw-r--r-- | keyboards/ploopyco/mouse/readme.md | 2 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball/readme.md | 4 | ||||
-rw-r--r-- | keyboards/ploopyco/trackball/trackball.c | 2 | ||||
-rw-r--r-- | keyboards/prototypist/allison/allison.c (renamed from keyboards/allison/allison.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/allison.h (renamed from keyboards/allison/allison.h) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/config.h (renamed from keyboards/allison/config.h) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/info.json (renamed from keyboards/allison/info.json) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/keymaps/default/keymap.c (renamed from keyboards/allison/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/keymaps/default/readme.md (renamed from keyboards/allison/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/keymaps/via/keymap.c (renamed from keyboards/allison/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/keymaps/via/readme.md (renamed from keyboards/allison/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/keymaps/via/rules.mk (renamed from keyboards/gingham/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison/readme.md (renamed from keyboards/allison/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/prototypist/allison/rules.mk (renamed from keyboards/allison/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/allison_numpad.c (renamed from keyboards/allison_numpad/allison_numpad.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/allison_numpad.h (renamed from keyboards/allison_numpad/allison_numpad.h) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/config.h (renamed from keyboards/allison_numpad/config.h) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/info.json (renamed from keyboards/allison_numpad/info.json) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/keymaps/default/keymap.c (renamed from keyboards/allison_numpad/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/keymaps/default/readme.md (renamed from keyboards/allison_numpad/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/keymaps/via/keymap.c (renamed from keyboards/allison_numpad/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/keymaps/via/readme.md (renamed from keyboards/allison_numpad/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/keymaps/via/rules.mk (renamed from keyboards/jisplit89/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/readme.md (renamed from keyboards/allison_numpad/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/prototypist/allison_numpad/rules.mk (renamed from keyboards/allison_numpad/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/config.h (renamed from keyboards/delilah/config.h) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/delilah.c (renamed from keyboards/delilah/delilah.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/delilah.h (renamed from keyboards/delilah/delilah.h) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/info.json (renamed from keyboards/delilah/info.json) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/keymaps/default/keymap.c (renamed from keyboards/delilah/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/keymaps/via/keymap.c (renamed from keyboards/delilah/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/keymaps/via/rules.mk (renamed from keyboards/kelowna/rgb64/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/readme.md (renamed from keyboards/delilah/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/rainkeebs/delilah/rules.mk (renamed from keyboards/delilah/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/config.h (renamed from keyboards/rainkeeb/config.h) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/info.json (renamed from keyboards/rainkeeb/info.json) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/keymaps/default/keymap.c (renamed from keyboards/rainkeeb/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/keymaps/via/keymap.c (renamed from keyboards/rainkeeb/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/keymaps/via/rules.mk (renamed from keyboards/ajisai74/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/rainkeeb.c (renamed from keyboards/rainkeeb/rainkeeb.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/rainkeeb.h (renamed from keyboards/rainkeeb/rainkeeb.h) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/readme.md (renamed from keyboards/rainkeeb/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/rainkeebs/rainkeeb/rules.mk (renamed from keyboards/rainkeeb/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/config.h (renamed from keyboards/yasui/config.h) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/info.json (renamed from keyboards/yasui/info.json) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/keymaps/default/keymap.c (renamed from keyboards/yasui/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/keymaps/via/keymap.c (renamed from keyboards/yasui/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/keymaps/via/rules.mk (renamed from keyboards/kprepublic/bm68hsrgb/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/readme.md (renamed from keyboards/yasui/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/rules.mk (renamed from keyboards/yasui/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/yasui.c (renamed from keyboards/yasui/yasui.c) | 0 | ||||
-rw-r--r-- | keyboards/rainkeebs/yasui/yasui.h (renamed from keyboards/yasui/yasui.h) | 0 | ||||
-rw-r--r-- | keyboards/redox_w/config.h | 9 | ||||
-rw-r--r-- | keyboards/redox_w/matrix.c | 135 | ||||
-rw-r--r-- | keyboards/redox_w/rules.mk | 19 | ||||
-rwxr-xr-x | keyboards/redscarf_iiplus/verb/matrix.c | 7 | ||||
-rwxr-xr-x | keyboards/redscarf_iiplus/verc/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/redscarf_iiplus/verd/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/rocketboard_16/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/.noci (renamed from keyboards/naked64/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/7skb.c (renamed from keyboards/7skb/7skb.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/7skb.h (renamed from keyboards/7skb/7skb.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/config.h (renamed from keyboards/getta25/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/info.json (renamed from keyboards/7skb/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/default/config.h (renamed from keyboards/7skb/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/default/keymap.c (renamed from keyboards/7skb/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/salicylic/config.h (renamed from keyboards/7skb/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/salicylic/keymap.c (renamed from keyboards/7skb/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/salicylic/rules.mk (renamed from keyboards/7skb/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/via/keymap.c (renamed from keyboards/7skb/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/via/readme.md (renamed from keyboards/7skb/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/keymaps/via/rules.mk (renamed from keyboards/ergoarrows/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/readme.md (renamed from keyboards/7skb/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/rev1/config.h (renamed from keyboards/7skb/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/rev1/rev1.c (renamed from keyboards/claw44/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/rev1/rev1.h (renamed from keyboards/7skb/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/rev1/rules.mk (renamed from keyboards/naked48/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7skb/rules.mk (renamed from keyboards/7skb/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/7splus.c (renamed from keyboards/7splus/7splus.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/7splus.h (renamed from keyboards/7splus/7splus.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/config.h (renamed from keyboards/7splus/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/info.json (renamed from keyboards/7splus/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/default/keymap.c (renamed from keyboards/7splus/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/salicylic/config.h (renamed from keyboards/7splus/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/salicylic/keymap.c (renamed from keyboards/7splus/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/salicylic/rules.mk (renamed from keyboards/7splus/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/via/config.h (renamed from keyboards/7splus/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/via/keymap.c (renamed from keyboards/7splus/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/keymaps/via/rules.mk (renamed from keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/readme.md (renamed from keyboards/7splus/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/7splus/rules.mk (renamed from keyboards/7splus/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/ajisai74.c (renamed from keyboards/ajisai74/ajisai74.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/ajisai74.h (renamed from keyboards/ajisai74/ajisai74.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/config.h (renamed from keyboards/ajisai74/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/info.json (renamed from keyboards/ajisai74/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/default/config.h (renamed from keyboards/ajisai74/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/default/keymap.c (renamed from keyboards/ajisai74/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/jis/config.h (renamed from keyboards/ajisai74/keymaps/jis/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/jis/keymap.c (renamed from keyboards/ajisai74/keymaps/jis/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/jis/rules.mk (renamed from keyboards/ajisai74/keymaps/jis/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/config.h (renamed from keyboards/ajisai74/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/keymap.c (renamed from keyboards/ajisai74/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/rules.mk (renamed from keyboards/ajisai74/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/via/config.h (renamed from keyboards/ajisai74/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/via/keymap.c (renamed from keyboards/ajisai74/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/keymaps/via/rules.mk (renamed from keyboards/nk1/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/readme.md (renamed from keyboards/ajisai74/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ajisai74/rules.mk (renamed from keyboards/ajisai74/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/config.h (renamed from keyboards/ergoarrows/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/ergoarrows.c (renamed from keyboards/ergoarrows/ergoarrows.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/ergoarrows.h (renamed from keyboards/ergoarrows/ergoarrows.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/info.json (renamed from keyboards/ergoarrows/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/default/config.h (renamed from keyboards/ergoarrows/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/default/keymap.c (renamed from keyboards/ergoarrows/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/config.h (renamed from keyboards/ergoarrows/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/keymap.c (renamed from keyboards/ergoarrows/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/via/config.h (renamed from keyboards/ergoarrows/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/via/keymap.c (renamed from keyboards/ergoarrows/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/keymaps/via/rules.mk (renamed from keyboards/nknl7en/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/readme.md (renamed from keyboards/ergoarrows/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/ergoarrows/rules.mk (renamed from keyboards/ergoarrows/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/.noci (renamed from keyboards/setta21/rev1/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/config.h (renamed from keyboards/naked64/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/getta25.c (renamed from keyboards/getta25/getta25.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/getta25.h (renamed from keyboards/getta25/getta25.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/info.json (renamed from keyboards/getta25/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/default/config.h (renamed from keyboards/getta25/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/default/keymap.c (renamed from keyboards/getta25/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/oled/config.h (renamed from keyboards/getta25/keymaps/oled/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/oled/glcdfont.c (renamed from keyboards/getta25/keymaps/oled/glcdfont.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/oled/keymap.c (renamed from keyboards/getta25/keymaps/oled/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/keymaps/oled/rules.mk (renamed from keyboards/getta25/keymaps/oled/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/readme.md (renamed from keyboards/getta25/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/rev1/config.h (renamed from keyboards/getta25/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/rev1/rev1.c (renamed from keyboards/getta25/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/rev1/rev1.h (renamed from keyboards/getta25/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/rev1/rules.mk (renamed from keyboards/treadstone48/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/getta25/rules.mk (renamed from keyboards/getta25/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/.noci (renamed from keyboards/treadstone32/lite/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/config.h (renamed from keyboards/jisplit89/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/info.json (renamed from keyboards/jisplit89/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/jisplit89.c (renamed from keyboards/jisplit89/jisplit89.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/jisplit89.h (renamed from keyboards/jisplit89/jisplit89.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/default/keymap.c (renamed from keyboards/jisplit89/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/config.h (renamed from keyboards/jisplit89/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/keymap.c (renamed from keyboards/jisplit89/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/rules.mk (renamed from keyboards/jisplit89/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/via/config.h (renamed from keyboards/jisplit89/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/via/keymap.c (renamed from keyboards/jisplit89/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/keymaps/via/rules.mk (renamed from keyboards/ls_60/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/readme.md (renamed from keyboards/jisplit89/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/rev1/config.h (renamed from keyboards/jisplit89/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/rev1/rev1.c (renamed from keyboards/jisplit89/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/rev1/rev1.h (renamed from keyboards/jisplit89/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/rev1/rules.mk (renamed from keyboards/naked60/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/jisplit89/rules.mk (renamed from keyboards/jisplit89/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/config.h (renamed from keyboards/nafuda/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/info.json (renamed from keyboards/nafuda/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/keymaps/default/config.h (renamed from keyboards/nafuda/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/keymaps/default/keymap.c (renamed from keyboards/nafuda/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/keymaps/default/readme.md (renamed from keyboards/nafuda/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/nafuda.c (renamed from keyboards/nafuda/nafuda.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/nafuda.h (renamed from keyboards/nafuda/nafuda.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/readme.md (renamed from keyboards/nafuda/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nafuda/rules.mk (renamed from keyboards/nafuda/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/.noci (renamed from keyboards/treadstone32/rev1/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/config.h (renamed from keyboards/naked48/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/info.json (renamed from keyboards/naked48/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default/config.h (renamed from keyboards/naked48/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default/keymap.c (renamed from keyboards/naked48/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default/readme.md (renamed from keyboards/naked48/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default/rules.mk (renamed from keyboards/treadstone48/rev2/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/config.h (renamed from keyboards/naked48/keymaps/default_with_nafuda/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/keymap.c (renamed from keyboards/naked48/keymaps/default_with_nafuda/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/readme.md (renamed from keyboards/naked48/keymaps/default_with_nafuda/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/rules.mk (renamed from keyboards/naked48/keymaps/default_with_nafuda/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/config.h (renamed from keyboards/naked48/keymaps/default_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/keymap.c (renamed from keyboards/naked48/keymaps/default_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/readme.md (renamed from keyboards/naked48/keymaps/default_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic/config.h (renamed from keyboards/naked48/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic/keymap.c (renamed from keyboards/naked48/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic/readme.md (renamed from keyboards/naked48/keymaps/salicylic/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic/rules.mk (renamed from keyboards/naked48/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/config.h (renamed from keyboards/naked48/keymaps/salicylic_with_nafuda/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/keymap.c (renamed from keyboards/naked48/keymaps/salicylic_with_nafuda/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/readme.md (renamed from keyboards/naked48/keymaps/salicylic_with_nafuda/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/rules.mk (renamed from keyboards/naked48/keymaps/salicylic_with_nafuda/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/config.h (renamed from keyboards/naked48/keymaps/salicylic_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/keymap.c (renamed from keyboards/naked48/keymaps/salicylic_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/readme.md (renamed from keyboards/naked48/keymaps/salicylic_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/rules.mk (renamed from keyboards/naked64/keymaps/default/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/scheiklp/config.h (renamed from keyboards/naked48/keymaps/scheiklp/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/scheiklp/keymap.c (renamed from keyboards/naked48/keymaps/scheiklp/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/scheiklp/readme.md (renamed from keyboards/naked48/keymaps/scheiklp/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/scheiklp/rules.mk (renamed from keyboards/naked48/keymaps/scheiklp/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via/config.h (renamed from keyboards/naked48/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via/keymap.c (renamed from keyboards/naked48/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via/rules.mk (renamed from keyboards/naked48/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/config.h (renamed from keyboards/naked48/keymaps/via_rgb_matrix/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/keymap.c (renamed from keyboards/naked48/keymaps/via_rgb_matrix/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/rules.mk (renamed from keyboards/naked48/keymaps/via_rgb_matrix/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/naked48.c (renamed from keyboards/naked48/naked48.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/naked48.h (renamed from keyboards/naked48/naked48.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/readme.md (renamed from keyboards/naked48/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/rev1/config.h (renamed from keyboards/naked48/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/rev1/rev1.c (renamed from keyboards/naked48/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/rev1/rev1.h (renamed from keyboards/naked48/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/rev1/rules.mk (renamed from keyboards/naked64/keymaps/default_with_setta21/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked48/rules.mk (renamed from keyboards/naked48/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/config.h (renamed from keyboards/naked60/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/info.json (renamed from keyboards/naked60/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/333fred/config.h (renamed from keyboards/naked60/keymaps/333fred/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/333fred/keymap.c (renamed from keyboards/naked60/keymaps/333fred/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default/config.h (renamed from keyboards/naked60/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default/keymap.c (renamed from keyboards/naked60/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default/readme.md (renamed from keyboards/naked60/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/config.h (renamed from keyboards/naked60/keymaps/default_with_nafuda/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/keymap.c (renamed from keyboards/naked60/keymaps/default_with_nafuda/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/readme.md (renamed from keyboards/naked60/keymaps/default_with_nafuda/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/config.h (renamed from keyboards/naked60/keymaps/default_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/keymap.c (renamed from keyboards/naked60/keymaps/default_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/readme.md (renamed from keyboards/naked60/keymaps/default_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic/config.h (renamed from keyboards/naked60/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic/keymap.c (renamed from keyboards/naked60/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic/readme.md (renamed from keyboards/naked60/keymaps/salicylic/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic/rules.mk (renamed from keyboards/naked60/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/config.h (renamed from keyboards/naked60/keymaps/salicylic_with_nafuda/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/keymap.c (renamed from keyboards/naked60/keymaps/salicylic_with_nafuda/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/readme.md (renamed from keyboards/naked60/keymaps/salicylic_with_nafuda/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/rules.mk (renamed from keyboards/naked60/keymaps/salicylic_with_nafuda/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/config.h (renamed from keyboards/naked60/keymaps/salicylic_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/keymap.c (renamed from keyboards/naked60/keymaps/salicylic_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/readme.md (renamed from keyboards/naked60/keymaps/salicylic_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/rules.mk (renamed from keyboards/naked60/keymaps/salicylic_with_setta21/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/via/config.h (renamed from keyboards/naked60/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/via/keymap.c (renamed from keyboards/naked60/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/keymaps/via/rules.mk (renamed from keyboards/naiping/np64/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/naked60.c (renamed from keyboards/naked60/naked60.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/naked60.h (renamed from keyboards/naked60/naked60.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/readme.md (renamed from keyboards/naked60/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/rev1/config.h (renamed from keyboards/naked60/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/rev1/rev1.c (renamed from keyboards/naked60/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/rev1/rev1.h (renamed from keyboards/naked60/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/rev1/rules.mk (renamed from keyboards/naked64/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked60/rules.mk (renamed from keyboards/naked60/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/.noci (renamed from keyboards/treadstone48/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/config.h (renamed from keyboards/setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/info.json (renamed from keyboards/naked64/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default/config.h (renamed from keyboards/naked64/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default/keymap.c (renamed from keyboards/naked64/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default/readme.md (renamed from keyboards/naked64/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default/rules.mk (renamed from keyboards/setta21/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/config.h (renamed from keyboards/naked64/keymaps/default_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/keymap.c (renamed from keyboards/naked64/keymaps/default_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/readme.md (renamed from keyboards/naked64/keymaps/default_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/rules.mk (renamed from keyboards/wings42/rev1/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic/config.h (renamed from keyboards/naked64/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic/keymap.c (renamed from keyboards/naked64/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic/readme.md (renamed from keyboards/naked64/keymaps/salicylic/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic/rules.mk (renamed from keyboards/naked64/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/config.h (renamed from keyboards/naked64/keymaps/salicylic_with_setta21/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/keymap.c (renamed from keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/readme.md (renamed from keyboards/naked64/keymaps/salicylic_with_setta21/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/rules.mk (renamed from keyboards/naked64/keymaps/salicylic_with_setta21/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/naked64.c (renamed from keyboards/naked64/naked64.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/naked64.h (renamed from keyboards/naked64/naked64.h) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/readme.md (renamed from keyboards/naked64/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/rev1/config.h (renamed from keyboards/naked64/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/rev1/rev1.c (renamed from keyboards/naked64/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/rev1/rev1.h (renamed from keyboards/naked64/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/rev1/rules.mk (renamed from keyboards/wings42/rev1_extkeys/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/naked64/rules.mk (renamed from keyboards/naked64/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/config.h (renamed from keyboards/nknl7en/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/info.json (renamed from keyboards/nknl7en/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/default/config.h (renamed from keyboards/nknl7en/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/default/keymap.c (renamed from keyboards/nknl7en/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/config.h (renamed from keyboards/nknl7en/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/keymap.c (renamed from keyboards/nknl7en/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/via/config.h (renamed from keyboards/nknl7en/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/via/keymap.c (renamed from keyboards/nknl7en/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/keymaps/via/rules.mk (renamed from keyboards/nknl7jp/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/nknl7en.c (renamed from keyboards/nknl7en/nknl7en.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/nknl7en.h (renamed from keyboards/nknl7en/nknl7en.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/readme.md (renamed from keyboards/nknl7en/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7en/rules.mk (renamed from keyboards/nknl7en/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/config.h (renamed from keyboards/nknl7jp/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/info.json (renamed from keyboards/nknl7jp/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/default/config.h (renamed from keyboards/nknl7jp/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/default/keymap.c (renamed from keyboards/nknl7jp/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/config.h (renamed from keyboards/nknl7jp/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/keymap.c (renamed from keyboards/nknl7jp/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/via/config.h (renamed from keyboards/nknl7jp/keymaps/via/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/via/keymap.c (renamed from keyboards/nknl7jp/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/keymaps/via/rules.mk (renamed from keyboards/rainkeeb/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/nknl7jp.c (renamed from keyboards/nknl7jp/nknl7jp.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/nknl7jp.h (renamed from keyboards/nknl7jp/nknl7jp.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/readme.md (renamed from keyboards/nknl7jp/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/nknl7jp/rules.mk (renamed from keyboards/nknl7jp/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/config.h (renamed from keyboards/wings42/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/info.json (renamed from keyboards/setta21/info.json) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/default/config.h (renamed from keyboards/setta21/keymaps/default/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/default/keymap.c (renamed from keyboards/setta21/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/default/readme.md (renamed from keyboards/setta21/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/salicylic/config.h (renamed from keyboards/setta21/keymaps/salicylic/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/salicylic/keymap.c (renamed from keyboards/setta21/keymaps/salicylic/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/salicylic/readme.md (renamed from keyboards/setta21/keymaps/salicylic/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/keymaps/salicylic/rules.mk (renamed from keyboards/setta21/keymaps/salicylic/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/readme.md (renamed from keyboards/setta21/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/.noci (renamed from keyboards/treadstone48/rev1/.noci) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/config.h (renamed from keyboards/setta21/rev1/config.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/rev1.c (renamed from keyboards/setta21/rev1/rev1.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/rev1.h (renamed from keyboards/setta21/rev1/rev1.h) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rev1/rules.mk (renamed from keyboards/wings42/rev2/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/rules.mk (renamed from keyboards/setta21/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/setta21.c (renamed from keyboards/setta21/setta21.c) | 0 | ||||
-rw-r--r-- | keyboards/salicylic_acid3/setta21/setta21.h (renamed from keyboards/setta21/setta21.h) | 2 | ||||
-rw-r--r-- | keyboards/sekigon/grs_70ec/matrix.c | 47 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev1/config.h | 9 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev1/matrix.c | 131 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev1/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/ansi/config.h | 9 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/iso/config.h | 9 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/matrix.c | 131 | ||||
-rw-r--r-- | keyboards/sirius/uni660/rev2/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/sirius/unigo66/custom_matrix.cpp | 4 | ||||
-rw-r--r-- | keyboards/sixkeyboard/matrix.c | 5 | ||||
-rw-r--r-- | keyboards/sx60/matrix.c | 8 | ||||
-rw-r--r-- | keyboards/telophase/config.h | 9 | ||||
-rw-r--r-- | keyboards/telophase/matrix.c | 10 | ||||
-rw-r--r-- | keyboards/telophase/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/tgr/jane/v2ce/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/thedogkeyboard/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/chconf.h (renamed from keyboards/geminate60/chconf.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/config.h (renamed from keyboards/geminate60/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/geminate60.c (renamed from keyboards/geminate60/geminate60.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/geminate60.h (renamed from keyboards/geminate60/geminate60.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/info.json (renamed from keyboards/geminate60/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/keymaps/default/keymap.c (renamed from keyboards/geminate60/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/keymaps/via/keymap.c (renamed from keyboards/geminate60/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/keymaps/via/rules.mk (renamed from keyboards/naiping/nphhkb/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/readme.md (renamed from keyboards/geminate60/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/geminate60/rules.mk (renamed from keyboards/geminate60/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/config.h (renamed from keyboards/kelowna/rgb64/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/info.json (renamed from keyboards/kelowna/rgb64/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/keymaps/default/keymap.c (renamed from keyboards/kelowna/rgb64/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/keymaps/via/keymap.c (renamed from keyboards/kelowna/rgb64/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/keymaps/via/rules.mk (renamed from keyboards/naiping/npminila/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/readme.md (renamed from keyboards/kelowna/rgb64/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/rgb64.c (renamed from keyboards/kelowna/rgb64/rgb64.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/rgb64.h (renamed from keyboards/kelowna/rgb64/rgb64.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/kelowna/rgb64/rules.mk (renamed from keyboards/kelowna/rgb64/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/chconf.h (renamed from keyboards/ls_60/chconf.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/config.h (renamed from keyboards/ls_60/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/info.json (renamed from keyboards/ls_60/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/keymaps/default/keymap.c (renamed from keyboards/ls_60/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/keymaps/via/keymap.c (renamed from keyboards/ls_60/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/keymaps/via/rules.mk (renamed from keyboards/naked60/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/ls_60.c (renamed from keyboards/ls_60/ls_60.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/ls_60.h (renamed from keyboards/ls_60/ls_60.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/readme.md (renamed from keyboards/ls_60/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/ls_60/rules.mk (renamed from keyboards/ls_60/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/chconf.h (renamed from keyboards/naiping/np64/chconf.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/config.h (renamed from keyboards/naiping/np64/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/info.json (renamed from keyboards/naiping/np64/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/keymaps/default/keymap.c (renamed from keyboards/naiping/np64/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/keymaps/via/keymap.c (renamed from keyboards/naiping/np64/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | keyboards/weirdo/naiping/np64/keymaps/via/rules.mk (renamed from keyboards/nk65/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/np64.c (renamed from keyboards/naiping/np64/np64.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/np64.h (renamed from keyboards/naiping/np64/np64.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/readme.md (renamed from keyboards/naiping/np64/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/np64/rules.mk (renamed from keyboards/naiping/np64/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/chconf.h (renamed from keyboards/naiping/nphhkb/chconf.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/config.h (renamed from keyboards/naiping/nphhkb/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/info.json (renamed from keyboards/naiping/nphhkb/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/keymaps/default/keymap.c (renamed from keyboards/naiping/nphhkb/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/keymaps/via/keymap.c (renamed from keyboards/naiping/nphhkb/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | keyboards/weirdo/naiping/nphhkb/keymaps/via/rules.mk (renamed from keyboards/nk87/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/nphhkb.c (renamed from keyboards/naiping/nphhkb/nphhkb.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/nphhkb.h (renamed from keyboards/naiping/nphhkb/nphhkb.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/readme.md (renamed from keyboards/naiping/nphhkb/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/nphhkb/rules.mk (renamed from keyboards/naiping/nphhkb/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/chconf.h (renamed from keyboards/naiping/npminila/chconf.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/config.h (renamed from keyboards/naiping/npminila/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/info.json (renamed from keyboards/naiping/npminila/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/keymaps/default/keymap.c (renamed from keyboards/naiping/npminila/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/keymaps/via/keymap.c (renamed from keyboards/naiping/npminila/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/keymaps/via/rules.mk (renamed from keyboards/owl8/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/npminila.c (renamed from keyboards/naiping/npminila/npminila.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/npminila.h (renamed from keyboards/naiping/npminila/npminila.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/readme.md (renamed from keyboards/naiping/npminila/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/naiping/npminila/rules.mk (renamed from keyboards/naiping/npminila/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/config.h (renamed from keyboards/tiger910/config.h) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/info.json (renamed from keyboards/tiger910/info.json) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/keymaps/default/keymap.c (renamed from keyboards/tiger910/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/keymaps/via/keymap.c (renamed from keyboards/tiger910/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/keymaps/via/rules.mk (renamed from keyboards/tiger910/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/readme.md (renamed from keyboards/tiger910/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/rules.mk (renamed from keyboards/tiger910/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/tiger910.c (renamed from keyboards/tiger910/tiger910.c) | 0 | ||||
-rw-r--r-- | keyboards/weirdo/tiger910/tiger910.h (renamed from keyboards/tiger910/tiger910.h) | 0 | ||||
-rw-r--r-- | keyboards/yanghu/unicorne/config.h | 6 | ||||
-rw-r--r-- | keyboards/ydkb/chili/chili.c (renamed from keyboards/chili/chili.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/chili.h (renamed from keyboards/chili/chili.h) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/config.h (renamed from keyboards/chili/config.h) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/info.json (renamed from keyboards/chili/info.json) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/keymaps/default/keymap.c (renamed from keyboards/chili/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/keymaps/via/keymap.c (renamed from keyboards/chili/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/keymaps/via/rules.mk (renamed from keyboards/seigaiha/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/chili/readme.md (renamed from keyboards/chili/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/ydkb/chili/rules.mk (renamed from keyboards/chili/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/config.h (renamed from keyboards/just60/config.h) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/info.json (renamed from keyboards/just60/info.json) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/just60.h (renamed from keyboards/just60/just60.h) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/keymaps/default/keymap.c (renamed from keyboards/just60/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/keymaps/default/readme.md (renamed from keyboards/just60/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/keymaps/thinxer/keymap.c (renamed from keyboards/just60/keymaps/thinxer/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/keymaps/thinxer/readme.md (renamed from keyboards/just60/keymaps/thinxer/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/keymaps/thinxer/rules.mk (renamed from keyboards/just60/keymaps/thinxer/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/just60/readme.md (renamed from keyboards/just60/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/ydkb/just60/rules.mk (renamed from keyboards/just60/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/config.h (renamed from keyboards/yd68/config.h) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/info.json (renamed from keyboards/yd68/info.json) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/keymaps/default/keymap.c (renamed from keyboards/yd68/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/keymaps/default/readme.md (renamed from keyboards/yd68/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/readme.md (renamed from keyboards/yd68/readme.md) | 2 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/rules.mk (renamed from keyboards/yd68/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/yd68.c (renamed from keyboards/yd68/yd68.c) | 0 | ||||
-rw-r--r-- | keyboards/ydkb/yd68/yd68.h (renamed from keyboards/yd68/yd68.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/barleycorn.c (renamed from keyboards/barleycorn/barleycorn.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/barleycorn.h (renamed from keyboards/barleycorn/barleycorn.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/config.h (renamed from keyboards/barleycorn/config.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/info.json (renamed from keyboards/barleycorn/info.json) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/default/keymap.c (renamed from keyboards/barleycorn/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/default/readme.md (renamed from keyboards/barleycorn/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/iso/keymap.c (renamed from keyboards/barleycorn/keymaps/iso/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/iso/readme.md (renamed from keyboards/barleycorn/keymaps/iso/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/via/keymap.c (renamed from keyboards/barleycorn/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/via/readme.md (renamed from keyboards/barleycorn/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/keymaps/via/rules.mk (renamed from keyboards/wings42/rev1/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/matrix.c (renamed from keyboards/barleycorn/matrix.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/readme.md (renamed from keyboards/barleycorn/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/yiancardesigns/barleycorn/rules.mk (renamed from keyboards/barleycorn/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/config.h (renamed from keyboards/gingham/config.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/gingham.c (renamed from keyboards/gingham/gingham.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/gingham.h (renamed from keyboards/gingham/gingham.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/info.json (renamed from keyboards/gingham/info.json) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/keymap.c (renamed from keyboards/gingham/keymaps/codecoffeecode/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/readme.md (renamed from keyboards/gingham/keymaps/codecoffeecode/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/default/keymap.c (renamed from keyboards/gingham/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/default/readme.md (renamed from keyboards/gingham/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/iso/keymap.c (renamed from keyboards/gingham/keymaps/iso/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/iso/readme.md (renamed from keyboards/gingham/keymaps/iso/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/via/keymap.c (renamed from keyboards/gingham/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/via/readme.md (renamed from keyboards/gingham/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/keymaps/via/rules.mk (renamed from keyboards/wings42/rev1_extkeys/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/matrix.c (renamed from keyboards/gingham/matrix.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/readme.md (renamed from keyboards/gingham/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/yiancardesigns/gingham/rules.mk (renamed from keyboards/gingham/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/config.h (renamed from keyboards/seigaiha/config.h) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/info.json (renamed from keyboards/seigaiha/info.json) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/keymaps/default/keymap.c (renamed from keyboards/seigaiha/keymaps/default/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/keymaps/default/readme.md (renamed from keyboards/seigaiha/keymaps/default/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/keymaps/via/keymap.c (renamed from keyboards/seigaiha/keymaps/via/keymap.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/keymaps/via/readme.md (renamed from keyboards/seigaiha/keymaps/via/readme.md) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/keymaps/via/rules.mk (renamed from keyboards/yasui/keymaps/via/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/matrix.c (renamed from keyboards/seigaiha/matrix.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/readme.md (renamed from keyboards/seigaiha/readme.md) | 4 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/rules.mk (renamed from keyboards/seigaiha/rules.mk) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/seigaiha.c (renamed from keyboards/seigaiha/seigaiha.c) | 0 | ||||
-rw-r--r-- | keyboards/yiancardesigns/seigaiha/seigaiha.h (renamed from keyboards/seigaiha/seigaiha.h) | 0 | ||||
-rw-r--r-- | keyboards/yosino58/rev1/matrix.c | 6 |
911 files changed, 1351 insertions, 5527 deletions
diff --git a/keyboards/40percentclub/ut47/keymaps/default/keymap.c b/keyboards/40percentclub/ut47/keymaps/default/keymap.c index 0fa7838dfd..4eb2c190c1 100644 --- a/keyboards/40percentclub/ut47/keymaps/default/keymap.c +++ b/keyboards/40percentclub/ut47/keymaps/default/keymap.c @@ -15,7 +15,7 @@ */ #include QMK_KEYBOARD_H #ifdef LED_ENABLE - #include "protocol/serial.h" + #include "uart.h" #endif #define LT3_TAB LT(3, KC_TAB) @@ -108,11 +108,11 @@ LAYOUT( /* Tab */ //LED keymap functions #ifdef LED_ENABLE void led_chmode(void) { - serial_send(101); + uart_write(0x65); } void led_toggle(void) { - serial_send(100); + uart_write(0x64); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { diff --git a/keyboards/40percentclub/ut47/keymaps/non-us/keymap.c b/keyboards/40percentclub/ut47/keymaps/non-us/keymap.c index 0c1c2e7599..8a0ba7b391 100644 --- a/keyboards/40percentclub/ut47/keymaps/non-us/keymap.c +++ b/keyboards/40percentclub/ut47/keymaps/non-us/keymap.c @@ -15,7 +15,7 @@ */ #include QMK_KEYBOARD_H #ifdef LED_ENABLE - #include "protocol/serial.h" + #include "uart.h" #endif #define LT3_TAB LT(3, KC_TAB) @@ -108,11 +108,11 @@ LAYOUT( /* Tab */ //LED keymap functions #ifdef LED_ENABLE void led_chmode(void) { - serial_send(101); + uart_write(0x65); } void led_toggle(void) { - serial_send(100); + uart_write(0x64); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { diff --git a/keyboards/40percentclub/ut47/keymaps/nordic/keymap.c b/keyboards/40percentclub/ut47/keymaps/nordic/keymap.c index 52372e2857..5e79cdb9a4 100644 --- a/keyboards/40percentclub/ut47/keymaps/nordic/keymap.c +++ b/keyboards/40percentclub/ut47/keymaps/nordic/keymap.c @@ -15,7 +15,7 @@ */ #include QMK_KEYBOARD_H #ifdef LED_ENABLE - #include "protocol/serial.h" + #include "uart.h" #endif @@ -151,11 +151,11 @@ LAYOUT( /* GAMING, toggled on and off - L5 */ //LED keymap functions #ifdef LED_ENABLE void led_chmode(void) { - serial_send(101); + uart_write(0x65); } void led_toggle(void) { - serial_send(100); + uart_write(0x64); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { diff --git a/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c b/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c index ae8ad3e378..75dba3a2d4 100644 --- a/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c +++ b/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c @@ -15,7 +15,7 @@ */ #include QMK_KEYBOARD_H #ifdef LED_ENABLE - #include "protocol/serial.h" + #include "uart.h" #endif #define LT3_TAB LT(3, KC_TAB) @@ -60,11 +60,11 @@ LAYOUT( /* Tab */ //LED keymap functions #ifdef LED_ENABLE void led_chmode(void) { - serial_send(101); + uart_write(0x65); } void led_toggle(void) { - serial_send(100); + uart_write(0x64); } bool process_record_user(uint16_t keycode, keyrecord_t *record) { diff --git a/keyboards/40percentclub/ut47/matrix.c b/keyboards/40percentclub/ut47/matrix.c index e47c7f8e13..89537592c5 100644 --- a/keyboards/40percentclub/ut47/matrix.c +++ b/keyboards/40percentclub/ut47/matrix.c @@ -26,10 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "debug.h" #include "util.h" #include "matrix.h" -#ifdef LED_ENABLE - #include "protocol/serial.h" -#endif - #ifndef DEBOUNCE # define DEBOUNCE 5 @@ -69,10 +65,6 @@ void matrix_init(void) matrix[i] = 0; matrix_debouncing[i] = 0; } - -#ifdef LED_ENABLE - serial_init(); -#endif } uint8_t matrix_scan(void) @@ -104,12 +96,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/40percentclub/ut47/rules.mk b/keyboards/40percentclub/ut47/rules.mk index 29cee474ff..6c9805e0fc 100644 --- a/keyboards/40percentclub/ut47/rules.mk +++ b/keyboards/40percentclub/ut47/rules.mk @@ -18,4 +18,5 @@ AUDIO_ENABLE = no # Audio output # custom matrix setup CUSTOM_MATRIX = yes -SRC += matrix.c protocol/serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/40percentclub/ut47/ut47.c b/keyboards/40percentclub/ut47/ut47.c index 9054335e5a..864edaeb57 100644 --- a/keyboards/40percentclub/ut47/ut47.c +++ b/keyboards/40percentclub/ut47/ut47.c @@ -15,7 +15,11 @@ */ #include "ut47.h" #ifdef LED_ENABLE - #include "protocol/serial.h" + #include "uart.h" + +void matrix_init_kb() { + uart_init(9600); +} #endif bool process_record_kb(uint16_t keycode, keyrecord_t *record) { @@ -23,7 +27,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { // 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); + uart_write((record->event.key.row*16)+record->event.key.col); #endif } return process_record_user(keycode, record); diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h index 9ad384c8ff..0e4f4c3baf 100644 --- a/keyboards/ai03/orbit/config.h +++ b/keyboards/ai03/orbit/config.h @@ -44,13 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COL_PINS { C7, B4, D7, D6, D4, F1, F0 } #define MATRIX_ROW_PINS_RIGHT { B6, B5, B4, D7, E6 } #define MATRIX_COL_PINS_RIGHT { D4, D6, F1, F0, F4, F5, C6 } - -#define SPLIT_HAND_PIN D5 - -//#define USE_I2C - -#define SELECT_SOFT_SERIAL_SPEED 1 - #define UNUSED_PINS /* COL2ROW, ROW2COL */ @@ -60,6 +53,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. */ #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 +#define SELECT_SOFT_SERIAL_SPEED 1 + +#define SPLIT_LED_STATE_ENABLE +#define SPLIT_LAYER_STATE_ENABLE + +#define SPLIT_HAND_PIN D5 #define BACKLIGHT_PIN B7 // #define BACKLIGHT_BREATHING diff --git a/keyboards/ai03/orbit/keymaps/default/keymap.c b/keyboards/ai03/orbit/keymaps/default/keymap.c index fa383d7c00..c9696ccde6 100644 --- a/keyboards/ai03/orbit/keymaps/default/keymap.c +++ b/keyboards/ai03/orbit/keymaps/default/keymap.c @@ -48,25 +48,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case MANUAL: - if (record->event.pressed) - { - // Keypress + if (record->event.pressed) { SEND_STRING("https://kb.ai03.me/redir/orbit"); - } - else - { - // Key release } break; case DBLZERO: - if (record->event.pressed) - { - // Keypress + if (record->event.pressed) { SEND_STRING("00"); - } - else - { - // Key release } break; } diff --git a/keyboards/ai03/orbit/matrix.c b/keyboards/ai03/orbit/matrix.c deleted file mode 100644 index b8e3296686..0000000000 --- a/keyboards/ai03/orbit/matrix.c +++ /dev/null @@ -1,328 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -/* - * scan matrix - */ -#include <stdint.h> -#include <stdbool.h> -#include "wait.h" -#include "util.h" -#include "matrix.h" -#include "split_util.h" -#include "config.h" -#include "split_flags.h" -#include "quantum.h" -#include "debounce.h" -#include "transport.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -#define ERROR_DISCONNECT_COUNT 5 - -//#define ROWS_PER_HAND (MATRIX_ROWS / 2) - -#ifdef DIRECT_PINS -static pin_t direct_pins[MATRIX_ROWS][MATRIX_COLS] = DIRECT_PINS; -#else -static pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; -static matrix_row_t raw_matrix[ROWS_PER_HAND]; - -// row offsets for each 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 - -inline uint8_t matrix_rows(void) { return MATRIX_ROWS; } - -inline uint8_t matrix_cols(void) { return MATRIX_COLS; } - -bool matrix_is_modified(void) { - if (debounce_active()) return false; - return true; -} - -inline bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & ((matrix_row_t)1 << col)); } - -inline matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; } - -void matrix_print(void) { - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); - print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) { - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; -} - -// matrix code - -#ifdef DIRECT_PINS - -static void init_pins(void) { - for (int row = 0; row < MATRIX_ROWS; row++) { - for (int col = 0; col < MATRIX_COLS; col++) { - pin_t pin = direct_pins[row][col]; - if (pin != NO_PIN) { - setPinInputHigh(pin); - } - } - } -} - -static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) { - matrix_row_t last_row_value = current_matrix[current_row]; - current_matrix[current_row] = 0; - - for (uint8_t col_index = 0; col_index < MATRIX_COLS; col_index++) { - pin_t pin = direct_pins[current_row][col_index]; - if (pin != NO_PIN) { - current_matrix[current_row] |= readPin(pin) ? 0 : (ROW_SHIFTER << col_index); - } - } - - return (last_row_value != current_matrix[current_row]); -} - -#elif (DIODE_DIRECTION == COL2ROW) - -static void select_row(uint8_t row) { - setPinOutput(row_pins[row]); - writePinLow(row_pins[row]); -} - -static void unselect_row(uint8_t row) { setPinInputHigh(row_pins[row]); } - -static void unselect_rows(void) { - for (uint8_t x = 0; x < ROWS_PER_HAND; x++) { - setPinInputHigh(row_pins[x]); - } -} - -static void init_pins(void) { - unselect_rows(); - for (uint8_t x = 0; x < MATRIX_COLS; x++) { - setPinInputHigh(col_pins[x]); - } -} - -static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) { - // Store last value of row prior to reading - matrix_row_t last_row_value = current_matrix[current_row]; - - // Clear data in matrix row - current_matrix[current_row] = 0; - - // Select row and wait for row selecton to stabilize - select_row(current_row); - wait_us(30); - - // For each col... - for (uint8_t col_index = 0; col_index < MATRIX_COLS; col_index++) { - // Populate the matrix row with the state of the col pin - current_matrix[current_row] |= readPin(col_pins[col_index]) ? 0 : (ROW_SHIFTER << col_index); - } - - // Unselect row - unselect_row(current_row); - - return (last_row_value != current_matrix[current_row]); -} - -#elif (DIODE_DIRECTION == ROW2COL) - -static void select_col(uint8_t col) { - setPinOutput(col_pins[col]); - writePinLow(col_pins[col]); -} - -static void unselect_col(uint8_t col) { setPinInputHigh(col_pins[col]); } - -static void unselect_cols(void) { - for (uint8_t x = 0; x < MATRIX_COLS; x++) { - setPinInputHigh(col_pins[x]); - } -} - -static void init_pins(void) { - unselect_cols(); - for (uint8_t x = 0; x < ROWS_PER_HAND; x++) { - setPinInputHigh(row_pins[x]); - } -} - -static bool read_rows_on_col(matrix_row_t current_matrix[], uint8_t current_col) { - bool matrix_changed = false; - - // Select col and wait for col selecton to stabilize - select_col(current_col); - wait_us(30); - - // For each row... - for (uint8_t row_index = 0; row_index < ROWS_PER_HAND; row_index++) { - // Store last value of row prior to reading - matrix_row_t last_row_value = current_matrix[row_index]; - - // Check row pin state - if (readPin(row_pins[row_index])) { - // Pin HI, clear col bit - current_matrix[row_index] &= ~(ROW_SHIFTER << current_col); - } else { - // Pin LO, set col bit - current_matrix[row_index] |= (ROW_SHIFTER << current_col); - } - - // Determine if the matrix changed state - if ((last_row_value != current_matrix[row_index]) && !(matrix_changed)) { - matrix_changed = true; - } - } - - // Unselect col - unselect_col(current_col); - - return matrix_changed; -} - -#endif - -void matrix_init(void) { - debug_enable = true; - debug_matrix = true; - debug_mouse = true; - - // Set pinout for right half if pinout for that half is defined - if (!isLeftHand) { -#ifdef MATRIX_ROW_PINS_RIGHT - const uint8_t row_pins_right[MATRIX_ROWS] = MATRIX_ROW_PINS_RIGHT; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - row_pins[i] = row_pins_right[i]; - } -#endif -#ifdef MATRIX_COL_PINS_RIGHT - const uint8_t col_pins_right[MATRIX_COLS] = MATRIX_COL_PINS_RIGHT; - for (uint8_t i = 0; i < MATRIX_COLS; i++) { - col_pins[i] = col_pins_right[i]; - } -#endif - } - - thisHand = isLeftHand ? 0 : (ROWS_PER_HAND); - thatHand = ROWS_PER_HAND - thisHand; - - // initialize key pins - init_pins(); - - // initialize matrix state: all keys off - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = 0; - } - - debounce_init(ROWS_PER_HAND); - - matrix_init_quantum(); -} - -uint8_t _matrix_scan(void) { - bool changed = false; - -#if defined(DIRECT_PINS) || (DIODE_DIRECTION == COL2ROW) - // Set row, read cols - for (uint8_t current_row = 0; current_row < ROWS_PER_HAND; current_row++) { - changed |= read_cols_on_row(raw_matrix, current_row); - } -#elif (DIODE_DIRECTION == ROW2COL) - // Set col, read rows - for (uint8_t current_col = 0; current_col < MATRIX_COLS; current_col++) { - changed |= read_rows_on_col(raw_matrix, current_col); - } -#endif - - debounce(raw_matrix, matrix + thisHand, ROWS_PER_HAND, changed); - - return 1; -} - -uint8_t matrix_scan(void) { - uint8_t ret = _matrix_scan(); - - if (is_keyboard_master()) { - static uint8_t error_count; - - if (!transport_master(matrix + thatHand)) { - error_count++; - - if (error_count > ERROR_DISCONNECT_COUNT) { - // reset other half if disconnected - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[thatHand + i] = 0; - } - } - } else { - error_count = 0; - } - - matrix_scan_quantum(); - } else { - transport_slave(matrix + thisHand); - matrix_slave_scan_user(); - } - - return ret; -} diff --git a/keyboards/ai03/orbit/orbit.c b/keyboards/ai03/orbit/orbit.c index 97553e318a..5097f9cd90 100644 --- a/keyboards/ai03/orbit/orbit.c +++ b/keyboards/ai03/orbit/orbit.c @@ -15,196 +15,124 @@ */ #include "orbit.h" #include "split_util.h" -#include "transport.h" +void led_init_ports(void) { + // Initialize indicator LEDs to output + if (isLeftHand) { + setPinOutput(C6); + setPinOutput(B6); + setPinOutput(B5); + } else { + setPinOutput(F6); + setPinOutput(F7); + setPinOutput(C7); + } + + set_layer_indicators(0); +} // Call led_toggle to set LEDs easily // LED IDs: -// +// // (LEFT) 0 1 2 | 3 4 5 (RIGHT) - -void led_toggle(int id, bool on) { - - if (isLeftHand) { - switch(id) { - case 0: - // Left hand C6 - if (on) - //PORTC |= (1<<6); - writePinHigh(C6); - else - //PORTC &= ~(1<<6); - writePinLow(C6); - break; - case 1: - // Left hand B6 - if (on) - //PORTB |= (1<<6); - writePinHigh(B6); - else - //PORTB &= ~(1<<6); - writePinLow(B6); - break; - case 2: - // Left hand B5 - if (on) - //PORTB |= (1<<5); - writePinHigh(B5); - else - //PORTB &= ~(1<<5); - writePinLow(B5); - break; - default: - break; - } - } else { - switch(id) { - case 3: - // Right hand F6 - if (on) - //PORTF |= (1<<6); - writePinHigh(F6); - else - //PORTF &= ~(1<<6); - writePinLow(F6); - break; - case 4: - // Right hand F7 - if (on) - //PORTF |= (1<<7); - writePinHigh(F7); - else - //PORTF &= ~(1<<7); - writePinLow(F7); - break; - case 5: - // Right hand C7 - if (on) - //PORTC |= (1<<7); - writePinHigh(C7); - else - //PORTC &= ~(1<<7); - writePinLow(C7); - break; - default: - break; - } - } +void led_toggle(uint8_t id, bool on) { + if (isLeftHand) { + switch (id) { + case 0: + // Left hand C6 + writePin(C6, on); + break; + case 1: + // Left hand B6 + writePin(B6, on); + break; + case 2: + // Left hand B5 + writePin(B5, on); + break; + default: + break; + } + } else { + switch (id) { + case 3: + // Right hand F6 + writePin(F6, on); + break; + case 4: + // Right hand F7 + writePin(F7, on); + break; + case 5: + // Right hand C7 + writePin(C7, on); + break; + default: + break; + } + } } // Set all LEDs at once using an array of 6 booleans // LED IDs: -// +// // (LEFT) 0 1 2 | 3 4 5 (RIGHT) -// +// // Ex. set_all_leds({ false, false, false, true, true, true }) would turn off left hand, turn on right hand void set_all_leds(bool leds[6]) { - for (int i = 0; i < 6; i++) { - led_toggle(i, leds[i]); - } + for (int i = 0; i < 6; i++) { + led_toggle(i, leds[i]); + } } void set_layer_indicators(uint8_t layer) { - - switch (layer) - { - case 0: - led_toggle(0, true); - led_toggle(1, false); - led_toggle(2, false); - break; - case 1: - led_toggle(0, true); - led_toggle(1, true); - led_toggle(2, false); - break; - case 2: - led_toggle(0, true); - led_toggle(1, true); - led_toggle(2, true); - break; - case 3: - led_toggle(0, false); - led_toggle(1, true); - led_toggle(2, true); - break; - case 4: - led_toggle(0, false); - led_toggle(1, false); - led_toggle(2, true); - break; - default: - led_toggle(0, true); - led_toggle(1, false); - led_toggle(2, true); - break; - } - + switch (layer) { + case 0: + led_toggle(0, true); + led_toggle(1, false); + led_toggle(2, false); + break; + case 1: + led_toggle(0, true); + led_toggle(1, true); + led_toggle(2, false); + break; + case 2: + led_toggle(0, true); + led_toggle(1, true); + led_toggle(2, true); + break; + case 3: + led_toggle(0, false); + led_toggle(1, true); + led_toggle(2, true); + break; + case 4: + led_toggle(0, false); + led_toggle(1, false); + led_toggle(2, true); + break; + default: + led_toggle(0, true); + led_toggle(1, false); + led_toggle(2, true); + break; + } } -void matrix_init_kb(void) { - // put your keyboard start-up code here - // runs once when the firmware starts up - - // Initialize indicator LEDs to output - if (isLeftHand) - { - setPinOutput(C6); - setPinOutput(B6); - setPinOutput(B5); - //DDRC |= (1<<6); - //DDRB |= (1<<6); - //DDRB |= (1<<5); - } - else - { - setPinOutput(F6); - setPinOutput(F7); - setPinOutput(C7); - //DDRF |= (1<<6); - //DDRF |= (1<<7); - //DDRC |= (1<<7); - } - - set_layer_indicators(0); - - matrix_init_user(); +bool led_update_kb(led_t led_state) { + bool res = led_update_user(led_state); + if (res) { + led_toggle(3, led_state.num_lock); + led_toggle(4, led_state.caps_lock); + led_toggle(5, led_state.scroll_lock); + } + return res; } -void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here - - if (is_keyboard_master()) { - - serial_m2s_buffer.nlock_led = IS_LED_ON(usb_led, USB_LED_NUM_LOCK); - serial_m2s_buffer.clock_led = IS_LED_ON(usb_led, USB_LED_CAPS_LOCK); - serial_m2s_buffer.slock_led = IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK); - - led_toggle(3, IS_LED_ON(usb_led, USB_LED_NUM_LOCK)); - led_toggle(4, IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)); - led_toggle(5, IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)); - - } - - led_set_user(usb_led); -} +layer_state_t layer_state_set_kb(layer_state_t state) { + set_layer_indicators(get_highest_layer(state)); -uint32_t layer_state_set_kb(uint32_t state) { - - if (is_keyboard_master()) - { - serial_m2s_buffer.current_layer = biton32(state); - - // If left half, do the LED toggle thing - if (isLeftHand) - { - set_layer_indicators(biton32(state)); - } - - } - // NOTE: Do not set slave LEDs here. - // This is not called on slave - - return layer_state_set_user(state); + return layer_state_set_user(state); } diff --git a/keyboards/ai03/orbit/orbit.h b/keyboards/ai03/orbit/orbit.h index 39f1ebb0e3..7f3b1aca32 100644 --- a/keyboards/ai03/orbit/orbit.h +++ b/keyboards/ai03/orbit/orbit.h @@ -18,6 +18,8 @@ #include "quantum.h" +#define XXX KC_NO + /* This a shortcut to help you visually see your layout. * * The first section contains all of the arguments representing the physical @@ -26,17 +28,6 @@ * The second converts the arguments into a two-dimensional array which * represents the switch matrix. */ - -#ifdef USE_I2C -#include <stddef.h> -#ifdef __AVR__ - #include <avr/io.h> - #include <avr/interrupt.h> -#endif -#endif - -#define XXX KC_NO - #define LAYOUT( \ L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ @@ -56,6 +47,6 @@ { R40, R41, R42, R43, R44, R45, XXX } \ } -extern void led_toggle(int id, bool on); +void led_toggle(uint8_t id, bool on); void set_all_leds(bool leds[6]); -extern void set_layer_indicators(uint8_t layer); +void set_layer_indicators(uint8_t layer); diff --git a/keyboards/ai03/orbit/readme.md b/keyboards/ai03/orbit/readme.md index 58ba2079d5..0c320929b6 100644 --- a/keyboards/ai03/orbit/readme.md +++ b/keyboards/ai03/orbit/readme.md @@ -4,9 +4,9 @@ A split ergonomic keyboard project. -Keyboard Maintainer: [ai03](https://github.com/ai03-2725) -Hardware Supported: The [Orbit PCB](https://github.com/ai03-2725/Orbit) -Hardware Availability: [This repository](https://github.com/ai03-2725/Orbit) has PCB files. Case group buy orders are currently closed. +* Keyboard Maintainer: [ai03](https://github.com/ai03-2725) +* Hardware Supported: The [Orbit PCB](https://github.com/ai03-2725/Orbit) +* Hardware Availability: [This repository](https://github.com/ai03-2725/Orbit) has PCB files. Case group buy orders are currently closed. Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/ai03/orbit/rules.mk b/keyboards/ai03/orbit/rules.mk index f98e2382f1..a0f1ab94a9 100644 --- a/keyboards/ai03/orbit/rules.mk +++ b/keyboards/ai03/orbit/rules.mk @@ -16,12 +16,4 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -USE_I2C = no # I2C for split communication -CUSTOM_MATRIX = yes # For providing custom matrix.c (in this case, override regular matrix.c with split matrix.c) -# SPLIT_KEYBOARD = yes # Split keyboard flag disabled as manual edits had to be done to the split common files - -SRC += split_util.c \ - split_flags.c \ - serial.c \ - transport.c \ - matrix.c +SPLIT_KEYBOARD = yes # Split keyboard flag disabled as manual edits had to be done to the split common files diff --git a/keyboards/ai03/orbit/serial.c b/keyboards/ai03/orbit/serial.c deleted file mode 100644 index 636dfa0906..0000000000 --- a/keyboards/ai03/orbit/serial.c +++ /dev/null @@ -1,545 +0,0 @@ -/* - * WARNING: be careful changing this code, it is very timing dependent - * - * 2018-10-28 checked - * avr-gcc 4.9.2 - * avr-gcc 5.4.0 - * avr-gcc 7.3.0 - */ - -#ifndef F_CPU -#define F_CPU 16000000 -#endif - -#include <avr/io.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include <stddef.h> -#include <stdbool.h> -#include "serial.h" - -#ifdef SOFT_SERIAL_PIN - -#ifdef __AVR_ATmega32U4__ - // if using ATmega32U4 I2C, can not use PD0 and PD1 in soft serial. - #ifdef USE_AVR_I2C - #if SOFT_SERIAL_PIN == D0 || SOFT_SERIAL_PIN == D1 - #error Using ATmega32U4 I2C, so can not use PD0, PD1 - #endif - #endif - - #if SOFT_SERIAL_PIN >= D0 && SOFT_SERIAL_PIN <= D3 - #define SERIAL_PIN_DDR DDRD - #define SERIAL_PIN_PORT PORTD - #define SERIAL_PIN_INPUT PIND - #if SOFT_SERIAL_PIN == D0 - #define SERIAL_PIN_MASK _BV(PD0) - #define EIMSK_BIT _BV(INT0) - #define EICRx_BIT (~(_BV(ISC00) | _BV(ISC01))) - #define SERIAL_PIN_INTERRUPT INT0_vect - #elif SOFT_SERIAL_PIN == D1 - #define SERIAL_PIN_MASK _BV(PD1) - #define EIMSK_BIT _BV(INT1) - #define EICRx_BIT (~(_BV(ISC10) | _BV(ISC11))) - #define SERIAL_PIN_INTERRUPT INT1_vect - #elif SOFT_SERIAL_PIN == D2 - #define SERIAL_PIN_MASK _BV(PD2) - #define EIMSK_BIT _BV(INT2) - #define EICRx_BIT (~(_BV(ISC20) | _BV(ISC21))) - #define SERIAL_PIN_INTERRUPT INT2_vect - #elif SOFT_SERIAL_PIN == D3 - #define SERIAL_PIN_MASK _BV(PD3) - #define EIMSK_BIT _BV(INT3) - #define EICRx_BIT (~(_BV(ISC30) | _BV(ISC31))) - #define SERIAL_PIN_INTERRUPT INT3_vect - #endif - #elif SOFT_SERIAL_PIN == E6 - #define SERIAL_PIN_DDR DDRE - #define SERIAL_PIN_PORT PORTE - #define SERIAL_PIN_INPUT PINE - #define SERIAL_PIN_MASK _BV(PE6) - #define EIMSK_BIT _BV(INT6) - #define EICRx_BIT (~(_BV(ISC60) | _BV(ISC61))) - #define SERIAL_PIN_INTERRUPT INT6_vect - #else - #error invalid SOFT_SERIAL_PIN value - #endif - -#else - #error serial.c now support ATmega32U4 only -#endif - -#define ALWAYS_INLINE __attribute__((always_inline)) -#define NO_INLINE __attribute__((noinline)) -#define _delay_sub_us(x) __builtin_avr_delay_cycles(x) - -// parity check -#define ODD_PARITY 1 -#define EVEN_PARITY 0 -#define PARITY EVEN_PARITY - -#ifdef SERIAL_DELAY - // custom setup in config.h - // #define TID_SEND_ADJUST 2 - // #define SERIAL_DELAY 6 // micro sec - // #define READ_WRITE_START_ADJUST 30 // cycles - // #define READ_WRITE_WIDTH_ADJUST 8 // cycles -#else -// ============ Standard setups ============ - -#ifndef SELECT_SOFT_SERIAL_SPEED -#define SELECT_SOFT_SERIAL_SPEED 1 -// 0: about 189kbps (Experimental only) -// 1: about 137kbps (default) -// 2: about 75kbps -// 3: about 39kbps -// 4: about 26kbps -// 5: about 20kbps -#endif - -#if __GNUC__ < 6 - #define TID_SEND_ADJUST 14 -#else - #define TID_SEND_ADJUST 2 -#endif - -#if SELECT_SOFT_SERIAL_SPEED == 0 - // Very High speed - #define SERIAL_DELAY 4 // micro sec - #if __GNUC__ < 6 - #define READ_WRITE_START_ADJUST 33 // cycles - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_START_ADJUST 34 // cycles - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#elif SELECT_SOFT_SERIAL_SPEED == 1 - // High speed - #define SERIAL_DELAY 6 // micro sec - #if __GNUC__ < 6 - #define READ_WRITE_START_ADJUST 30 // cycles - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_START_ADJUST 33 // cycles - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#elif SELECT_SOFT_SERIAL_SPEED == 2 - // Middle speed - #define SERIAL_DELAY 12 // micro sec - #define READ_WRITE_START_ADJUST 30 // cycles - #if __GNUC__ < 6 - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#elif SELECT_SOFT_SERIAL_SPEED == 3 - // Low speed - #define SERIAL_DELAY 24 // micro sec - #define READ_WRITE_START_ADJUST 30 // cycles - #if __GNUC__ < 6 - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#elif SELECT_SOFT_SERIAL_SPEED == 4 - // Very Low speed - #define SERIAL_DELAY 36 // micro sec - #define READ_WRITE_START_ADJUST 30 // cycles - #if __GNUC__ < 6 - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#elif SELECT_SOFT_SERIAL_SPEED == 5 - // Ultra Low speed - #define SERIAL_DELAY 48 // micro sec - #define READ_WRITE_START_ADJUST 30 // cycles - #if __GNUC__ < 6 - #define READ_WRITE_WIDTH_ADJUST 3 // cycles - #else - #define READ_WRITE_WIDTH_ADJUST 7 // cycles - #endif -#else -#error invalid SELECT_SOFT_SERIAL_SPEED value -#endif /* SELECT_SOFT_SERIAL_SPEED */ -#endif /* SERIAL_DELAY */ - -#define SERIAL_DELAY_HALF1 (SERIAL_DELAY/2) -#define SERIAL_DELAY_HALF2 (SERIAL_DELAY - SERIAL_DELAY/2) - -#define SLAVE_INT_WIDTH_US 1 -#ifndef SERIAL_USE_MULTI_TRANSACTION - #define SLAVE_INT_RESPONSE_TIME SERIAL_DELAY -#else - #define SLAVE_INT_ACK_WIDTH_UNIT 2 - #define SLAVE_INT_ACK_WIDTH 4 -#endif - -static SSTD_t *Transaction_table = NULL; -static uint8_t Transaction_table_size = 0; - -inline static void serial_delay(void) ALWAYS_INLINE; -inline static -void serial_delay(void) { - _delay_us(SERIAL_DELAY); -} - -inline static void serial_delay_half1(void) ALWAYS_INLINE; -inline static -void serial_delay_half1(void) { - _delay_us(SERIAL_DELAY_HALF1); -} - -inline static void serial_delay_half2(void) ALWAYS_INLINE; -inline static -void serial_delay_half2(void) { - _delay_us(SERIAL_DELAY_HALF2); -} - -inline static void serial_output(void) ALWAYS_INLINE; -inline static -void serial_output(void) { - SERIAL_PIN_DDR |= SERIAL_PIN_MASK; -} - -// make the serial pin an input with pull-up resistor -inline static void serial_input_with_pullup(void) ALWAYS_INLINE; -inline static -void serial_input_with_pullup(void) { - SERIAL_PIN_DDR &= ~SERIAL_PIN_MASK; - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -inline static uint8_t serial_read_pin(void) ALWAYS_INLINE; -inline static -uint8_t serial_read_pin(void) { - return !!(SERIAL_PIN_INPUT & SERIAL_PIN_MASK); -} - -inline static void serial_low(void) ALWAYS_INLINE; -inline static -void serial_low(void) { - SERIAL_PIN_PORT &= ~SERIAL_PIN_MASK; -} - -inline static void serial_high(void) ALWAYS_INLINE; -inline static -void serial_high(void) { - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -void soft_serial_initiator_init(SSTD_t *sstd_table, int sstd_table_size) -{ - Transaction_table = sstd_table; - Transaction_table_size = (uint8_t)sstd_table_size; - serial_output(); - serial_high(); -} - -void soft_serial_target_init(SSTD_t *sstd_table, int sstd_table_size) -{ - Transaction_table = sstd_table; - Transaction_table_size = (uint8_t)sstd_table_size; - serial_input_with_pullup(); - - // Enable INT0-INT3,INT6 - EIMSK |= EIMSK_BIT; -#if SERIAL_PIN_MASK == _BV(PE6) - // Trigger on falling edge of INT6 - EICRB &= EICRx_BIT; -#else - // Trigger on falling edge of INT0-INT3 - EICRA &= EICRx_BIT; -#endif -} - -// Used by the sender to synchronize timing with the reciver. -static void sync_recv(void) NO_INLINE; -static -void sync_recv(void) { - for (uint8_t i = 0; i < SERIAL_DELAY*5 && serial_read_pin(); i++ ) { - } - // This shouldn't hang if the target disconnects because the - // serial line will float to high if the target does disconnect. - while (!serial_read_pin()); -} - -// Used by the reciver to send a synchronization signal to the sender. -static void sync_send(void) NO_INLINE; -static -void sync_send(void) { - serial_low(); - serial_delay(); - serial_high(); -} - -// Reads a byte from the serial line -static uint8_t serial_read_chunk(uint8_t *pterrcount, uint8_t bit) NO_INLINE; -static uint8_t serial_read_chunk(uint8_t *pterrcount, uint8_t bit) { - uint8_t byte, i, p, pb; - - _delay_sub_us(READ_WRITE_START_ADJUST); - for( i = 0, byte = 0, p = PARITY; i < bit; i++ ) { - serial_delay_half1(); // read the middle of pulses - if( serial_read_pin() ) { - byte = (byte << 1) | 1; p ^= 1; - } else { - byte = (byte << 1) | 0; p ^= 0; - } - _delay_sub_us(READ_WRITE_WIDTH_ADJUST); - serial_delay_half2(); - } - /* recive parity bit */ - serial_delay_half1(); // read the middle of pulses - pb = serial_read_pin(); - _delay_sub_us(READ_WRITE_WIDTH_ADJUST); - serial_delay_half2(); - - *pterrcount += (p != pb)? 1 : 0; - - return byte; -} - -// Sends a byte with MSB ordering -void serial_write_chunk(uint8_t data, uint8_t bit) NO_INLINE; -void serial_write_chunk(uint8_t data, uint8_t bit) { - uint8_t b, p; - for( p = PARITY, b = 1<<(bit-1); b ; b >>= 1) { - if(data & b) { - serial_high(); p ^= 1; - } else { - serial_low(); p ^= 0; - } - serial_delay(); - } - /* send parity bit */ - if(p & 1) { serial_high(); } - else { serial_low(); } - serial_delay(); - - serial_low(); // sync_send() / senc_recv() need raise edge -} - -static void serial_send_packet(uint8_t *buffer, uint8_t size) NO_INLINE; -static -void serial_send_packet(uint8_t *buffer, uint8_t size) { - for (uint8_t i = 0; i < size; ++i) { - uint8_t data; - data = buffer[i]; - sync_send(); - serial_write_chunk(data,8); - } -} - -static uint8_t serial_recive_packet(uint8_t *buffer, uint8_t size) NO_INLINE; -static -uint8_t serial_recive_packet(uint8_t *buffer, uint8_t size) { - uint8_t pecount = 0; - for (uint8_t i = 0; i < size; ++i) { - uint8_t data; - sync_recv(); - data = serial_read_chunk(&pecount, 8); - buffer[i] = data; - } - return pecount == 0; -} - -inline static -void change_sender2reciver(void) { - sync_send(); //0 - serial_delay_half1(); //1 - serial_low(); //2 - serial_input_with_pullup(); //2 - serial_delay_half1(); //3 -} - -inline static -void change_reciver2sender(void) { - sync_recv(); //0 - serial_delay(); //1 - serial_low(); //3 - serial_output(); //3 - serial_delay_half1(); //4 -} - -static inline uint8_t nibble_bits_count(uint8_t bits) -{ - bits = (bits & 0x5) + (bits >> 1 & 0x5); - bits = (bits & 0x3) + (bits >> 2 & 0x3); - return bits; -} - -// interrupt handle to be used by the target device -ISR(SERIAL_PIN_INTERRUPT) { - -#ifndef SERIAL_USE_MULTI_TRANSACTION - serial_low(); - serial_output(); - SSTD_t *trans = Transaction_table; -#else - // recive transaction table index - uint8_t tid, bits; - uint8_t pecount = 0; - sync_recv(); - bits = serial_read_chunk(&pecount,7); - tid = bits>>3; - bits = (bits&7) != nibble_bits_count(tid); - if( bits || pecount> 0 || tid > Transaction_table_size ) { - return; - } - serial_delay_half1(); - - serial_high(); // response step1 low->high - serial_output(); - _delay_sub_us(SLAVE_INT_ACK_WIDTH_UNIT*SLAVE_INT_ACK_WIDTH); - SSTD_t *trans = &Transaction_table[tid]; - serial_low(); // response step2 ack high->low -#endif - - // target send phase - if( trans->target2initiator_buffer_size > 0 ) - serial_send_packet((uint8_t *)trans->target2initiator_buffer, - trans->target2initiator_buffer_size); - // target switch to input - change_sender2reciver(); - - // target recive phase - if( trans->initiator2target_buffer_size > 0 ) { - if (serial_recive_packet((uint8_t *)trans->initiator2target_buffer, - trans->initiator2target_buffer_size) ) { - *trans->status = TRANSACTION_ACCEPTED; - } else { - *trans->status = TRANSACTION_DATA_ERROR; - } - } else { - *trans->status = TRANSACTION_ACCEPTED; - } - - sync_recv(); //weit initiator output to high -} - -///////// -// start transaction by initiator -// -// int soft_serial_transaction(int sstd_index) -// -// Returns: -// TRANSACTION_END -// TRANSACTION_NO_RESPONSE -// TRANSACTION_DATA_ERROR -// this code is very time dependent, so we need to disable interrupts -#ifndef SERIAL_USE_MULTI_TRANSACTION -int soft_serial_transaction(void) { - SSTD_t *trans = Transaction_table; -#else -int soft_serial_transaction(int sstd_index) { - if( sstd_index > Transaction_table_size ) - return TRANSACTION_TYPE_ERROR; - SSTD_t *trans = &Transaction_table[sstd_index]; -#endif - cli(); - - // signal to the target that we want to start a transaction - serial_output(); - serial_low(); - _delay_us(SLAVE_INT_WIDTH_US); - -#ifndef SERIAL_USE_MULTI_TRANSACTION - // wait for the target response - serial_input_with_pullup(); - _delay_us(SLAVE_INT_RESPONSE_TIME); - - // check if the target is present - if (serial_read_pin()) { - // target failed to pull the line low, assume not present - serial_output(); - serial_high(); - *trans->status = TRANSACTION_NO_RESPONSE; - sei(); - return TRANSACTION_NO_RESPONSE; - } - -#else - // send transaction table index - int tid = (sstd_index<<3) | (7 & nibble_bits_count(sstd_index)); - sync_send(); - _delay_sub_us(TID_SEND_ADJUST); - serial_write_chunk(tid, 7); - serial_delay_half1(); - - // wait for the target response (step1 low->high) - serial_input_with_pullup(); - while( !serial_read_pin() ) { - _delay_sub_us(2); - } - - // check if the target is present (step2 high->low) - for( int i = 0; serial_read_pin(); i++ ) { - if (i > SLAVE_INT_ACK_WIDTH + 1) { - // slave failed to pull the line low, assume not present - serial_output(); - serial_high(); - *trans->status = TRANSACTION_NO_RESPONSE; - sei(); - return TRANSACTION_NO_RESPONSE; - } - _delay_sub_us(SLAVE_INT_ACK_WIDTH_UNIT); - } -#endif - - // initiator recive phase - // if the target is present syncronize with it - if( trans->target2initiator_buffer_size > 0 ) { - if (!serial_recive_packet((uint8_t *)trans->target2initiator_buffer, - trans->target2initiator_buffer_size) ) { - serial_output(); - serial_high(); - *trans->status = TRANSACTION_DATA_ERROR; - sei(); - return TRANSACTION_DATA_ERROR; - } - } - - // initiator switch to output - change_reciver2sender(); - - // initiator send phase - if( trans->initiator2target_buffer_size > 0 ) { - serial_send_packet((uint8_t *)trans->initiator2target_buffer, - trans->initiator2target_buffer_size); - } - - // always, release the line when not in use - sync_send(); - - *trans->status = TRANSACTION_END; - sei(); - return TRANSACTION_END; -} - -#ifdef SERIAL_USE_MULTI_TRANSACTION -int soft_serial_get_and_clean_status(int sstd_index) { - SSTD_t *trans = &Transaction_table[sstd_index]; - cli(); - int retval = *trans->status; - *trans->status = 0;; - sei(); - return retval; -} -#endif - -#endif - -// Helix serial.c history -// 2018-1-29 fork from let's split and add PD2, modify sync_recv() (#2308, bceffdefc) -// 2018-6-28 bug fix master to slave comm and speed up (#3255, 1038bbef4) -// (adjusted with avr-gcc 4.9.2) -// 2018-7-13 remove USE_SERIAL_PD2 macro (#3374, f30d6dd78) -// (adjusted with avr-gcc 4.9.2) -// 2018-8-11 add support multi-type transaction (#3608, feb5e4aae) -// (adjusted with avr-gcc 4.9.2) -// 2018-10-21 fix serial and RGB animation conflict (#4191, 4665e4fff) -// (adjusted with avr-gcc 7.3.0) -// 2018-10-28 re-adjust compiler depend value of delay (#4269, 8517f8a66) -// (adjusted with avr-gcc 5.4.0, 7.3.0) -// 2018-12-17 copy to TOP/quantum/split_common/ and remove backward compatibility code (#4669) diff --git a/keyboards/ai03/orbit/serial.h b/keyboards/ai03/orbit/serial.h deleted file mode 100644 index 1c1e640069..0000000000 --- a/keyboards/ai03/orbit/serial.h +++ /dev/null @@ -1,62 +0,0 @@ -#pragma once - -#include <stdbool.h> - -// ///////////////////////////////////////////////////////////////// -// Need Soft Serial defines in config.h -// ///////////////////////////////////////////////////////////////// -// ex. -// #define SOFT_SERIAL_PIN ?? // ?? = D0,D1,D2,D3,E6 -// OPTIONAL: #define SELECT_SOFT_SERIAL_SPEED ? // ? = 1,2,3,4,5 -// // 1: about 137kbps (default) -// // 2: about 75kbps -// // 3: about 39kbps -// // 4: about 26kbps -// // 5: about 20kbps -// -// //// USE simple API (using signle-type transaction function) -// /* nothing */ -// //// USE flexible API (using multi-type transaction function) -// #define SERIAL_USE_MULTI_TRANSACTION -// -// ///////////////////////////////////////////////////////////////// - -// Soft Serial Transaction Descriptor -typedef struct _SSTD_t { - uint8_t *status; - uint8_t initiator2target_buffer_size; - uint8_t *initiator2target_buffer; - uint8_t target2initiator_buffer_size; - uint8_t *target2initiator_buffer; -} SSTD_t; -#define TID_LIMIT( table ) (sizeof(table) / sizeof(SSTD_t)) - -// initiator is transaction start side -void soft_serial_initiator_init(SSTD_t *sstd_table, int sstd_table_size); -// target is interrupt accept side -void soft_serial_target_init(SSTD_t *sstd_table, int sstd_table_size); - -// initiator resullt -#define TRANSACTION_END 0 -#define TRANSACTION_NO_RESPONSE 0x1 -#define TRANSACTION_DATA_ERROR 0x2 -#define TRANSACTION_TYPE_ERROR 0x4 -#ifndef SERIAL_USE_MULTI_TRANSACTION -int soft_serial_transaction(void); -#else -int soft_serial_transaction(int sstd_index); -#endif - -// target status -// *SSTD_t.status has -// initiator: -// TRANSACTION_END -// or TRANSACTION_NO_RESPONSE -// or TRANSACTION_DATA_ERROR -// target: -// TRANSACTION_DATA_ERROR -// or TRANSACTION_ACCEPTED -#define TRANSACTION_ACCEPTED 0x8 -#ifdef SERIAL_USE_MULTI_TRANSACTION -int soft_serial_get_and_clean_status(int sstd_index); -#endif diff --git a/keyboards/ai03/orbit/split_flags.c b/keyboards/ai03/orbit/split_flags.c deleted file mode 100644 index 1f5825d650..0000000000 --- a/keyboards/ai03/orbit/split_flags.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "split_flags.h" - -volatile bool RGB_DIRTY = false; - -volatile bool BACKLIT_DIRTY = false;
\ No newline at end of file diff --git a/keyboards/ai03/orbit/split_flags.h b/keyboards/ai03/orbit/split_flags.h deleted file mode 100644 index aaac474a7d..0000000000 --- a/keyboards/ai03/orbit/split_flags.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include <stdbool.h> -#include <stdint.h> - -/** -* Global Flags -**/ - -//RGB Stuff -extern volatile bool RGB_DIRTY; - - -//Backlight Stuff -extern volatile bool BACKLIT_DIRTY; diff --git a/keyboards/ai03/orbit/split_util.c b/keyboards/ai03/orbit/split_util.c deleted file mode 100644 index 2352e5a111..0000000000 --- a/keyboards/ai03/orbit/split_util.c +++ /dev/null @@ -1,87 +0,0 @@ -#include "split_util.h" -#include "matrix.h" -#include "keyboard.h" -#include "config.h" -#include "timer.h" -#include "split_flags.h" -#include "transport.h" -#include "quantum.h" - -#ifdef EE_HANDS -# include "eeprom.h" -# include "eeconfig.h" -#endif - -volatile bool isLeftHand = true; - -__attribute__((weak)) -bool is_keyboard_left(void) { - #ifdef SPLIT_HAND_PIN - // Test pin SPLIT_HAND_PIN for High/Low, if low it's right hand - setPinInput(SPLIT_HAND_PIN); - return readPin(SPLIT_HAND_PIN); - #else - #ifdef EE_HANDS - return eeprom_read_byte(EECONFIG_HANDEDNESS); - #else - #ifdef MASTER_RIGHT - return !is_keyboard_master(); - #else - return is_keyboard_master(); - #endif - #endif - #endif -} - -bool is_keyboard_master(void) -{ -#ifdef __AVR__ - static enum { UNKNOWN, MASTER, SLAVE } usbstate = UNKNOWN; - - // only check once, as this is called often - if (usbstate == UNKNOWN) - { - USBCON |= (1 << OTGPADE); // enables VBUS pad - wait_us(5); - - usbstate = (USBSTA & (1 << VBUS)) ? MASTER : SLAVE; // checks state of VBUS - } - - return (usbstate == MASTER); -#else - return true; -#endif -} - -static void keyboard_master_setup(void) { -#if defined(USE_I2C) - #ifdef SSD1306OLED - matrix_master_OLED_init (); - #endif -#endif - transport_master_init(); - - // For master the Backlight info needs to be sent on startup - // Otherwise the salve won't start with the proper info until an update - BACKLIT_DIRTY = true; -} - -static void keyboard_slave_setup(void) -{ - transport_slave_init(); -} - -// this code runs before the usb and keyboard is initialized -void matrix_setup(void) -{ - isLeftHand = is_keyboard_left(); - - if (is_keyboard_master()) - { - keyboard_master_setup(); - } - else - { - keyboard_slave_setup(); - } -} diff --git a/keyboards/ai03/orbit/split_util.h b/keyboards/ai03/orbit/split_util.h deleted file mode 100644 index 20f7535bf4..0000000000 --- a/keyboards/ai03/orbit/split_util.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -#include <stdbool.h> -#include <stdint.h> -#include <stdio.h> -#include <stdlib.h> - -extern volatile bool isLeftHand; - -void matrix_master_OLED_init (void); diff --git a/keyboards/ai03/orbit/transport.c b/keyboards/ai03/orbit/transport.c deleted file mode 100644 index 447fafed14..0000000000 --- a/keyboards/ai03/orbit/transport.c +++ /dev/null @@ -1,238 +0,0 @@ - -#include "transport.h" - -#include "config.h" -#include "matrix.h" -#include "quantum.h" - -#include "orbit.h" - -#define ROWS_PER_HAND (MATRIX_ROWS/2) - -#ifdef RGBLIGHT_ENABLE -# include "rgblight.h" -#endif - -#ifdef BACKLIGHT_ENABLE -# include "backlight.h" - extern backlight_config_t backlight_config; -#endif - -#if defined(USE_I2C) - -#include "i2c.h" - -#ifndef SLAVE_I2C_ADDRESS -# define SLAVE_I2C_ADDRESS 0x32 -#endif - -#if (MATRIX_COLS > 8) -# error "Currently only supports 8 COLS" -#endif - -// Get rows from other half over i2c -bool transport_master(matrix_row_t matrix[]) { - int err = 0; - - // write backlight info -#ifdef BACKLIGHT_ENABLE - if (BACKLIT_DIRTY) { - err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_WRITE); - if (err) { goto i2c_error; } - - // Backlight location - err = i2c_master_write(I2C_BACKLIT_START); - if (err) { goto i2c_error; } - - // Write backlight - i2c_master_write(get_backlight_level()); - - BACKLIT_DIRTY = false; - } -#endif - - err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_WRITE); - if (err) { goto i2c_error; } - - // start of matrix stored at I2C_KEYMAP_START - err = i2c_master_write(I2C_KEYMAP_START); - if (err) { goto i2c_error; } - - // Start read - err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_READ); - if (err) { goto i2c_error; } - - if (!err) { - int i; - for (i = 0; i < ROWS_PER_HAND-1; ++i) { - matrix[i] = i2c_master_read(I2C_ACK); - } - matrix[i] = i2c_master_read(I2C_NACK); - i2c_master_stop(); - } else { -i2c_error: // the cable is disconnceted, or something else went wrong - i2c_reset_state(); - return false; - } - -#ifdef RGBLIGHT_ENABLE - if (RGB_DIRTY) { - err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_WRITE); - if (err) { goto i2c_error; } - - // RGB Location - err = i2c_master_write(I2C_RGB_START); - if (err) { goto i2c_error; } - - uint32_t dword = eeconfig_read_rgblight(); - - // Write RGB - err = i2c_master_write_data(&dword, 4); - if (err) { goto i2c_error; } - - RGB_DIRTY = false; - i2c_master_stop(); - } -#endif - - return true; -} - -void transport_slave(matrix_row_t matrix[]) { - - for (int i = 0; i < ROWS_PER_HAND; ++i) - { - i2c_slave_buffer[I2C_KEYMAP_START + i] = matrix[i]; - } - // Read Backlight Info - #ifdef BACKLIGHT_ENABLE - if (BACKLIT_DIRTY) - { - backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]); - BACKLIT_DIRTY = false; - } - #endif - #ifdef RGBLIGHT_ENABLE - if (RGB_DIRTY) - { - // Disable interupts (RGB data is big) - cli(); - // Create new DWORD for RGB data - uint32_t dword; - - // Fill the new DWORD with the data that was sent over - uint8_t * dword_dat = (uint8_t *)(&dword); - for (int i = 0; i < 4; i++) - { - dword_dat[i] = i2c_slave_buffer[I2C_RGB_START + i]; - } - - // Update the RGB now with the new data and set RGB_DIRTY to false - rgblight_update_dword(dword); - RGB_DIRTY = false; - // Re-enable interupts now that RGB is set - sei(); - } - #endif -} - -void transport_master_init(void) { - i2c_master_init(); -} - -void transport_slave_init(void) { - i2c_slave_init(SLAVE_I2C_ADDRESS); -} - -#else // USE_SERIAL - -#include "serial.h" - - - -volatile Serial_s2m_buffer_t serial_s2m_buffer = {}; -volatile Serial_m2s_buffer_t serial_m2s_buffer = {}; -uint8_t volatile status0 = 0; - -SSTD_t transactions[] = { - { (uint8_t *)&status0, - sizeof(serial_m2s_buffer), (uint8_t *)&serial_m2s_buffer, - sizeof(serial_s2m_buffer), (uint8_t *)&serial_s2m_buffer - } -}; - -uint8_t slave_layer_cache; -uint8_t slave_nlock_cache; -uint8_t slave_clock_cache; -uint8_t slave_slock_cache; - -void transport_master_init(void) -{ soft_serial_initiator_init(transactions, TID_LIMIT(transactions)); } - -void transport_slave_init(void) -{ - soft_serial_target_init(transactions, TID_LIMIT(transactions)); - slave_layer_cache = 255; - slave_nlock_cache = 255; - slave_clock_cache = 255; - slave_slock_cache = 255; -} - -bool transport_master(matrix_row_t matrix[]) { - - if (soft_serial_transaction()) { - return false; - } - - // TODO: if MATRIX_COLS > 8 change to unpack() - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[i] = serial_s2m_buffer.smatrix[i]; - } - - #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_SPLIT) - // Code to send RGB over serial goes here (not implemented yet) - #endif - - #ifdef BACKLIGHT_ENABLE - // Write backlight level for slave to read - serial_m2s_buffer.backlight_level = backlight_config.enable ? backlight_config.level : 0; - #endif - - return true; -} - -void transport_slave(matrix_row_t matrix[]) { - - // TODO: if MATRIX_COLS > 8 change to pack() - for (int i = 0; i < ROWS_PER_HAND; ++i) - { - serial_s2m_buffer.smatrix[i] = matrix[i]; - } - #ifdef BACKLIGHT_ENABLE - backlight_set(serial_m2s_buffer.backlight_level); - #endif - #if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_SPLIT) - // Add serial implementation for RGB here - #endif - - if (slave_layer_cache != serial_m2s_buffer.current_layer) { - slave_layer_cache = serial_m2s_buffer.current_layer; - set_layer_indicators(slave_layer_cache); - } - - if (slave_nlock_cache != serial_m2s_buffer.nlock_led) { - slave_nlock_cache = serial_m2s_buffer.nlock_led; - led_toggle(3, slave_nlock_cache); - } - if (slave_clock_cache != serial_m2s_buffer.clock_led) { - slave_clock_cache = serial_m2s_buffer.clock_led; - led_toggle(4, slave_clock_cache); - } - if (slave_slock_cache != serial_m2s_buffer.slock_led) { - slave_slock_cache = serial_m2s_buffer.slock_led; - led_toggle(5, slave_slock_cache); - } - -} - -#endif diff --git a/keyboards/ai03/orbit/transport.h b/keyboards/ai03/orbit/transport.h deleted file mode 100644 index 757eae6f5c..0000000000 --- a/keyboards/ai03/orbit/transport.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include "matrix.h" - -#define ROWS_PER_HAND (MATRIX_ROWS/2) - -typedef struct _Serial_s2m_buffer_t { - // TODO: if MATRIX_COLS > 8 change to uint8_t packed_matrix[] for pack/unpack - matrix_row_t smatrix[ROWS_PER_HAND]; -} Serial_s2m_buffer_t; - -typedef struct _Serial_m2s_buffer_t { -#ifdef BACKLIGHT_ENABLE - uint8_t backlight_level; -#endif -#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_SPLIT) - rgblight_config_t rgblight_config; //not yet use - // - // When MCUs on both sides drive their respective RGB LED chains, - // it is necessary to synchronize, so it is necessary to communicate RGB information. - // In that case, define the RGBLIGHT_SPLIT macro. - // - // Otherwise, if the master side MCU drives both sides RGB LED chains, - // there is no need to communicate. -#endif - - uint8_t current_layer; - uint8_t nlock_led; - uint8_t clock_led; - uint8_t slock_led; - -} Serial_m2s_buffer_t; - -extern volatile Serial_s2m_buffer_t serial_s2m_buffer; -extern volatile Serial_m2s_buffer_t serial_m2s_buffer; - -void transport_master_init(void); -void transport_slave_init(void); - -// returns false if valid data not received from slave -bool transport_master(matrix_row_t matrix[]); -void transport_slave(matrix_row_t matrix[]); diff --git a/keyboards/amj96/matrix.c b/keyboards/amj96/matrix.c index 8e7bbaa791..ffd66d120f 100644 --- a/keyboards/amj96/matrix.c +++ b/keyboards/amj96/matrix.c @@ -108,12 +108,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/angel64/alpha/matrix.c b/keyboards/angel64/alpha/matrix.c index 474fbec030..2851859cf2 100644 --- a/keyboards/angel64/alpha/matrix.c +++ b/keyboards/angel64/alpha/matrix.c @@ -90,13 +90,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/angel64/rev1/matrix.c b/keyboards/angel64/rev1/matrix.c index 474fbec030..2851859cf2 100644 --- a/keyboards/angel64/rev1/matrix.c +++ b/keyboards/angel64/rev1/matrix.c @@ -90,13 +90,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/bpiphany/kitten_paw/matrix.c b/keyboards/bpiphany/kitten_paw/matrix.c index b59089cdf4..56114858f1 100644 --- a/keyboards/bpiphany/kitten_paw/matrix.c +++ b/keyboards/bpiphany/kitten_paw/matrix.c @@ -117,13 +117,6 @@ uint8_t matrix_scan(void) { return 1; } -bool matrix_is_modified(void) { - if (debouncing) - return false; - else - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & ((matrix_row_t)1<<col)); } diff --git a/keyboards/bpiphany/pegasushoof/2013/matrix.c b/keyboards/bpiphany/pegasushoof/2013/matrix.c index 037f323c00..09244982d9 100644 --- a/keyboards/bpiphany/pegasushoof/2013/matrix.c +++ b/keyboards/bpiphany/pegasushoof/2013/matrix.c @@ -110,13 +110,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) - return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/cu24/config.h b/keyboards/capsunlocked/cu24/config.h index a2a4e727ff..a2a4e727ff 100644 --- a/keyboards/cu24/config.h +++ b/keyboards/capsunlocked/cu24/config.h diff --git a/keyboards/cu24/cu24.c b/keyboards/capsunlocked/cu24/cu24.c index 0c976f076f..0c976f076f 100644 --- a/keyboards/cu24/cu24.c +++ b/keyboards/capsunlocked/cu24/cu24.c diff --git a/keyboards/cu24/cu24.h b/keyboards/capsunlocked/cu24/cu24.h index 8e3daa4758..8e3daa4758 100644 --- a/keyboards/cu24/cu24.h +++ b/keyboards/capsunlocked/cu24/cu24.h diff --git a/keyboards/cu24/info.json b/keyboards/capsunlocked/cu24/info.json index 532bc13bee..532bc13bee 100644 --- a/keyboards/cu24/info.json +++ b/keyboards/capsunlocked/cu24/info.json diff --git a/keyboards/cu24/keymaps/default/keymap.c b/keyboards/capsunlocked/cu24/keymaps/default/keymap.c index aa2d834dfa..aa2d834dfa 100644 --- a/keyboards/cu24/keymaps/default/keymap.c +++ b/keyboards/capsunlocked/cu24/keymaps/default/keymap.c diff --git a/keyboards/cu24/keymaps/default/readme.md b/keyboards/capsunlocked/cu24/keymaps/default/readme.md index 5528d6c0d8..5528d6c0d8 100644 --- a/keyboards/cu24/keymaps/default/readme.md +++ b/keyboards/capsunlocked/cu24/keymaps/default/readme.md diff --git a/keyboards/cu24/readme.md b/keyboards/capsunlocked/cu24/readme.md index ca3f3f5a04..250ff8847f 100644 --- a/keyboards/cu24/readme.md +++ b/keyboards/capsunlocked/cu24/readme.md @@ -1,6 +1,6 @@ # CU24 -![CU24](https://geekhack.org/index.php?action=dlattach;topic=93289.0;attach=185492;image) +![CU24](https://i.imgur.com/AU1QisF.jpg) A luxurious 24 key keypad with various layouts. Includes RGB underglow, backlight and an aluminium, brass and nylon case. @@ -10,6 +10,6 @@ Hardware Availability: [caps-unlocked.com](http://caps-unlocked.com/) Make example for this keyboard (after setting up your build environment): - make CU24:default + make capsunlocked/cu24:default See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/cu24/rules.mk b/keyboards/capsunlocked/cu24/rules.mk index 87e6fffce0..87e6fffce0 100644 --- a/keyboards/cu24/rules.mk +++ b/keyboards/capsunlocked/cu24/rules.mk diff --git a/keyboards/cu75/config.h b/keyboards/capsunlocked/cu75/config.h index cfcb08cce1..cfcb08cce1 100644 --- a/keyboards/cu75/config.h +++ b/keyboards/capsunlocked/cu75/config.h diff --git a/keyboards/cu75/cu75.c b/keyboards/capsunlocked/cu75/cu75.c index 273dd09271..273dd09271 100644 --- a/keyboards/cu75/cu75.c +++ b/keyboards/capsunlocked/cu75/cu75.c diff --git a/keyboards/cu75/cu75.h b/keyboards/capsunlocked/cu75/cu75.h index 444c8daaec..444c8daaec 100644 --- a/keyboards/cu75/cu75.h +++ b/keyboards/capsunlocked/cu75/cu75.h diff --git a/keyboards/7skb/.noci b/keyboards/capsunlocked/cu75/cu75/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/7skb/.noci +++ b/keyboards/capsunlocked/cu75/cu75/.noci diff --git a/keyboards/cu75/info.json b/keyboards/capsunlocked/cu75/info.json index 07812ddb58..07812ddb58 100644 --- a/keyboards/cu75/info.json +++ b/keyboards/capsunlocked/cu75/info.json diff --git a/keyboards/cu75/keymaps/default/keymap.c b/keyboards/capsunlocked/cu75/keymaps/default/keymap.c index b1e3e9f97a..b1e3e9f97a 100644 --- a/keyboards/cu75/keymaps/default/keymap.c +++ b/keyboards/capsunlocked/cu75/keymaps/default/keymap.c diff --git a/keyboards/cu75/keymaps/default/rules.mk b/keyboards/capsunlocked/cu75/keymaps/default/rules.mk index bbd4c8c9fd..bbd4c8c9fd 100644 --- a/keyboards/cu75/keymaps/default/rules.mk +++ b/keyboards/capsunlocked/cu75/keymaps/default/rules.mk diff --git a/keyboards/cu75/keymaps/iso/keymap.c b/keyboards/capsunlocked/cu75/keymaps/iso/keymap.c index ce7d51eed0..ce7d51eed0 100644 --- a/keyboards/cu75/keymaps/iso/keymap.c +++ b/keyboards/capsunlocked/cu75/keymaps/iso/keymap.c diff --git a/keyboards/cu75/keymaps/iso/rules.mk b/keyboards/capsunlocked/cu75/keymaps/iso/rules.mk index be27fed69c..be27fed69c 100644 --- a/keyboards/cu75/keymaps/iso/rules.mk +++ b/keyboards/capsunlocked/cu75/keymaps/iso/rules.mk diff --git a/keyboards/cu75/readme.md b/keyboards/capsunlocked/cu75/readme.md index 43603440fd..78882b2573 100644 --- a/keyboards/cu75/readme.md +++ b/keyboards/capsunlocked/cu75/readme.md @@ -1,6 +1,6 @@ # CU75 -![CU75](https://geekhack.org/index.php?action=dlattach;topic=91767.0;attach=179167;image) +![CU75](https://i.imgur.com/42ltqi6.jpg) A luxurious 75% keyboard with various layouts. Includes RGB underglow, backlight and an aluminium, brass and nylon case. @@ -12,6 +12,6 @@ This PCB uses lighting libraries from LFKeyboards Make example for this keyboard (after setting up your build environment): - make CU75:default + make capsunlocked/cu75:default See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/cu75/rules.mk b/keyboards/capsunlocked/cu75/rules.mk index 6274267ab1..6274267ab1 100644 --- a/keyboards/cu75/rules.mk +++ b/keyboards/capsunlocked/cu75/rules.mk diff --git a/keyboards/cu80/config.h b/keyboards/capsunlocked/cu80/v1/config.h index d5123cdbad..d5123cdbad 100644 --- a/keyboards/cu80/config.h +++ b/keyboards/capsunlocked/cu80/v1/config.h diff --git a/keyboards/cu80/info.json b/keyboards/capsunlocked/cu80/v1/info.json index 937dfd8b5a..937dfd8b5a 100644 --- a/keyboards/cu80/info.json +++ b/keyboards/capsunlocked/cu80/v1/info.json diff --git a/keyboards/cu80/keymaps/default/keymap.c b/keyboards/capsunlocked/cu80/v1/keymaps/default/keymap.c index befdb527db..befdb527db 100644 --- a/keyboards/cu80/keymaps/default/keymap.c +++ b/keyboards/capsunlocked/cu80/v1/keymaps/default/keymap.c diff --git a/keyboards/cu80/keymaps/default/readme.md b/keyboards/capsunlocked/cu80/v1/keymaps/default/readme.md index e1fd6d7384..e1fd6d7384 100644 --- a/keyboards/cu80/keymaps/default/readme.md +++ b/keyboards/capsunlocked/cu80/v1/keymaps/default/readme.md diff --git a/keyboards/cu80/readme.md b/keyboards/capsunlocked/cu80/v1/readme.md index cb48c875b9..9d6141a4a0 100644 --- a/keyboards/cu80/readme.md +++ b/keyboards/capsunlocked/cu80/v1/readme.md @@ -1,6 +1,6 @@ # CU80 -![cu80](https://cdn11.bigcommerce.com/s-vdedjo0w46/images/stencil/900x900/products/287/2336/DSCF3583__16019.1567722956.png?c=2) +![cu80](https://i.imgur.com/p8D4POn.png) A customizable 80% keyboard. @@ -10,6 +10,6 @@ A customizable 80% keyboard. Make example for this keyboard (after setting up your build environment): - make cu80:default + make capsunlocked/cu80/v1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/cu80/rules.mk b/keyboards/capsunlocked/cu80/v1/rules.mk index 6bfd2008a8..6bfd2008a8 100644 --- a/keyboards/cu80/rules.mk +++ b/keyboards/capsunlocked/cu80/v1/rules.mk diff --git a/keyboards/capsunlocked/cu80/v1/v1.c b/keyboards/capsunlocked/cu80/v1/v1.c new file mode 100644 index 0000000000..96161175b2 --- /dev/null +++ b/keyboards/capsunlocked/cu80/v1/v1.c @@ -0,0 +1,18 @@ +/* +Copyright 2020 Andy Holland + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "v1.h" diff --git a/keyboards/cu80/cu80.h b/keyboards/capsunlocked/cu80/v1/v1.h index 607b7e3afb..607b7e3afb 100644 --- a/keyboards/cu80/cu80.h +++ b/keyboards/capsunlocked/cu80/v1/v1.h diff --git a/keyboards/centromere/config.h b/keyboards/centromere/config.h index e502e2534b..b4cae20332 100644 --- a/keyboards/centromere/config.h +++ b/keyboards/centromere/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 500000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/centromere/matrix.c b/keyboards/centromere/matrix.c index 7256cd5cb5..bbd771f41b 100644 --- a/keyboards/centromere/matrix.c +++ b/keyboards/centromere/matrix.c @@ -15,80 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(500000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF remote slave to send the matrix information - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates, erase the last set of data uint8_t uart_data[11] = {0}; @@ -96,58 +37,27 @@ uint8_t matrix_scan(void) //there are 10 bytes corresponding to 1w columns, and an end byte for (uint8_t i = 0; i < 11; i++) { //wait for the serial data, timeout if it's been too long - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 5; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 5; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/centromere/rules.mk b/keyboards/centromere/rules.mk index ed777e1b9e..113e1e6aff 100644 --- a/keyboards/centromere/rules.mk +++ b/keyboards/centromere/rules.mk @@ -11,16 +11,19 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -UNICODE_ENABLE = yes # Unicode +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +UNICODE_ENABLE = yes +CUSTOM_MATRIX = lite -# # project specific files -SRC += matrix.c serial_uart.c +# project specific files +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c LAYOUTS = split_3x5_3 split_3x6_3 diff --git a/keyboards/chimera_ergo/config.h b/keyboards/chimera_ergo/config.h index 0767a218b5..3c0cc5c162 100644 --- a/keyboards/chimera_ergo/config.h +++ b/keyboards/chimera_ergo/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/chimera_ergo/matrix.c b/keyboards/chimera_ergo/matrix.c index 577176c466..603ad0f386 100644 --- a/keyboards/chimera_ergo/matrix.c +++ b/keyboards/chimera_ergo/matrix.c @@ -15,89 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__attribute__ ((weak)) -void matrix_init_quantum(void) { - matrix_init_kb(); -} - -__attribute__ ((weak)) -void matrix_scan_quantum(void) { - matrix_scan_kb(); -} - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} - -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[14] = {0}; @@ -107,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 6; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 6; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/chimera_ergo/rules.mk b/keyboards/chimera_ergo/rules.mk index a8bd3a027a..8cb1736147 100644 --- a/keyboards/chimera_ergo/rules.mk +++ b/keyboards/chimera_ergo/rules.mk @@ -8,13 +8,16 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +CUSTOM_MATRIX = lite -# # project specific files -SRC += matrix.c serial_uart.c +# project specific files +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/chimera_ls/config.h b/keyboards/chimera_ls/config.h index 2eb028471d..ca92e1e2e4 100644 --- a/keyboards/chimera_ls/config.h +++ b/keyboards/chimera_ls/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/chimera_ls/matrix.c b/keyboards/chimera_ls/matrix.c index 9edd91818f..a92c3e8431 100644 --- a/keyboards/chimera_ls/matrix.c +++ b/keyboards/chimera_ls/matrix.c @@ -15,93 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#elif (MATRIX_COLS <= 64) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse64(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop64(matrix[i]) -# define ROW_SHIFTER ((uint64_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__attribute__ ((weak)) -void matrix_init_quantum(void) { - matrix_init_kb(); -} - -__attribute__ ((weak)) -void matrix_scan_quantum(void) { - matrix_scan_kb(); -} - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} +#include "quantum.h" +#include "matrix.h" +#include "uart.h" -void matrix_init(void) { - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -111,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 5; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 5; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/chimera_ls/rules.mk b/keyboards/chimera_ls/rules.mk index 377c379911..b7f6db5aa5 100644 --- a/keyboards/chimera_ls/rules.mk +++ b/keyboards/chimera_ls/rules.mk @@ -8,16 +8,19 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c LAYOUTS = ortho_4x12 diff --git a/keyboards/chimera_ortho/config.h b/keyboards/chimera_ortho/config.h index 974502525c..3d86343a67 100644 --- a/keyboards/chimera_ortho/config.h +++ b/keyboards/chimera_ortho/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/chimera_ortho/matrix.c b/keyboards/chimera_ortho/matrix.c index 34930af7e2..a92c3e8431 100644 --- a/keyboards/chimera_ortho/matrix.c +++ b/keyboards/chimera_ortho/matrix.c @@ -15,79 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -97,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 5; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 5; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/chimera_ortho/rules.mk b/keyboards/chimera_ortho/rules.mk index fbe6872001..8cb1736147 100644 --- a/keyboards/chimera_ortho/rules.mk +++ b/keyboards/chimera_ortho/rules.mk @@ -8,13 +8,16 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/chimera_ortho_plus/config.h b/keyboards/chimera_ortho_plus/config.h index 4b12796e95..ebffb85657 100644 --- a/keyboards/chimera_ortho_plus/config.h +++ b/keyboards/chimera_ortho_plus/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/chimera_ortho_plus/matrix.c b/keyboards/chimera_ortho_plus/matrix.c index 818e05ac98..603ad0f386 100644 --- a/keyboards/chimera_ortho_plus/matrix.c +++ b/keyboards/chimera_ortho_plus/matrix.c @@ -15,79 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[14] = {0}; @@ -97,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 6; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 6; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/chimera_ortho_plus/rules.mk b/keyboards/chimera_ortho_plus/rules.mk index e99e79c327..0a8a31e7dd 100644 --- a/keyboards/chimera_ortho_plus/rules.mk +++ b/keyboards/chimera_ortho_plus/rules.mk @@ -17,7 +17,8 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output UNICODE_ENABLE = yes -CUSTOM_MATRIX = yes +CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/comet46/config.h b/keyboards/comet46/config.h index 067dabb103..5ea40c14c5 100644 --- a/keyboards/comet46/config.h +++ b/keyboards/comet46/config.h @@ -62,12 +62,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MODS_CTRL_MASK (MOD_BIT(KC_LCTL)|MOD_BIT(KC_RCTRL)) #define MODS_ALT_MASK (MOD_BIT(KC_LALT)|MOD_BIT(KC_RALT)) #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI)) - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/comet46/matrix.c b/keyboards/comet46/matrix.c index 34930af7e2..a92c3e8431 100644 --- a/keyboards/comet46/matrix.c +++ b/keyboards/comet46/matrix.c @@ -15,79 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -97,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 5; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 5; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/comet46/rules.mk b/keyboards/comet46/rules.mk index 814622226a..e177fc6441 100644 --- a/keyboards/comet46/rules.mk +++ b/keyboards/comet46/rules.mk @@ -8,16 +8,18 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = no # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +CUSTOM_MATRIX = lite # project specific files SRC += matrix.c \ i2c.c \ - ssd1306.c \ - serial_uart.c + ssd1306.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/converter/palm_usb/config.h b/keyboards/converter/palm_usb/config.h index 4afc654e85..35032835cd 100644 --- a/keyboards/converter/palm_usb/config.h +++ b/keyboards/converter/palm_usb/config.h @@ -60,58 +60,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. get_mods() == (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI)) || \ get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) - - -/* Serial(USART) configuration - * asynchronous, negative logic, 9600baud, no flow control - * 1-start bit, 8-data bit, non parity, 1-stop bit - */ -#define SERIAL_SOFT_BAUD 9600 -#define SERIAL_SOFT_PARITY_NONE -#define SERIAL_SOFT_BIT_ORDER_LSB -#if (HANDSPRING == 0) - #define SERIAL_SOFT_LOGIC_NEGATIVE //RS232 logic -#endif -/* RXD Port */ -#define SERIAL_SOFT_RXD_ENABLE - -// we are using Pro micro pin 3 / D0 as serial -#define SERIAL_SOFT_RXD_DDR DDRD -#define SERIAL_SOFT_RXD_PORT PORTD -#define SERIAL_SOFT_RXD_PIN PIND -#define SERIAL_SOFT_RXD_BIT 0 -#define SERIAL_SOFT_RXD_VECT INT0_vect - -/* RXD Interupt */ -#define SERIAL_SOFT_RXD_INIT() do { \ - /* pin configuration: input with pull-up */ \ - SERIAL_SOFT_RXD_DDR &= ~(1<<SERIAL_SOFT_RXD_BIT); \ - SERIAL_SOFT_RXD_PORT |= (1<<SERIAL_SOFT_RXD_BIT); \ - /* enable interrupt: INT0(rising edge) */ \ - EICRA |= ((1<<ISC01)|(1<<ISC00)); \ - EIMSK |= (1<<INT0); \ - sei(); \ -} while (0) -#define SERIAL_SOFT_RXD_INT_ENTER() -#define SERIAL_SOFT_RXD_INT_EXIT() do { \ - /* clear interrupt flag */ \ - EIFR = (1<<INTF0); \ -} while (0) -#define SERIAL_SOFT_RXD_READ() (SERIAL_SOFT_RXD_PIN&(1<<SERIAL_SOFT_RXD_BIT)) - -/* TXD Port */ -#define SERIAL_SOFT_TXD_ENABLE -#define SERIAL_SOFT_TXD_DDR DDRD -#define SERIAL_SOFT_TXD_PORT PORTD -#define SERIAL_SOFT_TXD_PIN PIND -#define SERIAL_SOFT_TXD_BIT 3 -#define SERIAL_SOFT_TXD_HI() do { SERIAL_SOFT_TXD_PORT |= (1<<SERIAL_SOFT_TXD_BIT); } while (0) -#define SERIAL_SOFT_TXD_LO() do { SERIAL_SOFT_TXD_PORT &= ~(1<<SERIAL_SOFT_TXD_BIT); } while (0) -#define SERIAL_SOFT_TXD_INIT() do { \ - /* pin configuration: output */ \ - SERIAL_SOFT_TXD_DDR |= (1<<SERIAL_SOFT_TXD_BIT); \ - /* idle */ \ - SERIAL_SOFT_TXD_ON(); \ -} while (0) - - diff --git a/keyboards/converter/palm_usb/matrix.c b/keyboards/converter/palm_usb/matrix.c index 289284b616..010fd56c79 100644 --- a/keyboards/converter/palm_usb/matrix.c +++ b/keyboards/converter/palm_usb/matrix.c @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include QMK_KEYBOARD_H -#include "protocol/serial.h" +#include "uart.h" #include "timer.h" @@ -58,8 +58,6 @@ static uint16_t disconnect_counter = 0; #define COL(code) ((code & COL_MASK) ) #define KEYUP(code) ((code & KEY_MASK) >>7 ) -static bool is_modified = false; - __attribute__ ((weak)) void matrix_init_kb(void) { matrix_init_user(); @@ -166,7 +164,7 @@ uint8_t rts_reset(void) { uint8_t get_serial_byte(void) { static uint8_t code; while(1) { - code = serial_recv(); + code = uart_read(); if (code) { debug_hex(code); debug(" "); return code; @@ -242,7 +240,7 @@ void matrix_init(void) debug_enable = true; //debug_matrix =true; - serial_init(); // arguments all #defined + uart_init(9600); // arguments all #defined #if (HANDSPRING == 0) pins_init(); // set all inputs and outputs. @@ -292,7 +290,7 @@ void matrix_init(void) uint8_t matrix_scan(void) { uint8_t code; - code = serial_recv(); + code = uart_read(); if (!code) { /* disconnect_counter ++; @@ -354,11 +352,6 @@ uint8_t matrix_scan(void) return code; } -bool matrix_is_modified(void) -{ - return is_modified; -} - inline bool matrix_has_ghost(void) { diff --git a/keyboards/converter/palm_usb/post_rules.mk b/keyboards/converter/palm_usb/post_rules.mk deleted file mode 100644 index 9c11076701..0000000000 --- a/keyboards/converter/palm_usb/post_rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -ifdef HARDWARE_SERIAL - # Untested with palm_usb - SRC += protocol/serial_uart.c - OPT_DEFS += -DHARDWARE_SERIAL -else - SRC += protocol/serial_soft.c -endif diff --git a/keyboards/converter/palm_usb/rules.mk b/keyboards/converter/palm_usb/rules.mk index c5e680b883..a1d2e39b23 100644 --- a/keyboards/converter/palm_usb/rules.mk +++ b/keyboards/converter/palm_usb/rules.mk @@ -20,5 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. CUSTOM_MATRIX = yes SRC += matrix.c +QUANTUM_LIB_SRC += uart.c DEFAULT_FOLDER = converter/palm_usb/stowaway diff --git a/keyboards/converter/sun_usb/command_extra.c b/keyboards/converter/sun_usb/command_extra.c index 756a9160bb..332776ab90 100644 --- a/keyboards/converter/sun_usb/command_extra.c +++ b/keyboards/converter/sun_usb/command_extra.c @@ -1,5 +1,5 @@ #include QMK_KEYBOARD_H -#include "protocol/serial.h" +#include "uart.h" bool sun_bell = false; bool sun_click = false; @@ -20,41 +20,41 @@ bool command_extra(uint8_t code) return false; case KC_DEL: print("Reset\n"); - serial_send(0x01); + uart_write(0x01); break; case KC_HOME: sun_bell = !sun_bell; if (sun_bell) { print("Bell On\n"); - serial_send(0x02); + uart_write(0x02); } else { print("Bell Off\n"); - serial_send(0x03); + uart_write(0x03); } break; case KC_END: sun_click = !sun_click; if (sun_click) { print("Click On\n"); - serial_send(0x0A); + uart_write(0x0A); } else { print("Click Off\n"); - serial_send(0x0B); + uart_write(0x0B); } break; case KC_PGUP: print("LED all on\n"); - serial_send(0x0E); - serial_send(0xFF); + uart_write(0x0E); + uart_write(0xFF); break; case KC_PGDOWN: print("LED all off\n"); - serial_send(0x0E); - serial_send(0x00); + uart_write(0x0E); + uart_write(0x00); break; case KC_INSERT: print("layout\n"); - serial_send(0x0F); + uart_write(0x0F); break; default: xprintf("Unknown extra command: %02X\n", code); diff --git a/keyboards/converter/sun_usb/config.h b/keyboards/converter/sun_usb/config.h index c67ae5ebae..0a4aa019f7 100644 --- a/keyboards/converter/sun_usb/config.h +++ b/keyboards/converter/sun_usb/config.h @@ -33,50 +33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. get_mods() == (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI)) || \ get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) - - -/* Serial(USART) configuration - * asynchronous, negative logic, 1200baud, no flow control - * 1-start bit, 8-data bit, non parity, 1-stop bit - */ -#define SERIAL_SOFT_BAUD 1200 -#define SERIAL_SOFT_PARITY_NONE -#define SERIAL_SOFT_BIT_ORDER_LSB -#define SERIAL_SOFT_LOGIC_NEGATIVE -/* RXD Port */ -#define SERIAL_SOFT_RXD_ENABLE -#define SERIAL_SOFT_RXD_DDR DDRD -#define SERIAL_SOFT_RXD_PORT PORTD -#define SERIAL_SOFT_RXD_PIN PIND -#define SERIAL_SOFT_RXD_BIT 2 -#define SERIAL_SOFT_RXD_VECT INT2_vect -/* RXD Interupt */ -#define SERIAL_SOFT_RXD_INIT() do { \ - /* pin configuration: input with pull-up */ \ - SERIAL_SOFT_RXD_DDR &= ~(1<<SERIAL_SOFT_RXD_BIT); \ - SERIAL_SOFT_RXD_PORT |= (1<<SERIAL_SOFT_RXD_BIT); \ - /* enable interrupt: INT2(rising edge) */ \ - EICRA |= ((1<<ISC21)|(1<<ISC20)); \ - EIMSK |= (1<<INT2); \ - sei(); \ -} while (0) -#define SERIAL_SOFT_RXD_INT_ENTER() -#define SERIAL_SOFT_RXD_INT_EXIT() do { \ - /* clear interrupt flag */ \ - EIFR = (1<<INTF2); \ -} while (0) -#define SERIAL_SOFT_RXD_READ() (SERIAL_SOFT_RXD_PIN&(1<<SERIAL_SOFT_RXD_BIT)) -/* TXD Port */ -#define SERIAL_SOFT_TXD_ENABLE -#define SERIAL_SOFT_TXD_DDR DDRD -#define SERIAL_SOFT_TXD_PORT PORTD -#define SERIAL_SOFT_TXD_PIN PIND -#define SERIAL_SOFT_TXD_BIT 3 -#define SERIAL_SOFT_TXD_HI() do { SERIAL_SOFT_TXD_PORT |= (1<<SERIAL_SOFT_TXD_BIT); } while (0) -#define SERIAL_SOFT_TXD_LO() do { SERIAL_SOFT_TXD_PORT &= ~(1<<SERIAL_SOFT_TXD_BIT); } while (0) -#define SERIAL_SOFT_TXD_INIT() do { \ - /* pin configuration: output */ \ - SERIAL_SOFT_TXD_DDR |= (1<<SERIAL_SOFT_TXD_BIT); \ - /* idle */ \ - SERIAL_SOFT_TXD_ON(); \ -} while (0) diff --git a/keyboards/converter/sun_usb/led.c b/keyboards/converter/sun_usb/led.c index a409699e92..f8d183fd48 100644 --- a/keyboards/converter/sun_usb/led.c +++ b/keyboards/converter/sun_usb/led.c @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include QMK_KEYBOARD_H -#include "protocol/serial.h" +#include "uart.h" void led_set(uint8_t usb_led) { @@ -27,6 +27,6 @@ void led_set(uint8_t usb_led) if (usb_led & (1<<USB_LED_CAPS_LOCK)) sun_led |= (1<<3); xprintf("LED: %02X\n", usb_led); - serial_send(0x0E); - serial_send(sun_led); + uart_write(0x0E); + uart_write(sun_led); } diff --git a/keyboards/converter/sun_usb/matrix.c b/keyboards/converter/sun_usb/matrix.c index 21f45111ec..e28d165d52 100644 --- a/keyboards/converter/sun_usb/matrix.c +++ b/keyboards/converter/sun_usb/matrix.c @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include QMK_KEYBOARD_H -#include "protocol/serial.h" +#include "uart.h" /* * Matrix Array usage: @@ -38,8 +38,6 @@ static uint8_t matrix[MATRIX_ROWS]; #define ROW(code) ((code>>3)&0xF) #define COL(code) (code&0x07) -static bool is_modified = false; - __attribute__ ((weak)) void matrix_init_kb(void) { matrix_init_user(); @@ -76,7 +74,7 @@ void matrix_init(void) /* PORTD |= (1<<6); */ debug_enable = true; - serial_init(); + uart_init(1200); // initialize matrix state: all keys off for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; @@ -86,12 +84,12 @@ void matrix_init(void) /* print("Reseting "); */ /* while (1) { */ /* print("."); */ - /* while (serial_recv()); */ - /* serial_send(0x01); */ + /* while (uart_read()); */ + /* uart_write(0x01); */ /* _delay_ms(500); */ - /* if (serial_recv() == 0xFF) { */ + /* if (uart_read() == 0xFF) { */ /* _delay_ms(500); */ - /* if (serial_recv() == 0x04) */ + /* if (uart_read() == 0x04) */ /* break; */ /* } */ /* } */ @@ -106,7 +104,7 @@ void matrix_init(void) uint8_t matrix_scan(void) { uint8_t code; - code = serial_recv(); + code = uart_read(); if (!code) return 0; debug_hex(code); debug(" "); @@ -115,7 +113,7 @@ uint8_t matrix_scan(void) case 0xFF: // reset success: FF 04 print("reset: "); _delay_ms(500); - code = serial_recv(); + code = uart_read(); xprintf("%02X\n", code); if (code == 0x04) { // LED status @@ -125,12 +123,12 @@ uint8_t matrix_scan(void) case 0xFE: // layout: FE <layout> print("layout: "); _delay_ms(500); - xprintf("%02X\n", serial_recv()); + xprintf("%02X\n", uart_read()); return 0; case 0x7E: // reset fail: 7E 01 print("reset fail: "); _delay_ms(500); - xprintf("%02X\n", serial_recv()); + xprintf("%02X\n", uart_read()); return 0; case 0x7F: // all keys up @@ -154,11 +152,6 @@ uint8_t matrix_scan(void) return code; } -bool matrix_is_modified(void) -{ - return is_modified; -} - inline bool matrix_has_ghost(void) { diff --git a/keyboards/converter/sun_usb/post_rules.mk b/keyboards/converter/sun_usb/post_rules.mk deleted file mode 100644 index 2ea1f0a5bf..0000000000 --- a/keyboards/converter/sun_usb/post_rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -ifdef HARDWARE_SERIAL - SRC += protocol/serial_uart.c - OPT_DEFS += -DHARDWARE_SERIAL -else - SRC += protocol/serial_soft.c -endif diff --git a/keyboards/converter/sun_usb/rules.mk b/keyboards/converter/sun_usb/rules.mk index 2f2ddde1d0..d25bcc7ffa 100644 --- a/keyboards/converter/sun_usb/rules.mk +++ b/keyboards/converter/sun_usb/rules.mk @@ -20,5 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. CUSTOM_MATRIX = yes SRC += matrix.c led.c +QUANTUM_LIB_SRC += uart.c DEFAULT_FOLDER = converter/sun_usb/type5 diff --git a/keyboards/converter/usb_usb/custom_matrix.cpp b/keyboards/converter/usb_usb/custom_matrix.cpp index 296f7fcd02..91986f6eb9 100644 --- a/keyboards/converter/usb_usb/custom_matrix.cpp +++ b/keyboards/converter/usb_usb/custom_matrix.cpp @@ -192,10 +192,6 @@ extern "C" return 1; } - bool matrix_is_modified(void) { - return matrix_is_mod; - } - bool matrix_is_on(uint8_t row, uint8_t col) { uint8_t code = CODE(row, col); diff --git a/keyboards/cu80/cu80.c b/keyboards/cu80/cu80.c deleted file mode 100644 index f794161717..0000000000 --- a/keyboards/cu80/cu80.c +++ /dev/null @@ -1 +0,0 @@ -#include "cu80.h"
\ No newline at end of file diff --git a/keyboards/bat43/.noci b/keyboards/dailycraft/bat43/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/bat43/.noci +++ b/keyboards/dailycraft/bat43/.noci diff --git a/keyboards/bat43/bat43.c b/keyboards/dailycraft/bat43/bat43.c index 5d52c672b6..5d52c672b6 100644 --- a/keyboards/bat43/bat43.c +++ b/keyboards/dailycraft/bat43/bat43.c diff --git a/keyboards/bat43/bat43.h b/keyboards/dailycraft/bat43/bat43.h index 42d44107b4..046788a0a1 100644 --- a/keyboards/bat43/bat43.h +++ b/keyboards/dailycraft/bat43/bat43.h @@ -1,9 +1,9 @@ #pragma once -#ifdef KEYBOARD_bat43_rev1 +#ifdef KEYBOARD_dailycraft_bat43_rev1 #include "rev1.h" #endif -#ifdef KEYBOARD_bat43_rev2 +#ifdef KEYBOARD_dailycraft_bat43_rev2 #include "rev2.h" #endif diff --git a/keyboards/bat43/config.h b/keyboards/dailycraft/bat43/config.h index 19b485fd16..19b485fd16 100644 --- a/keyboards/bat43/config.h +++ b/keyboards/dailycraft/bat43/config.h diff --git a/keyboards/bat43/keymaps/default/keymap.c b/keyboards/dailycraft/bat43/keymaps/default/keymap.c index 5e4faccf98..5e4faccf98 100644 --- a/keyboards/bat43/keymaps/default/keymap.c +++ b/keyboards/dailycraft/bat43/keymaps/default/keymap.c diff --git a/keyboards/bat43/keymaps/default/readme.md b/keyboards/dailycraft/bat43/keymaps/default/readme.md index f72376d89e..f72376d89e 100644 --- a/keyboards/bat43/keymaps/default/readme.md +++ b/keyboards/dailycraft/bat43/keymaps/default/readme.md diff --git a/keyboards/bat43/keymaps/via/keymap.c b/keyboards/dailycraft/bat43/keymaps/via/keymap.c index 0bd07b6017..0bd07b6017 100644 --- a/keyboards/bat43/keymaps/via/keymap.c +++ b/keyboards/dailycraft/bat43/keymaps/via/keymap.c diff --git a/keyboards/bat43/keymaps/via/readme.md b/keyboards/dailycraft/bat43/keymaps/via/readme.md index f72376d89e..f72376d89e 100644 --- a/keyboards/bat43/keymaps/via/readme.md +++ b/keyboards/dailycraft/bat43/keymaps/via/readme.md diff --git a/keyboards/allison/keymaps/via/rules.mk b/keyboards/dailycraft/bat43/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/allison/keymaps/via/rules.mk +++ b/keyboards/dailycraft/bat43/keymaps/via/rules.mk diff --git a/keyboards/bat43/readme.md b/keyboards/dailycraft/bat43/readme.md index 7097aa7af5..6b58aa5ca3 100644 --- a/keyboards/bat43/readme.md +++ b/keyboards/dailycraft/bat43/readme.md @@ -6,10 +6,21 @@ A 43-key keyboard. * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: bat43 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make bat43:default + make dailycraft/bat43:default + +Flashing example for this keyboard: + + make dailycraft/bat43:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/bat43/rev1/.noci b/keyboards/dailycraft/bat43/rev1/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/bat43/rev1/.noci +++ b/keyboards/dailycraft/bat43/rev1/.noci diff --git a/keyboards/bat43/rev1/info.json b/keyboards/dailycraft/bat43/rev1/info.json index 0384bb5feb..0384bb5feb 100644 --- a/keyboards/bat43/rev1/info.json +++ b/keyboards/dailycraft/bat43/rev1/info.json diff --git a/keyboards/bat43/rev1/rev1.c b/keyboards/dailycraft/bat43/rev1/rev1.c index cff7598740..cff7598740 100644 --- a/keyboards/bat43/rev1/rev1.c +++ b/keyboards/dailycraft/bat43/rev1/rev1.c diff --git a/keyboards/bat43/rev1/rev1.h b/keyboards/dailycraft/bat43/rev1/rev1.h index cf21486a9e..cf21486a9e 100644 --- a/keyboards/bat43/rev1/rev1.h +++ b/keyboards/dailycraft/bat43/rev1/rev1.h diff --git a/keyboards/bat43/rev1/rules.mk b/keyboards/dailycraft/bat43/rev1/rules.mk index 8b13789179..8b13789179 100644 --- a/keyboards/bat43/rev1/rules.mk +++ b/keyboards/dailycraft/bat43/rev1/rules.mk diff --git a/keyboards/bat43/rev2/.noci b/keyboards/dailycraft/bat43/rev2/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/bat43/rev2/.noci +++ b/keyboards/dailycraft/bat43/rev2/.noci diff --git a/keyboards/bat43/rev2/info.json b/keyboards/dailycraft/bat43/rev2/info.json index 352d9a6beb..352d9a6beb 100644 --- a/keyboards/bat43/rev2/info.json +++ b/keyboards/dailycraft/bat43/rev2/info.json diff --git a/keyboards/bat43/rev2/rev2.c b/keyboards/dailycraft/bat43/rev2/rev2.c index cffc0acd32..cffc0acd32 100644 --- a/keyboards/bat43/rev2/rev2.c +++ b/keyboards/dailycraft/bat43/rev2/rev2.c diff --git a/keyboards/bat43/rev2/rev2.h b/keyboards/dailycraft/bat43/rev2/rev2.h index f84cdbaa4d..f84cdbaa4d 100644 --- a/keyboards/bat43/rev2/rev2.h +++ b/keyboards/dailycraft/bat43/rev2/rev2.h diff --git a/keyboards/bat43/rev2/rules.mk b/keyboards/dailycraft/bat43/rev2/rules.mk index 8b13789179..8b13789179 100644 --- a/keyboards/bat43/rev2/rules.mk +++ b/keyboards/dailycraft/bat43/rev2/rules.mk diff --git a/keyboards/bat43/rules.mk b/keyboards/dailycraft/bat43/rules.mk index 7bd7394e4f..c2e1c5755f 100644 --- a/keyboards/bat43/rules.mk +++ b/keyboards/dailycraft/bat43/rules.mk @@ -17,4 +17,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -DEFAULT_FOLDER = bat43/rev2 +DEFAULT_FOLDER = dailycraft/bat43/rev2 diff --git a/keyboards/claw44/.noci b/keyboards/dailycraft/claw44/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/claw44/.noci +++ b/keyboards/dailycraft/claw44/.noci diff --git a/keyboards/claw44/claw44.c b/keyboards/dailycraft/claw44/claw44.c index d87103065c..d87103065c 100644 --- a/keyboards/claw44/claw44.c +++ b/keyboards/dailycraft/claw44/claw44.c diff --git a/keyboards/claw44/claw44.h b/keyboards/dailycraft/claw44/claw44.h index 4ca25fcb2b..76ecda6e90 100644 --- a/keyboards/claw44/claw44.h +++ b/keyboards/dailycraft/claw44/claw44.h @@ -1,5 +1,5 @@ #pragma once -#ifdef KEYBOARD_claw44_rev1 +#ifdef KEYBOARD_dailycraft_claw44_rev1 #include "rev1.h" #endif diff --git a/keyboards/claw44/config.h b/keyboards/dailycraft/claw44/config.h index 0bd74ff833..0bd74ff833 100644 --- a/keyboards/claw44/config.h +++ b/keyboards/dailycraft/claw44/config.h diff --git a/keyboards/claw44/keymaps/default/config.h b/keyboards/dailycraft/claw44/keymaps/default/config.h index 98469e4ccf..98469e4ccf 100644 --- a/keyboards/claw44/keymaps/default/config.h +++ b/keyboards/dailycraft/claw44/keymaps/default/config.h diff --git a/keyboards/claw44/keymaps/default/keymap.c b/keyboards/dailycraft/claw44/keymaps/default/keymap.c index 204c0c94e6..204c0c94e6 100644 --- a/keyboards/claw44/keymaps/default/keymap.c +++ b/keyboards/dailycraft/claw44/keymaps/default/keymap.c diff --git a/keyboards/claw44/keymaps/oled/config.h b/keyboards/dailycraft/claw44/keymaps/oled/config.h index 5379ce677d..5379ce677d 100644 --- a/keyboards/claw44/keymaps/oled/config.h +++ b/keyboards/dailycraft/claw44/keymaps/oled/config.h diff --git a/keyboards/claw44/keymaps/oled/keymap.c b/keyboards/dailycraft/claw44/keymaps/oled/keymap.c index 1778ac6167..1778ac6167 100644 --- a/keyboards/claw44/keymaps/oled/keymap.c +++ b/keyboards/dailycraft/claw44/keymaps/oled/keymap.c diff --git a/keyboards/claw44/keymaps/oled/rules.mk b/keyboards/dailycraft/claw44/keymaps/oled/rules.mk index d34d066ded..d34d066ded 100644 --- a/keyboards/claw44/keymaps/oled/rules.mk +++ b/keyboards/dailycraft/claw44/keymaps/oled/rules.mk diff --git a/keyboards/claw44/keymaps/via/config.h b/keyboards/dailycraft/claw44/keymaps/via/config.h index 98469e4ccf..98469e4ccf 100644 --- a/keyboards/claw44/keymaps/via/config.h +++ b/keyboards/dailycraft/claw44/keymaps/via/config.h diff --git a/keyboards/claw44/keymaps/via/keymap.c b/keyboards/dailycraft/claw44/keymaps/via/keymap.c index 5373b76876..5373b76876 100644 --- a/keyboards/claw44/keymaps/via/keymap.c +++ b/keyboards/dailycraft/claw44/keymaps/via/keymap.c diff --git a/keyboards/allison_numpad/keymaps/via/rules.mk b/keyboards/dailycraft/claw44/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/allison_numpad/keymaps/via/rules.mk +++ b/keyboards/dailycraft/claw44/keymaps/via/rules.mk diff --git a/keyboards/claw44/lib/glcdfont.c b/keyboards/dailycraft/claw44/lib/glcdfont.c index 9fa1c806aa..9fa1c806aa 100644 --- a/keyboards/claw44/lib/glcdfont.c +++ b/keyboards/dailycraft/claw44/lib/glcdfont.c diff --git a/keyboards/claw44/readme.md b/keyboards/dailycraft/claw44/readme.md index 7e72e08971..e533bd7c82 100644 --- a/keyboards/claw44/readme.md +++ b/keyboards/dailycraft/claw44/readme.md @@ -4,12 +4,23 @@ A split keyboard with 3x6 vertically staggered keys and 4 thumb keys. -Keyboard Maintainer: [@yfuku_](https://twitter.com/yfuku_) -Hardware Supported: Claw44 PCB, ProMicro -Hardware Availability: https://yfuku.booth.pm/ +* Keyboard Maintainer: [yfuku](https://github.com/yfuku) +* Hardware Supported: Claw44 PCB, ProMicro +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make claw44:default + make dailycraft/claw44:default + +Flashing example for this keyboard: + + make dailycraft/claw44:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/claw44/rev1/.noci b/keyboards/dailycraft/claw44/rev1/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/claw44/rev1/.noci +++ b/keyboards/dailycraft/claw44/rev1/.noci diff --git a/keyboards/claw44/rev1/config.h b/keyboards/dailycraft/claw44/rev1/config.h index 8116b605cd..8116b605cd 100644 --- a/keyboards/claw44/rev1/config.h +++ b/keyboards/dailycraft/claw44/rev1/config.h diff --git a/keyboards/claw44/rev1/info.json b/keyboards/dailycraft/claw44/rev1/info.json index 3301e7d2ec..3301e7d2ec 100644 --- a/keyboards/claw44/rev1/info.json +++ b/keyboards/dailycraft/claw44/rev1/info.json diff --git a/keyboards/claw44/rev1/readme.md b/keyboards/dailycraft/claw44/rev1/readme.md index 5ad967af80..5ad967af80 100644 --- a/keyboards/claw44/rev1/readme.md +++ b/keyboards/dailycraft/claw44/rev1/readme.md diff --git a/keyboards/7skb/rev1/rev1.c b/keyboards/dailycraft/claw44/rev1/rev1.c index 520a869e57..520a869e57 100644 --- a/keyboards/7skb/rev1/rev1.c +++ b/keyboards/dailycraft/claw44/rev1/rev1.c diff --git a/keyboards/claw44/rev1/rev1.h b/keyboards/dailycraft/claw44/rev1/rev1.h index 9a05977153..9a05977153 100644 --- a/keyboards/claw44/rev1/rev1.h +++ b/keyboards/dailycraft/claw44/rev1/rev1.h diff --git a/keyboards/claw44/rev1/rules.mk b/keyboards/dailycraft/claw44/rev1/rules.mk index a66eb7d352..a66eb7d352 100644 --- a/keyboards/claw44/rev1/rules.mk +++ b/keyboards/dailycraft/claw44/rev1/rules.mk diff --git a/keyboards/claw44/rules.mk b/keyboards/dailycraft/claw44/rules.mk index 6ba5e853fb..69c59f28e6 100644 --- a/keyboards/claw44/rules.mk +++ b/keyboards/dailycraft/claw44/rules.mk @@ -17,4 +17,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -DEFAULT_FOLDER = claw44/rev1 +DEFAULT_FOLDER = dailycraft/claw44/rev1 diff --git a/keyboards/owl8/config.h b/keyboards/dailycraft/owl8/config.h index d28fd9c927..d28fd9c927 100644 --- a/keyboards/owl8/config.h +++ b/keyboards/dailycraft/owl8/config.h diff --git a/keyboards/owl8/info.json b/keyboards/dailycraft/owl8/info.json index e50484ba90..e50484ba90 100644 --- a/keyboards/owl8/info.json +++ b/keyboards/dailycraft/owl8/info.json diff --git a/keyboards/owl8/keymaps/default/keymap.c b/keyboards/dailycraft/owl8/keymaps/default/keymap.c index e840263639..e840263639 100644 --- a/keyboards/owl8/keymaps/default/keymap.c +++ b/keyboards/dailycraft/owl8/keymaps/default/keymap.c diff --git a/keyboards/owl8/keymaps/default/readme.md b/keyboards/dailycraft/owl8/keymaps/default/readme.md index e0129daa2d..e0129daa2d 100644 --- a/keyboards/owl8/keymaps/default/readme.md +++ b/keyboards/dailycraft/owl8/keymaps/default/readme.md diff --git a/keyboards/owl8/keymaps/via/keymap.c b/keyboards/dailycraft/owl8/keymaps/via/keymap.c index 6e3f6ea90b..6e3f6ea90b 100644 --- a/keyboards/owl8/keymaps/via/keymap.c +++ b/keyboards/dailycraft/owl8/keymaps/via/keymap.c diff --git a/keyboards/owl8/keymaps/via/readme.md b/keyboards/dailycraft/owl8/keymaps/via/readme.md index c4fa65987c..c4fa65987c 100644 --- a/keyboards/owl8/keymaps/via/readme.md +++ b/keyboards/dailycraft/owl8/keymaps/via/readme.md diff --git a/keyboards/barleycorn/keymaps/via/rules.mk b/keyboards/dailycraft/owl8/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/barleycorn/keymaps/via/rules.mk +++ b/keyboards/dailycraft/owl8/keymaps/via/rules.mk diff --git a/keyboards/owl8/owl8.c b/keyboards/dailycraft/owl8/owl8.c index a31289891a..a31289891a 100644 --- a/keyboards/owl8/owl8.c +++ b/keyboards/dailycraft/owl8/owl8.c diff --git a/keyboards/owl8/owl8.h b/keyboards/dailycraft/owl8/owl8.h index 5e561f580c..5e561f580c 100644 --- a/keyboards/owl8/owl8.h +++ b/keyboards/dailycraft/owl8/owl8.h diff --git a/keyboards/owl8/readme.md b/keyboards/dailycraft/owl8/readme.md index b40a5f35cb..c7fab17476 100644 --- a/keyboards/owl8/readme.md +++ b/keyboards/dailycraft/owl8/readme.md @@ -6,14 +6,21 @@ macropad * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: owl8 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make owl8:default + make dailycraft/owl8:default Flashing example for this keyboard: - make owl8:default:flash + make dailycraft/owl8:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/owl8/rules.mk b/keyboards/dailycraft/owl8/rules.mk index 284ea23e78..284ea23e78 100644 --- a/keyboards/owl8/rules.mk +++ b/keyboards/dailycraft/owl8/rules.mk diff --git a/keyboards/7skb/config.h b/keyboards/dailycraft/wings42/config.h index cfb6bf4ffc..cfb6bf4ffc 100644 --- a/keyboards/7skb/config.h +++ b/keyboards/dailycraft/wings42/config.h diff --git a/keyboards/wings42/rev1_extkeys/readme.md b/keyboards/dailycraft/wings42/readme.md index 7be464a141..c919653397 100644 --- a/keyboards/wings42/rev1_extkeys/readme.md +++ b/keyboards/dailycraft/wings42/readme.md @@ -6,16 +6,21 @@ A split keyboard with 3x6 vertically staggered keys and 3 thumb keys. * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: wings42 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make make wings42/rev1_extkeys:default + make dailycraft/wings42:default Flashing example for this keyboard: - make make wings42/rev1_extkeys:default:flash + make dailycraft/wings42:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). -A build guide for this keyboard can be found here: [wings42 build guide](https://yfuku.com/wings42/buildguide/) +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/wings42/rev1/config.h b/keyboards/dailycraft/wings42/rev1/config.h index cfb4274921..cfb4274921 100644 --- a/keyboards/wings42/rev1/config.h +++ b/keyboards/dailycraft/wings42/rev1/config.h diff --git a/keyboards/wings42/rev1/keymaps/default/keymap.c b/keyboards/dailycraft/wings42/rev1/keymaps/default/keymap.c index 442ba5ed9f..442ba5ed9f 100644 --- a/keyboards/wings42/rev1/keymaps/default/keymap.c +++ b/keyboards/dailycraft/wings42/rev1/keymaps/default/keymap.c diff --git a/keyboards/wings42/rev1/keymaps/default/readme.md b/keyboards/dailycraft/wings42/rev1/keymaps/default/readme.md index d99098ad0c..d99098ad0c 100644 --- a/keyboards/wings42/rev1/keymaps/default/readme.md +++ b/keyboards/dailycraft/wings42/rev1/keymaps/default/readme.md diff --git a/keyboards/wings42/rev1/keymaps/via/keymap.c b/keyboards/dailycraft/wings42/rev1/keymaps/via/keymap.c index 442ba5ed9f..442ba5ed9f 100644 --- a/keyboards/wings42/rev1/keymaps/via/keymap.c +++ b/keyboards/dailycraft/wings42/rev1/keymaps/via/keymap.c diff --git a/keyboards/bat43/keymaps/via/rules.mk b/keyboards/dailycraft/wings42/rev1/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/bat43/keymaps/via/rules.mk +++ b/keyboards/dailycraft/wings42/rev1/keymaps/via/rules.mk diff --git a/keyboards/wings42/rev1/readme.md b/keyboards/dailycraft/wings42/rev1/readme.md index 4ddfe3e83c..959052c41d 100644 --- a/keyboards/wings42/rev1/readme.md +++ b/keyboards/dailycraft/wings42/rev1/readme.md @@ -6,16 +6,21 @@ A split keyboard with 3x6 vertically staggered keys and 3 thumb keys. * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: wings42 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make wings42/rev1:default + make dailycraft/wings42/rev1:default Flashing example for this keyboard: - make wings42/rev1:default:flash + make dailycraft/wings42/rev1:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). -A build guide for this keyboard can be found here: [wings42 build guide](https://yfuku.com/wings42/buildguide/) +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/wings42/rev1/rev1.c b/keyboards/dailycraft/wings42/rev1/rev1.c index dccf24c746..dccf24c746 100644 --- a/keyboards/wings42/rev1/rev1.c +++ b/keyboards/dailycraft/wings42/rev1/rev1.c diff --git a/keyboards/wings42/rev1/rev1.h b/keyboards/dailycraft/wings42/rev1/rev1.h index cd6e35a711..cd6e35a711 100644 --- a/keyboards/wings42/rev1/rev1.h +++ b/keyboards/dailycraft/wings42/rev1/rev1.h diff --git a/keyboards/7skb/rev1/rules.mk b/keyboards/dailycraft/wings42/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/7skb/rev1/rules.mk +++ b/keyboards/dailycraft/wings42/rev1/rules.mk diff --git a/keyboards/wings42/rev1_extkeys/config.h b/keyboards/dailycraft/wings42/rev1_extkeys/config.h index f0f04eca59..f0f04eca59 100644 --- a/keyboards/wings42/rev1_extkeys/config.h +++ b/keyboards/dailycraft/wings42/rev1_extkeys/config.h diff --git a/keyboards/wings42/rev1_extkeys/keymaps/default/keymap.c b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/keymap.c index 64a2b00c31..64a2b00c31 100644 --- a/keyboards/wings42/rev1_extkeys/keymaps/default/keymap.c +++ b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/keymap.c diff --git a/keyboards/wings42/rev1_extkeys/keymaps/default/readme.md b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/readme.md index d99098ad0c..d99098ad0c 100644 --- a/keyboards/wings42/rev1_extkeys/keymaps/default/readme.md +++ b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/default/readme.md diff --git a/keyboards/wings42/rev1_extkeys/keymaps/via/keymap.c b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/keymap.c index 97c77e182b..97c77e182b 100644 --- a/keyboards/wings42/rev1_extkeys/keymaps/via/keymap.c +++ b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/keymap.c diff --git a/keyboards/chili/keymaps/via/rules.mk b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/chili/keymaps/via/rules.mk +++ b/keyboards/dailycraft/wings42/rev1_extkeys/keymaps/via/rules.mk diff --git a/keyboards/wings42/readme.md b/keyboards/dailycraft/wings42/rev1_extkeys/readme.md index fc71d58ab6..4a34063ad4 100644 --- a/keyboards/wings42/readme.md +++ b/keyboards/dailycraft/wings42/rev1_extkeys/readme.md @@ -6,14 +6,21 @@ A split keyboard with 3x6 vertically staggered keys and 3 thumb keys. * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: wings42 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make wings42:default + make dailycraft/wings42/rev1_extkeys:default Flashing example for this keyboard: - make wings42:default:flash + make dailycraft/wings42/rev1_extkeys:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/wings42/rev1_extkeys/rev1_extkeys.c b/keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.c index 3d0d203704..3d0d203704 100644 --- a/keyboards/wings42/rev1_extkeys/rev1_extkeys.c +++ b/keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.c diff --git a/keyboards/wings42/rev1_extkeys/rev1_extkeys.h b/keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.h index 2ad58047f1..2ad58047f1 100644 --- a/keyboards/wings42/rev1_extkeys/rev1_extkeys.h +++ b/keyboards/dailycraft/wings42/rev1_extkeys/rev1_extkeys.h diff --git a/keyboards/jisplit89/rev1/rules.mk b/keyboards/dailycraft/wings42/rev1_extkeys/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/jisplit89/rev1/rules.mk +++ b/keyboards/dailycraft/wings42/rev1_extkeys/rules.mk diff --git a/keyboards/wings42/rev2/config.h b/keyboards/dailycraft/wings42/rev2/config.h index 836833718c..836833718c 100644 --- a/keyboards/wings42/rev2/config.h +++ b/keyboards/dailycraft/wings42/rev2/config.h diff --git a/keyboards/wings42/rev2/keymaps/default/keymap.c b/keyboards/dailycraft/wings42/rev2/keymaps/default/keymap.c index df572a6f5a..df572a6f5a 100644 --- a/keyboards/wings42/rev2/keymaps/default/keymap.c +++ b/keyboards/dailycraft/wings42/rev2/keymaps/default/keymap.c diff --git a/keyboards/wings42/rev2/keymaps/default/readme.md b/keyboards/dailycraft/wings42/rev2/keymaps/default/readme.md index d99098ad0c..d99098ad0c 100644 --- a/keyboards/wings42/rev2/keymaps/default/readme.md +++ b/keyboards/dailycraft/wings42/rev2/keymaps/default/readme.md diff --git a/keyboards/wings42/rev2/keymaps/via/config.h b/keyboards/dailycraft/wings42/rev2/keymaps/via/config.h index 3e0c8d146a..3e0c8d146a 100644 --- a/keyboards/wings42/rev2/keymaps/via/config.h +++ b/keyboards/dailycraft/wings42/rev2/keymaps/via/config.h diff --git a/keyboards/wings42/rev2/keymaps/via/keymap.c b/keyboards/dailycraft/wings42/rev2/keymaps/via/keymap.c index e6b4ef840a..e6b4ef840a 100644 --- a/keyboards/wings42/rev2/keymaps/via/keymap.c +++ b/keyboards/dailycraft/wings42/rev2/keymaps/via/keymap.c diff --git a/keyboards/wings42/rev2/keymaps/via/rules.mk b/keyboards/dailycraft/wings42/rev2/keymaps/via/rules.mk index eea5e1e2a2..eea5e1e2a2 100644 --- a/keyboards/wings42/rev2/keymaps/via/rules.mk +++ b/keyboards/dailycraft/wings42/rev2/keymaps/via/rules.mk diff --git a/keyboards/wings42/rev2/readme.md b/keyboards/dailycraft/wings42/rev2/readme.md index 158372feb4..c919653397 100644 --- a/keyboards/wings42/rev2/readme.md +++ b/keyboards/dailycraft/wings42/rev2/readme.md @@ -6,16 +6,21 @@ A split keyboard with 3x6 vertically staggered keys and 3 thumb keys. * Keyboard Maintainer: [yfuku](https://github.com/yfuku) * Hardware Supported: wings42 PCB, Pro Micro -* Hardware Availability: https://yfuku.booth.pm/ +* Hardware Availability: https://shop.dailycraft.jp/ Make example for this keyboard (after setting up your build environment): - make wings42:default + make dailycraft/wings42:default Flashing example for this keyboard: - make wings42:default:flash + make dailycraft/wings42:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). -A build guide for this keyboard can be found here: [wings42 build guide](https://yfuku.com/wings42/buildguide/) +## Bootloader + +Enter the bootloader in 2 ways: + +* **Physical reset button**: Briefly press the button on the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available diff --git a/keyboards/wings42/rev2/rev2.c b/keyboards/dailycraft/wings42/rev2/rev2.c index 96aa6cd314..96aa6cd314 100644 --- a/keyboards/wings42/rev2/rev2.c +++ b/keyboards/dailycraft/wings42/rev2/rev2.c diff --git a/keyboards/wings42/rev2/rev2.h b/keyboards/dailycraft/wings42/rev2/rev2.h index 4720592264..4720592264 100644 --- a/keyboards/wings42/rev2/rev2.h +++ b/keyboards/dailycraft/wings42/rev2/rev2.h diff --git a/keyboards/naked48/keymaps/salicylic_with_setta21/rules.mk b/keyboards/dailycraft/wings42/rev2/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked48/keymaps/salicylic_with_setta21/rules.mk +++ b/keyboards/dailycraft/wings42/rev2/rules.mk diff --git a/keyboards/wings42/rules.mk b/keyboards/dailycraft/wings42/rules.mk index 74e894efec..94459dbcc5 100644 --- a/keyboards/wings42/rules.mk +++ b/keyboards/dailycraft/wings42/rules.mk @@ -19,4 +19,4 @@ AUDIO_ENABLE = no # Audio output SPLIT_KEYBOARD = yes -DEFAULT_FOLDER = wings42/rev2 +DEFAULT_FOLDER = dailycraft/wings42/rev2 diff --git a/keyboards/wings42/wings42.c b/keyboards/dailycraft/wings42/wings42.c index 824b6cfbb6..824b6cfbb6 100644 --- a/keyboards/wings42/wings42.c +++ b/keyboards/dailycraft/wings42/wings42.c diff --git a/keyboards/wings42/wings42.h b/keyboards/dailycraft/wings42/wings42.h index 9412b7117a..d839f04884 100644 --- a/keyboards/wings42/wings42.h +++ b/keyboards/dailycraft/wings42/wings42.h @@ -18,13 +18,13 @@ #include "quantum.h" -#ifdef KEYBOARD_wings42_rev1 +#ifdef KEYBOARD_dailycraft_wings42_rev1 # include "rev1.h" #endif -#ifdef KEYBOARD_wings42_rev1_extkeys +#ifdef KEYBOARD_dailycraft_wings42_rev1_extkeys # include "rev1_extkeys.h" #endif -#ifdef KEYBOARD_wings42_rev2 +#ifdef KEYBOARD_dailycraft_wings42_rev2 # include "rev2.h" #endif diff --git a/keyboards/dc01/arrow/matrix.c b/keyboards/dc01/arrow/matrix.c index 0102ad0fa4..b69e147914 100644 --- a/keyboards/dc01/arrow/matrix.c +++ b/keyboards/dc01/arrow/matrix.c @@ -205,14 +205,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/left/matrix.c b/keyboards/dc01/left/matrix.c index bf5aba8497..084978a1fd 100644 --- a/keyboards/dc01/left/matrix.c +++ b/keyboards/dc01/left/matrix.c @@ -230,14 +230,6 @@ if (i2c_transaction(SLAVE_I2C_ADDRESS_NUMPAD, 0x1FFFF, 11)) { return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c index 38130114eb..e8e2a1b14a 100644 --- a/keyboards/dc01/numpad/matrix.c +++ b/keyboards/dc01/numpad/matrix.c @@ -205,14 +205,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dc01/right/matrix.c b/keyboards/dc01/right/matrix.c index 544c8dc538..2509bd7d4c 100644 --- a/keyboards/dc01/right/matrix.c +++ b/keyboards/dc01/right/matrix.c @@ -206,14 +206,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/dichotomy/config.h b/keyboards/dichotomy/config.h index 03e19b1388..40e7f18e6f 100644 --- a/keyboards/dichotomy/config.h +++ b/keyboards/dichotomy/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/dichotomy/dichotomy.c b/keyboards/dichotomy/dichotomy.c index 967d7e603c..afd52cc8b3 100755 --- a/keyboards/dichotomy/dichotomy.c +++ b/keyboards/dichotomy/dichotomy.c @@ -1,11 +1,13 @@ #include "dichotomy.h" +//#include "uart.h" + void pointing_device_task(void){ /*report_mouse_t currentReport = {}; uint32_t timeout = 0; //the m character requests the RF slave to send the mouse report - SERIAL_UART_DATA = 'm'; + uart_write('m'); //trust the external inputs completely, erase old data uint8_t uart_data[5] = {0}; @@ -15,7 +17,7 @@ void pointing_device_task(void){ //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while(!uart_available()){ timeout++; if (timeout > 10000){ xprintf("\r\nTIMED OUT"); @@ -23,7 +25,7 @@ void pointing_device_task(void){ } } xprintf("\r\nGOT DATA for %d",i); - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, bytes 1-4 are movement and scroll diff --git a/keyboards/dichotomy/matrix.c b/keyboards/dichotomy/matrix.c index ed83bd452c..806b66d498 100755 --- a/keyboards/dichotomy/matrix.c +++ b/keyboards/dichotomy/matrix.c @@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "dichotomy.h" #include "pointing_device.h" #include "report.h" -#include "protocol/serial.h" +#include "uart.h" #if (MATRIX_COLS <= 8) # define print_matrix_header() print("\nr/c 01234567\n") @@ -94,7 +94,7 @@ uint8_t matrix_cols(void) { void matrix_init(void) { matrix_init_quantum(); - serial_init(); + uart_init(1000000); } uint8_t matrix_scan(void) @@ -104,7 +104,7 @@ uint8_t matrix_scan(void) uint32_t timeout = 0; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -114,14 +114,14 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while(!uart_available()){ timeout++; if (timeout > 10000){ xprintf("\r\nTime out in keyboard."); break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 diff --git a/keyboards/dichotomy/rules.mk b/keyboards/dichotomy/rules.mk index 2b5eb0360c..a6029e3dbf 100755 --- a/keyboards/dichotomy/rules.mk +++ b/keyboards/dichotomy/rules.mk @@ -18,4 +18,5 @@ NKRO_ENABLE = yes # Enable N-Key Rollover # BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality # # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/dm9records/ergoinu/config.h b/keyboards/dm9records/ergoinu/config.h index 113eaf9f76..89ea9e7903 100644 --- a/keyboards/dm9records/ergoinu/config.h +++ b/keyboards/dm9records/ergoinu/config.h @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once #include "config_common.h" -#include "serial_config.h" /* USB Device descriptor parameter VID & PID are lisenced from microchip sublisence program, Don't use other project! */ @@ -30,11 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MANUFACTURER Dm9Records #define PRODUCT ergoinu -#define TAPPING_FORCE_HOLD -#define TAPPING_TERM 100 - #define USE_SERIAL +/* serial.c configuration for split keyboard */ +#define SOFT_SERIAL_PIN D2 + /* Select hand configuration */ #define MASTER_LEFT // #define MASTER_RIGHT @@ -49,6 +48,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COLS 7 #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, F5, F4 } +/* COL2ROW, ROW2COL */ +#define DIODE_DIRECTION COL2ROW + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST diff --git a/keyboards/dm9records/ergoinu/ergoinu.c b/keyboards/dm9records/ergoinu/ergoinu.c index c6d099a148..a01ac0a25c 100644 --- a/keyboards/dm9records/ergoinu/ergoinu.c +++ b/keyboards/dm9records/ergoinu/ergoinu.c @@ -1 +1,18 @@ +/* +Copyright 2018 Takuya Urakawa<twitter:@hsgw> + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + #include "ergoinu.h" diff --git a/keyboards/dm9records/ergoinu/ergoinu.h b/keyboards/dm9records/ergoinu/ergoinu.h index 43249a8440..c275d3fa27 100644 --- a/keyboards/dm9records/ergoinu/ergoinu.h +++ b/keyboards/dm9records/ergoinu/ergoinu.h @@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" -#ifdef RGBLIGHT_ENABLE -#include "ws2812.h" -#endif - #define LAYOUT( \ L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ L07, L08, L09, L10, L11, L12, L13, R07, R08, R09, R10, R11, R12, R13, \ @@ -41,4 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. { R27, R26, R25, R24, R23, R22, R21 }, \ { KC_NO, KC_NO, R32, R31, R30, R29, R28 } \ } - diff --git a/keyboards/dm9records/ergoinu/keymaps/default/config.h b/keyboards/dm9records/ergoinu/keymaps/default/config.h deleted file mode 100644 index bb266f25e7..0000000000 --- a/keyboards/dm9records/ergoinu/keymaps/default/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako <wakojun@gmail.com> -Copyright 2015 Jack Humbert -Copyright 2018 Takuya Urakawa <Twitter:@hsgw> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#define RGBLIGHT_ANIMATIONS diff --git a/keyboards/dm9records/ergoinu/keymaps/default/keymap.c b/keyboards/dm9records/ergoinu/keymaps/default/keymap.c index 00c5da820d..862b538829 100644 --- a/keyboards/dm9records/ergoinu/keymaps/default/keymap.c +++ b/keyboards/dm9records/ergoinu/keymaps/default/keymap.c @@ -5,14 +5,6 @@ extern rgblight_config_t rgblight_config; #endif -#define JA_CLON KC_QUOT // : and + -#define JA_AT KC_LBRC // @ and ` -#define JA_HAT KC_EQL // ^ and ~ -#define JA_ENUN KC_RO // \ and _ (EN mark and UNder score) -#define JA_ENVL KC_JYEN // \ and | (EN mark and Vertical Line) -#define JA_LBRC KC_RBRC // [ and { -#define JA_RBRC KC_BSLS // ] and } - enum LAYER_NO { BASE = 0, META, @@ -24,33 +16,30 @@ enum CUSTOM_KEYCODES { RGB_TYPE, }; -// Fillers to make layering more clear -#define ______ KC_TRNS -#define XXXXXX KC_NO - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [BASE] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, - KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_GRV, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, + KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, + KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_GRV, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, MO(META),KC_LALT, KC_LGUI, KC_ENT, KC_SPC, KC_ENT, KC_BSPC, KC_RGUI, KC_RALT, MO(META) ), [META] = LAYOUT( MO(CONF),KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, - ______, KC_CAPS, ______, ______, ______, ______, ______, ______, ______, ______, KC_SLCK, KC_PSCR, KC_HOME, KC_END, - ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_PAUS, KC_PGUP, KC_UP, KC_PGDN, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_LEFT, KC_DOWN, KC_RGHT, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______ + _______, KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLCK, KC_PSCR, KC_HOME, KC_END, + _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS, KC_PGUP, KC_UP, KC_PGDN, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), - [CONF] = LAYOUT( - ______, RGB_TYPE,RGB_MOD, RGB_VAI, RGB_HUI, RGB_HUI, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - RGB_RST, RGB_TOG, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_HUD, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX + + [CONF] = LAYOUT( + _______, RGB_TYPE,RGB_MOD, RGB_VAI, RGB_HUI, RGB_HUI, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + RGB_RST, RGB_TOG, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_HUD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX ) }; diff --git a/keyboards/dm9records/ergoinu/keymaps/default/rules.mk b/keyboards/dm9records/ergoinu/keymaps/default/rules.mk deleted file mode 100644 index 8567c2ae2e..0000000000 --- a/keyboards/dm9records/ergoinu/keymaps/default/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -SWAP_HANDS_ENABLE = no # Enable one-hand typing - -# ergoinu configs -DISABLE_PROMICRO_LEDs = yes - -# Uncomment these for debugging -# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE)) -# $(info -- OPT_DEFS=$(OPT_DEFS)) -# $(info ) diff --git a/keyboards/dm9records/ergoinu/keymaps/default_jis/config.h b/keyboards/dm9records/ergoinu/keymaps/default_jis/config.h deleted file mode 100644 index bb266f25e7..0000000000 --- a/keyboards/dm9records/ergoinu/keymaps/default_jis/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako <wakojun@gmail.com> -Copyright 2015 Jack Humbert -Copyright 2018 Takuya Urakawa <Twitter:@hsgw> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#define RGBLIGHT_ANIMATIONS diff --git a/keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c b/keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c index a9a9f71f4d..32289c44db 100644 --- a/keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c +++ b/keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c @@ -24,10 +24,6 @@ enum CUSTOM_KEYCODES { RGB_TYPE, }; -// Fillers to make layering more clear -#define ______ KC_TRNS -#define XXXXXX KC_NO - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [BASE] = LAYOUT( @@ -38,20 +34,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { MO(META),KC_LALT, KC_ZKHK, KC_BSPC, KC_SPC, KC_ENT, KC_BSPC, KC_MHEN, KC_KANA, MO(META) ), - [META] = LAYOUT( MO(CONF),KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, - ______, KC_CAPS, ______, KC_UP, ______, ______, ______, ______, ______, ______, KC_SLCK, KC_PSCR, KC_HOME, KC_END, - ______, KC_LEFT, KC_DOWN, KC_RGHT, ______, ______, ______, ______, ______, KC_PAUS, KC_PGUP, KC_UP, KC_PGDN, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_LEFT, KC_DOWN, KC_RGHT, - ______, ______, KC_RGUI, KC_DEL, KC_ENT, ______, KC_DEL, KC_HENK, KC_LGUI, ______ + _______, KC_CAPS, _______, KC_UP, _______, _______, _______, _______, _______, _______, KC_SLCK, KC_PSCR, KC_HOME, KC_END, + _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, KC_PAUS, KC_PGUP, KC_UP, KC_PGDN, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, + _______, _______, KC_RGUI, KC_DEL, KC_ENT, _______, KC_DEL, KC_HENK, KC_LGUI, _______ ), - [CONF] = LAYOUT( - ______, RGB_TYPE,RGB_MOD, RGB_VAI, RGB_HUI, RGB_HUI, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - RGB_RST, RGB_TOG, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_HUD, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, - XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX, XXXXXX + + [CONF] = LAYOUT( + _______, RGB_TYPE,RGB_MOD, RGB_VAI, RGB_HUI, RGB_HUI, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + RGB_RST, RGB_TOG, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_HUD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX ) }; diff --git a/keyboards/dm9records/ergoinu/keymaps/default_jis/rules.mk b/keyboards/dm9records/ergoinu/keymaps/default_jis/rules.mk deleted file mode 100644 index 97154be636..0000000000 --- a/keyboards/dm9records/ergoinu/keymaps/default_jis/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = no # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -SWAP_HANDS_ENABLE = no # Enable one-hand typing - -# ergoinu configs -DISABLE_PROMICRO_LEDs = yes - -# Uncomment these for debugging -# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE)) -# $(info -- OPT_DEFS=$(OPT_DEFS)) -# $(info ) diff --git a/keyboards/dm9records/ergoinu/matrix.c b/keyboards/dm9records/ergoinu/matrix.c deleted file mode 100644 index b1c58f88fe..0000000000 --- a/keyboards/dm9records/ergoinu/matrix.c +++ /dev/null @@ -1,292 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -/* - * scan matrix - */ -#include <stdint.h> -#include <stdbool.h> -#include <avr/io.h> -#include <avr/wdt.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "split_util.h" -#include "quantum.h" - -#include "serial.h" - -#ifndef DEBOUNCE -# define DEBOUNCE 5 -#endif - -#define ERROR_DISCONNECT_COUNT 5 - -static uint8_t debouncing = DEBOUNCE; -static const int ROWS_PER_HAND = MATRIX_ROWS/2; -static uint8_t error_count = 0; -uint8_t is_master = 0 ; - -static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static const uint8_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; -static matrix_row_t matrix_debouncing[MATRIX_ROWS]; - -static matrix_row_t read_cols(void); -static void init_cols(void); -static void unselect_rows(void); -static void select_row(uint8_t row); -static uint8_t matrix_master_scan(void); - - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} - -void matrix_init(void) { - debug_enable = true; - debug_matrix = true; - debug_mouse = true; - // initialize row and col - unselect_rows(); - init_cols(); - - setPinOutput(B0); - setPinOutput(D5); - - #ifdef DISABLE_PROMICRO_LEDs - writePinHigh(B0); - writePinHigh(D5); - #endif - - // initialize matrix state: all keys off - for (uint8_t i=0; i < MATRIX_ROWS; i++) { - matrix[i] = 0; - matrix_debouncing[i] = 0; - } - - is_master = has_usb(); - - matrix_init_quantum(); -} - -uint8_t _matrix_scan(void) { - // Right hand is stored after the left in the matirx so, we need to offset it - int offset = isLeftHand ? 0 : (ROWS_PER_HAND); - - for (uint8_t i = 0; i < ROWS_PER_HAND; i++) { - select_row(i); - _delay_us(30); // without this wait read unstable value. - matrix_row_t cols = read_cols(); - if (matrix_debouncing[i+offset] != cols) { - matrix_debouncing[i+offset] = cols; - debouncing = DEBOUNCE; - } - unselect_rows(); - } - - if (debouncing) { - if (--debouncing) { - _delay_ms(1); - } else { - for (uint8_t i = 0; i < ROWS_PER_HAND; i++) { - matrix[i+offset] = matrix_debouncing[i+offset]; - } - } - } - - return 1; -} - -int serial_transaction(void) { - int slaveOffset = (isLeftHand) ? (ROWS_PER_HAND) : 0; - int ret=serial_update_buffers(); - if (ret ) { -#ifndef DISABLE_PROMICRO_LEDs - if(ret==2) writePinLow(B0); -#endif - return 1; - } -#ifndef DISABLE_PROMICRO_LEDs - writePinHigh(B0); -#endif - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[slaveOffset+i] = serial_slave_buffer[i]; - } - return 0; -} - -uint8_t matrix_scan(void) { - if (is_master) { - matrix_master_scan(); - }else{ - matrix_slave_scan(); - - int offset = (isLeftHand) ? ROWS_PER_HAND : 0; - - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[offset+i] = serial_master_buffer[i]; - } - - matrix_scan_quantum(); - } - return 1; -} - - -uint8_t matrix_master_scan(void) { - - int ret = _matrix_scan(); - - int offset = (isLeftHand) ? 0 : ROWS_PER_HAND; - - for (int i = 0; i < ROWS_PER_HAND; ++i) { - serial_master_buffer[i] = matrix[offset+i]; - } - - if( serial_transaction() ) { -#ifndef DISABLE_PROMICRO_LEDs - // turn on the indicator led when halves are disconnected - writePinLow(D5); -#endif - - error_count++; - - if (error_count > ERROR_DISCONNECT_COUNT) { - // reset other half if disconnected - int slaveOffset = (isLeftHand) ? (ROWS_PER_HAND) : 0; - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[slaveOffset+i] = 0; - } - } - } else { -#ifndef DISABLE_PROMICRO_LEDs - // turn off the indicator led on no error - writePinHigh(D5); -#endif - error_count = 0; - } - matrix_scan_quantum(); - return ret; -} - -void matrix_slave_scan(void) { - _matrix_scan(); - - int offset = (isLeftHand) ? 0 : ROWS_PER_HAND; - - for (int i = 0; i < ROWS_PER_HAND; ++i) { - serial_slave_buffer[i] = matrix[offset+i]; - } -} - -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print("\nr/c 0123456789ABCDEF\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_bin_reverse16(matrix_get_row(row)); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += bitpop16(matrix[i]); - } - return count; -} - -static void init_cols(void) -{ - for(int x = 0; x < MATRIX_COLS; x++) { - _SFR_IO8((col_pins[x] >> 4) + 1) &= ~_BV(col_pins[x] & 0xF); - _SFR_IO8((col_pins[x] >> 4) + 2) |= _BV(col_pins[x] & 0xF); - } -} - -static matrix_row_t read_cols(void) -{ - matrix_row_t result = 0; - for(int x = 0; x < MATRIX_COLS; x++) { - result |= (_SFR_IO8(col_pins[x] >> 4) & _BV(col_pins[x] & 0xF)) ? 0 : (1 << x); - } - return result; -} - -static void unselect_rows(void) -{ - for(int x = 0; x < ROWS_PER_HAND; x++) { - _SFR_IO8((row_pins[x] >> 4) + 1) &= ~_BV(row_pins[x] & 0xF); - _SFR_IO8((row_pins[x] >> 4) + 2) |= _BV(row_pins[x] & 0xF); - } -} - -static void select_row(uint8_t row) -{ - _SFR_IO8((row_pins[row] >> 4) + 1) |= _BV(row_pins[row] & 0xF); - _SFR_IO8((row_pins[row] >> 4) + 2) &= ~_BV(row_pins[row] & 0xF); -} diff --git a/keyboards/dm9records/ergoinu/post_rules.mk b/keyboards/dm9records/ergoinu/post_rules.mk deleted file mode 100644 index 02aa48104c..0000000000 --- a/keyboards/dm9records/ergoinu/post_rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -ifneq ($(strip $(ERGOINU)),) - ifeq ($(findstring promicroled, $(ERGOINU)), promicroled) - DISABLE_PROMICRO_LEDs = no - endif -endif - -ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes) - OPT_DEFS += -DDISABLE_PROMICRO_LEDs -endif diff --git a/keyboards/dm9records/ergoinu/readme.md b/keyboards/dm9records/ergoinu/readme.md index de0a1c6c97..45f91dbac2 100644 --- a/keyboards/dm9records/ergoinu/readme.md +++ b/keyboards/dm9records/ergoinu/readme.md @@ -1,13 +1,12 @@ -ErgoInu -=== +# ErgoInu ![ergoinu](https://i.imgur.com/4CCM8Vl.jpg) An (Not Portable But Small) Ergonomic Split Keyboard. -Keyboard Maintainer: [hsgw](https://github.com/hsgw/) [twitter](https://twitter.com/hsgw) -Hardware Supported: Pro Micro -Hardware Availability & Repository: [https://github.com/hsgw/ergoinu](https://github.com/hsgw/ergoinu) +* Keyboard Maintainer: [hsgw](https://github.com/hsgw/) [twitter](https://twitter.com/hsgw) +* Hardware Supported: Pro Micro +* Hardware Availability & Repository: [https://github.com/hsgw/ergoinu](https://github.com/hsgw/ergoinu) Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/dm9records/ergoinu/rules.mk b/keyboards/dm9records/ergoinu/rules.mk index 0a634ee794..aba3644c9e 100644 --- a/keyboards/dm9records/ergoinu/rules.mk +++ b/keyboards/dm9records/ergoinu/rules.mk @@ -7,20 +7,14 @@ BOOTLOADER = caterina # Build Options # change yes to no to disable # -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration +COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SUBPROJECT_rev1 = no -USE_I2C = no # i2c is not supported -CUSTOM_MATRIX = yes -SRC += matrix.c serial.c split_util.c - -# ergoinu configs -DISABLE_PROMICRO_LEDs = yes +SPLIT_KEYBOARD = yes diff --git a/keyboards/dm9records/ergoinu/serial.c b/keyboards/dm9records/ergoinu/serial.c deleted file mode 100644 index 5919415877..0000000000 --- a/keyboards/dm9records/ergoinu/serial.c +++ /dev/null @@ -1,295 +0,0 @@ -/* - * WARNING: be careful changing this code, it is very timing dependent - */ - -#ifndef F_CPU -#define F_CPU 16000000 -#endif - -#include <avr/io.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include <stdbool.h> -#include "serial.h" - -#ifdef USE_SERIAL - -#define _delay_sub_us(x) __builtin_avr_delay_cycles(x) - -// Serial pulse period in microseconds. -#define SELECT_SERIAL_SPEED 1 -#if SELECT_SERIAL_SPEED == 0 - // Very High speed - #define SERIAL_DELAY 4 // micro sec - #define READ_WRITE_START_ADJUST 30 // cycles - #define READ_WRITE_WIDTH_ADJUST 10 // cycles -#elif SELECT_SERIAL_SPEED == 1 - // High speed - #define SERIAL_DELAY 6 // micro sec - #define READ_WRITE_START_ADJUST 23 // cycles - #define READ_WRITE_WIDTH_ADJUST 10 // cycles -#elif SELECT_SERIAL_SPEED == 2 - // Middle speed - #define SERIAL_DELAY 12 // micro sec - #define READ_WRITE_START_ADJUST 25 // cycles - #define READ_WRITE_WIDTH_ADJUST 10 // cycles -#elif SELECT_SERIAL_SPEED == 3 - // Low speed - #define SERIAL_DELAY 24 // micro sec - #define READ_WRITE_START_ADJUST 25 // cycles - #define READ_WRITE_WIDTH_ADJUST 10 // cycles -#elif SELECT_SERIAL_SPEED == 4 - // Very Low speed - #define SERIAL_DELAY 50 // micro sec - #define READ_WRITE_START_ADJUST 25 // cycles - #define READ_WRITE_WIDTH_ADJUST 10 // cycles -#else -#error Illegal Serial Speed -#endif - - -#define SERIAL_DELAY_HALF1 (SERIAL_DELAY/2) -#define SERIAL_DELAY_HALF2 (SERIAL_DELAY - SERIAL_DELAY/2) - -#define SLAVE_INT_WIDTH 1 -#define SLAVE_INT_RESPONSE_TIME SERIAL_DELAY - -uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; -uint8_t volatile serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH] = {0}; - -#define SLAVE_DATA_CORRUPT (1<<0) -volatile uint8_t status = 0; - -inline static -void serial_delay(void) { - _delay_us(SERIAL_DELAY); -} - -inline static -void serial_delay_half1(void) { - _delay_us(SERIAL_DELAY_HALF1); -} - -inline static -void serial_delay_half2(void) { - _delay_us(SERIAL_DELAY_HALF2); -} - -inline static -void serial_output(void) { - SERIAL_PIN_DDR |= SERIAL_PIN_MASK; -} - -// make the serial pin an input with pull-up resistor -inline static -void serial_input_with_pullup(void) { - SERIAL_PIN_DDR &= ~SERIAL_PIN_MASK; - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -inline static -uint8_t serial_read_pin(void) { - return !!(SERIAL_PIN_INPUT & SERIAL_PIN_MASK); -} - -inline static -void serial_low(void) { - SERIAL_PIN_PORT &= ~SERIAL_PIN_MASK; -} - -inline static -void serial_high(void) { - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -void serial_master_init(void) { - serial_output(); - serial_high(); -} - -void serial_slave_init(void) { - serial_input_with_pullup(); - -#if SERIAL_PIN_MASK == _BV(PD0) - // Enable INT0 - EIMSK |= _BV(INT0); - // Trigger on falling edge of INT0 - EICRA &= ~(_BV(ISC00) | _BV(ISC01)); -#elif SERIAL_PIN_MASK == _BV(PD2) - // Enable INT2 - EIMSK |= _BV(INT2); - // Trigger on falling edge of INT2 - EICRA &= ~(_BV(ISC20) | _BV(ISC21)); -#else - #error unknown SERIAL_PIN_MASK value -#endif -} - -// Used by the sender to synchronize timing with the reciver. -static -void sync_recv(void) { - for (int i = 0; i < SERIAL_DELAY*5 && serial_read_pin(); i++ ) { - } - // This shouldn't hang if the slave disconnects because the - // serial line will float to high if the slave does disconnect. - while (!serial_read_pin()); -} - -// Used by the reciver to send a synchronization signal to the sender. -static -void sync_send(void) { - serial_low(); - serial_delay(); - serial_high(); -} - -// Reads a byte from the serial line -static -uint8_t serial_read_byte(void) { - uint8_t byte = 0; - _delay_sub_us(READ_WRITE_START_ADJUST); - for ( uint8_t i = 0; i < 8; ++i) { - serial_delay_half1(); // read the middle of pulses - byte = (byte << 1) | serial_read_pin(); - _delay_sub_us(READ_WRITE_WIDTH_ADJUST); - serial_delay_half2(); - } - return byte; -} - -// Sends a byte with MSB ordering -static -void serial_write_byte(uint8_t data) { - uint8_t b = 1<<7; - while( b ) { - if(data & b) { - serial_high(); - } else { - serial_low(); - } - b >>= 1; - serial_delay(); - } - serial_low(); // sync_send() / senc_recv() need raise edge -} - -// interrupt handle to be used by the slave device -ISR(SERIAL_PIN_INTERRUPT) { - serial_output(); - - // slave send phase - uint8_t checksum = 0; - for (int i = 0; i < SERIAL_SLAVE_BUFFER_LENGTH; ++i) { - sync_send(); - serial_write_byte(serial_slave_buffer[i]); - checksum += serial_slave_buffer[i]; - } - sync_send(); - serial_write_byte(checksum); - - // slave switch to input - sync_send(); //0 - serial_delay_half1(); //1 - serial_low(); //2 - serial_input_with_pullup(); //2 - serial_delay_half1(); //3 - - // slave recive phase - uint8_t checksum_computed = 0; - for (int i = 0; i < SERIAL_MASTER_BUFFER_LENGTH; ++i) { - sync_recv(); - serial_master_buffer[i] = serial_read_byte(); - checksum_computed += serial_master_buffer[i]; - } - sync_recv(); - uint8_t checksum_received = serial_read_byte(); - - if ( checksum_computed != checksum_received ) { - status |= SLAVE_DATA_CORRUPT; - } else { - status &= ~SLAVE_DATA_CORRUPT; - } - - sync_recv(); //weit master output to high -} - -inline -bool serial_slave_DATA_CORRUPT(void) { - return status & SLAVE_DATA_CORRUPT; -} - -// Copies the serial_slave_buffer to the master and sends the -// serial_master_buffer to the slave. -// -// Returns: -// 0 => no error -// 1 => slave did not respond -// 2 => checksum error -int serial_update_buffers(void) { - // this code is very time dependent, so we need to disable interrupts - cli(); - - // signal to the slave that we want to start a transaction - serial_output(); - serial_low(); - _delay_us(SLAVE_INT_WIDTH); - - // wait for the slaves response - serial_input_with_pullup(); - _delay_us(SLAVE_INT_RESPONSE_TIME); - - // check if the slave is present - if (serial_read_pin()) { - // slave failed to pull the line low, assume not present - serial_output(); - serial_high(); - sei(); - return 1; - } - - // master recive phase - // if the slave is present syncronize with it - - uint8_t checksum_computed = 0; - // receive data from the slave - for (int i = 0; i < SERIAL_SLAVE_BUFFER_LENGTH; ++i) { - sync_recv(); - serial_slave_buffer[i] = serial_read_byte(); - checksum_computed += serial_slave_buffer[i]; - } - sync_recv(); - uint8_t checksum_received = serial_read_byte(); - - if (checksum_computed != checksum_received) { - serial_output(); - serial_high(); - sei(); - return 2; - } - - // master switch to output - sync_recv(); //0 - serial_delay(); //1 - serial_low(); //3 - serial_output(); // 3 - serial_delay_half1(); //4 - - // master send phase - uint8_t checksum = 0; - - for (int i = 0; i < SERIAL_MASTER_BUFFER_LENGTH; ++i) { - sync_send(); - serial_write_byte(serial_master_buffer[i]); - checksum += serial_master_buffer[i]; - } - sync_send(); - serial_write_byte(checksum); - - // always, release the line when not in use - sync_send(); - - sei(); - return 0; -} - -#endif diff --git a/keyboards/dm9records/ergoinu/serial.h b/keyboards/dm9records/ergoinu/serial.h deleted file mode 100644 index 67cf06ac6b..0000000000 --- a/keyboards/dm9records/ergoinu/serial.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include <stdbool.h> - -// //////////////////////////////////////////// -// Need Soft Serial defines in serial_config.h -// //////////////////////////////////////////// -// ex. -// #define SERIAL_PIN_DDR DDRD -// #define SERIAL_PIN_PORT PORTD -// #define SERIAL_PIN_INPUT PIND -// #define SERIAL_PIN_MASK _BV(PD?) ?=0,2 -// #define SERIAL_PIN_INTERRUPT INT?_vect ?=0,2 -// #define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -// #define SERIAL_MASTER_BUFFER_LENGTH MATRIX_ROWS/2 - -// Buffers for master - slave communication -extern volatile uint8_t serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH]; -extern volatile uint8_t serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH]; - -void serial_master_init(void); -void serial_slave_init(void); -int serial_update_buffers(void); -bool serial_slave_data_corrupt(void); diff --git a/keyboards/dm9records/ergoinu/serial_config.h b/keyboards/dm9records/ergoinu/serial_config.h deleted file mode 100644 index a16db684ca..0000000000 --- a/keyboards/dm9records/ergoinu/serial_config.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -/* Soft Serial defines */ -#define SERIAL_PIN_DDR DDRD -#define SERIAL_PIN_PORT PORTD -#define SERIAL_PIN_INPUT PIND -#define SERIAL_PIN_MASK _BV(PD2) -#define SERIAL_PIN_INTERRUPT INT2_vect - -#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -#define SERIAL_MASTER_BUFFER_LENGTH MATRIX_ROWS/2 diff --git a/keyboards/dm9records/ergoinu/split_util.c b/keyboards/dm9records/ergoinu/split_util.c deleted file mode 100644 index 0cbc2c69c4..0000000000 --- a/keyboards/dm9records/ergoinu/split_util.c +++ /dev/null @@ -1,56 +0,0 @@ -#include <avr/io.h> -#include <avr/wdt.h> -#include <avr/power.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include <avr/eeprom.h> -#include "split_util.h" -#include "matrix.h" -#include "keyboard.h" - -#include "serial.h" - -volatile bool isLeftHand = true; - -static void setup_handedness(void) { - #ifdef EE_HANDS - isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS); - #else - // I2C_MASTER_RIGHT is deprecated, use MASTER_RIGHT instead, since this works for both serial and i2c - #if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT) - isLeftHand = !has_usb(); - #else - isLeftHand = has_usb(); - #endif - #endif -} - -static void keyboard_master_setup(void) { - serial_master_init(); -} - -static void keyboard_slave_setup(void) { - serial_slave_init(); -} - -bool has_usb(void) { - USBCON |= (1 << OTGPADE); //enables VBUS pad - _delay_us(5); - return (USBSTA & (1<<VBUS)); //checks state of VBUS -} - -void split_keyboard_setup(void) { - setup_handedness(); - - if (has_usb()) { - keyboard_master_setup(); - } else { - keyboard_slave_setup(); - } - sei(); -} - -// this code runs before the usb and keyboard is initialized -void matrix_setup(void) { - split_keyboard_setup(); -} diff --git a/keyboards/dm9records/ergoinu/split_util.h b/keyboards/dm9records/ergoinu/split_util.h deleted file mode 100644 index 11cfd5455a..0000000000 --- a/keyboards/dm9records/ergoinu/split_util.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include <stdbool.h> -#include "eeconfig.h" - -extern volatile bool isLeftHand; - -// slave version of matix scan, defined in matrix.c -void matrix_slave_scan(void); - -void split_keyboard_setup(void); -bool has_usb(void); diff --git a/keyboards/duck/jetfire/matrix.c b/keyboards/duck/jetfire/matrix.c index 2dd94a72ac..729fa6dd14 100644 --- a/keyboards/duck/jetfire/matrix.c +++ b/keyboards/duck/jetfire/matrix.c @@ -116,12 +116,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h b/keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h deleted file mode 100644 index 02c48c4e6d..0000000000 --- a/keyboards/durgod/boards/DURGOD_STM32_F070/bootloader_defs.h +++ /dev/null @@ -1,7 +0,0 @@ -/* Address for jumping to bootloader on STM32 chips. */ -/* It is chip dependent, the correct number can be looked up here (page 175): - * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf - * This also requires a patch to chibios: - * <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch - */ -#define STM32_BOOTLOADER_ADDRESS 0x1FFFC800 diff --git a/keyboards/durgod/boards/DURGOD_STM32_F070/chconf.h b/keyboards/durgod/boards/DURGOD_STM32_F070/chconf.h index a7d95c51a9..d70f188178 100644 --- a/keyboards/durgod/boards/DURGOD_STM32_F070/chconf.h +++ b/keyboards/durgod/boards/DURGOD_STM32_F070/chconf.h @@ -21,7 +21,7 @@ #pragma once -#define CH_CFG_ST_FREQUENCY 10000 +#define CH_CFG_ST_FREQUENCY 1000 #define CH_CFG_ST_TIMEDELTA 0 diff --git a/keyboards/durgod/boards/DURGOD_STM32_F070/mcuconf.h b/keyboards/durgod/boards/DURGOD_STM32_F070/mcuconf.h index 6d67aa96aa..a24c1cee12 100644 --- a/keyboards/durgod/boards/DURGOD_STM32_F070/mcuconf.h +++ b/keyboards/durgod/boards/DURGOD_STM32_F070/mcuconf.h @@ -85,7 +85,7 @@ */ #define STM32_GPT_USE_TIM1 FALSE #define STM32_GPT_USE_TIM2 FALSE -#define STM32_GPT_USE_TIM3 FALSE +#define STM32_GPT_USE_TIM3 TRUE #define STM32_GPT_USE_TIM14 FALSE #define STM32_GPT_TIM1_IRQ_PRIORITY 2 #define STM32_GPT_TIM2_IRQ_PRIORITY 2 diff --git a/keyboards/durgod/dgk6x/config.h b/keyboards/durgod/dgk6x/config.h index 92673e5c24..a15ed86650 100644 --- a/keyboards/durgod/dgk6x/config.h +++ b/keyboards/durgod/dgk6x/config.h @@ -22,6 +22,9 @@ #define VENDOR_ID 0xD60D #define MANUFACTURER Hoksi Technology +#define USB_POLLING_INTERVAL_MS 1 +#define WAIT_US_TIMER GPTD3 + /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/durgod/dgk6x/halconf.h b/keyboards/durgod/dgk6x/halconf.h index 1772f8e410..9c1c6e5280 100644 --- a/keyboards/durgod/dgk6x/halconf.h +++ b/keyboards/durgod/dgk6x/halconf.h @@ -19,4 +19,7 @@ #ifdef RGB_MATRIX_ENABLE #define HAL_USE_I2C TRUE #endif + +#define HAL_USE_GPT TRUE + #include_next <halconf.h> diff --git a/keyboards/durgod/dgk6x/rules.mk b/keyboards/durgod/dgk6x/rules.mk index 56c5b1ac24..660719104d 100644 --- a/keyboards/durgod/dgk6x/rules.mk +++ b/keyboards/durgod/dgk6x/rules.mk @@ -1,9 +1,11 @@ # MCU name # Actually F070, but close enough MCU = STM32F072 - BOARD = DURGOD_STM32_F070 +# Bootloader selection +BOOTLOADER = stm32-dfu + # Do not put the microcontroller into power saving mode NO_SUSPEND_POWER_DOWN = yes diff --git a/keyboards/durgod/k3x0/config.h b/keyboards/durgod/k3x0/config.h index ef73a71016..af543bb970 100644 --- a/keyboards/durgod/k3x0/config.h +++ b/keyboards/durgod/k3x0/config.h @@ -23,6 +23,9 @@ #define VENDOR_ID 0xD60D #define MANUFACTURER Hoksi Technology +#define USB_POLLING_INTERVAL_MS 1 +#define WAIT_US_TIMER GPTD3 + /* key matrix size (rows in specific keyboard variant) */ #define MATRIX_COLS 16 diff --git a/keyboards/durgod/k3x0/halconf.h b/keyboards/durgod/k3x0/halconf.h index fa20fe30a9..d2a9d8c7c0 100644 --- a/keyboards/durgod/k3x0/halconf.h +++ b/keyboards/durgod/k3x0/halconf.h @@ -19,4 +19,6 @@ #define HAL_USE_PAL TRUE #define PAL_USE_CALLBACKS TRUE +#define HAL_USE_GPT TRUE + #include_next <halconf.h> diff --git a/keyboards/standaside/config.h b/keyboards/edi/standaside/config.h index 797a463a15..797a463a15 100644 --- a/keyboards/standaside/config.h +++ b/keyboards/edi/standaside/config.h diff --git a/keyboards/standaside/info.json b/keyboards/edi/standaside/info.json index 797a3419b7..797a3419b7 100644 --- a/keyboards/standaside/info.json +++ b/keyboards/edi/standaside/info.json diff --git a/keyboards/standaside/keymaps/default/keymap.c b/keyboards/edi/standaside/keymaps/default/keymap.c index 0f13cb7632..0f13cb7632 100644 --- a/keyboards/standaside/keymaps/default/keymap.c +++ b/keyboards/edi/standaside/keymaps/default/keymap.c diff --git a/keyboards/standaside/readme.md b/keyboards/edi/standaside/readme.md index ca1cfb2763..51911c877d 100644 --- a/keyboards/standaside/readme.md +++ b/keyboards/edi/standaside/readme.md @@ -10,6 +10,6 @@ Hardware Availability: Seven Store (https://store.7storm.org). Make example for this keyboard (after setting up your build environment): - make standaside:default + make edi/standaside:default -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
\ No newline at end of file +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/standaside/rules.mk b/keyboards/edi/standaside/rules.mk index 8e4bcc5f9b..8e4bcc5f9b 100644 --- a/keyboards/standaside/rules.mk +++ b/keyboards/edi/standaside/rules.mk diff --git a/keyboards/standaside/standaside.c b/keyboards/edi/standaside/standaside.c index 9f445ec044..9f445ec044 100644 --- a/keyboards/standaside/standaside.c +++ b/keyboards/edi/standaside/standaside.c diff --git a/keyboards/standaside/standaside.h b/keyboards/edi/standaside/standaside.h index 9601f1257c..9601f1257c 100644 --- a/keyboards/standaside/standaside.h +++ b/keyboards/edi/standaside/standaside.h diff --git a/keyboards/ergodox_stm32/matrix.c b/keyboards/ergodox_stm32/matrix.c index 383bf9790a..094d4a9e0f 100644 --- a/keyboards/ergodox_stm32/matrix.c +++ b/keyboards/ergodox_stm32/matrix.c @@ -119,10 +119,6 @@ uint8_t matrix_scan(void) { return 0; } -bool matrix_is_modified(void) { - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & (1 << col)); diff --git a/keyboards/ergodox_stm32/rules.mk b/keyboards/ergodox_stm32/rules.mk index 3a035cee01..3f7197cbf6 100644 --- a/keyboards/ergodox_stm32/rules.mk +++ b/keyboards/ergodox_stm32/rules.mk @@ -1,12 +1,8 @@ # MCU name MCU = STM32F103 - MCU_LDSCRIPT = stm32f103_bootloader BOARD = ST_NUCLEO64_F103RB -CFLAGS += "-Wno-error=deprecated" -EXTRAFLAGS = -O0 -g - BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite MOUSEKEY_ENABLE = no # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control diff --git a/keyboards/ergotaco/matrix.c b/keyboards/ergotaco/matrix.c index e5af1c27fd..16300a7e4f 100644 --- a/keyboards/ergotaco/matrix.c +++ b/keyboards/ergotaco/matrix.c @@ -199,11 +199,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/gboards/gergoplex/matrix.c b/keyboards/gboards/gergoplex/matrix.c index 716390241a..a075b85725 100644 --- a/keyboards/gboards/gergoplex/matrix.c +++ b/keyboards/gboards/gergoplex/matrix.c @@ -152,11 +152,6 @@ uint8_t matrix_scan(void) { return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & ((matrix_row_t)1 << col)); } inline matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; } diff --git a/keyboards/georgi/matrix.c b/keyboards/georgi/matrix.c index 438412102b..7d635ad8d7 100644 --- a/keyboards/georgi/matrix.c +++ b/keyboards/georgi/matrix.c @@ -220,11 +220,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/gergo/matrix.c b/keyboards/gergo/matrix.c index 655e729356..443e97132b 100644 --- a/keyboards/gergo/matrix.c +++ b/keyboards/gergo/matrix.c @@ -273,11 +273,6 @@ uint8_t matrix_scan(void) { return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { return (matrix[row] & ((matrix_row_t)1 << col)); } inline matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; } diff --git a/keyboards/gmmk/pro/iso/keymaps/vitoni/config.h b/keyboards/gmmk/pro/iso/keymaps/vitoni/config.h new file mode 100644 index 0000000000..fd8f1d6859 --- /dev/null +++ b/keyboards/gmmk/pro/iso/keymaps/vitoni/config.h @@ -0,0 +1,20 @@ +// Copyright 2021 Victor Toni (@vitoni) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#if defined(RGB_MATRIX_ENABLE) + #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR + // number of milliseconds to wait until turning off RGB automatically + #define RGB_DISABLE_TIMEOUT 300000 // 300 seconds / 5 min + // start fading out before getting disabled + // fading out is timed (depending on the rgb_matrix_config.speed) to have finished before reaching RGB_DISABLE_TIMEOUT + #define RGB_DISABLE_WITH_FADE_OUT + #define RGB_DISABLE_WHEN_USB_SUSPENDED + // number of milliseconds to wait until activating RGB idle effects + #define RGB_IDLE_TIMEOUT 4500 // 4.5 seconds + // activate breathe effect when idle + #define RGB_IDLE_BREATHE + // fade in when we have been suspended + #define RGB_FADE_IN +#endif diff --git a/keyboards/gmmk/pro/iso/keymaps/vitoni/keymap.c b/keyboards/gmmk/pro/iso/keymaps/vitoni/keymap.c new file mode 100644 index 0000000000..d5b64c153a --- /dev/null +++ b/keyboards/gmmk/pro/iso/keymaps/vitoni/keymap.c @@ -0,0 +1,148 @@ +// Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>, +// Copyright 2021 Victor Toni (@vitoni) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +#include "vitoni.h" + +enum layer_names { + _BASE, + _MOV, + _RGB +}; + +// clang-format off +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +// ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Prt Rotary(Mute) +// ~ 1 2 3 4 5 6 7 8 9 0 - (=) BackSpc Del +// Tab Q W E R T Y U I O P [ ] PgUp +// Caps A S D F G H J K L ; " # Enter PgDn +// Sh_L / Z X C V B N M , . ? Sh_R Up End +// Ct_L Win_L Alt_L SPACE Alt_R FN Ct_R Left Down Right + + + // + // This keyboard defaults to 6KRO instead of NKRO for compatibility reasons (some KVMs and BIOSes are incompatible with NKRO). + // Since this is, among other things, a "gaming" keyboard, a key combination to enable NKRO on the fly is provided for convenience. + // Press CAPS+N to toggle between 6KRO and NKRO. This setting is persisted to the EEPROM and thus persists between restarts. + [_BASE] = LAYOUT( + KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_MUTE, + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, + MO(_MOV), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TG(_RGB),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [_MOV] = LAYOUT( + RESET, KC_MYCM, KC_WHOM, KC_CALC, KC_MSEL, KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, KC_PGUP, _______, + _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + ), + + [_RGB] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, RGB_MOD, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_SPI, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, RGB_SPD, + _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_HUI + ), + +}; +// clang-format on + +#if defined(ENCODER_ENABLE) +bool encoder_update_user(uint8_t index, bool clockwise) { + switch (get_highest_layer(layer_state)) { + case _MOV: + if (clockwise) { + tap_code16(C(KC_TAB)); + } else { + tap_code16(S(C(KC_TAB))); + } + break; +#if defined(RGB_MATRIX_ENABLE) + case _RGB: + if (clockwise) { + rgb_matrix_increase_val_noeeprom(); + } else { + rgb_matrix_decrease_val_noeeprom(); + } + break; +#endif // RGB_MATRIX_ENABLE + default: + if (clockwise) { + tap_code(KC_VOLU); + } else { + tap_code(KC_VOLD); + } + break; + } + return true; +} +#endif // ENCODER_ENABLE + +#if defined(RGB_MATRIX_ENABLE) +/* +* Set up default RGB color. +*/ +void rgb_matrix_set_default_color(void) { + rgb_matrix_sethsv_noeeprom_user(HSV_CHARTREUSE); +} + +/* +* Set up RGB defaults. +*/ +void rgb_matrix_configure_default_settings(void) { + rgb_matrix_set_default_color(); +} + +void keyboard_post_init_user(void) { + rgb_matrix_enable_noeeprom(); + rgb_matrix_configure_default_settings(); +} + +/* +* Use RGB underglow to indicate specific layers. +*/ +layer_state_t layer_state_set_user(layer_state_t state) { + switch (get_highest_layer(state)) { + case _MOV: + rgb_matrix_sethsv_noeeprom_user(HSV_SPRINGGREEN); + break; + case _RGB: + rgb_matrix_sethsv_noeeprom_user(HSV_GREEN); + break; + default: // for any other layer + rgb_matrix_set_default_color(); + break; + } + return state; +} + +void matrix_scan_user(void) { + matrix_scan_user_rgb(); +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + if (!process_record_user_rgb(keycode, record)) { + return false; + } + + switch (keycode) { + case RESET: // when activating RESET mode for flashing + if (record->event.pressed) { + rgb_matrix_set_color_all(63, 0, 0); + rgb_matrix_driver.flush(); + } + return true; + } + return true; // Process all other keycodes normally +} +#endif // RGB_MATRIX_ENABLE diff --git a/keyboards/gmmk/pro/iso/keymaps/vitoni/readme.adoc b/keyboards/gmmk/pro/iso/keymaps/vitoni/readme.adoc new file mode 100644 index 0000000000..38a74a568b --- /dev/null +++ b/keyboards/gmmk/pro/iso/keymaps/vitoni/readme.adoc @@ -0,0 +1,104 @@ += ViToni's keymap for GMMK Pro ISO + +== Layout +Based on the stock layout but making use of CAPS as FN similar to laptop keyboards. +This frees up the left row for other uses (although not remapped yet). +Since both Delete and Insert are used for coding they are part of the CAPS layer as well. + +The differences are as follows: + +=== Layer 0 (`_BASE`) +Mostly stock + CAPS goes to layer `_MOV`. +FN toggles the layer `_RGB`. + +=== Layer 1 (`_MOV`), accessed by pressing `CAPS` on layer `_BASE` +[%header] +|=== +| Key / Action | Mapped to +| ESC | _RESET_ +| F1 | KC_MYCM +| F2 | KC_WHOM +| F3 | KC_CALC +| F4 | KC_MSEL +| F5 | KC_MPRV +| F6 | KC_MPLY +| F7 | KC_MSTP +| F8 | KC_MNXT +| F9 | KC_MUTE +| F10 | KC_VOLD +| F11 | KC_VOLU +| N | NK_TOGG +| Delete | Insert +| Left | Home +| Right | End +| Up | PgUp +| Down | PgDn +|=== + +=== Layer 2 (`_RGB`), accessed by pressing `FN` on layer `_BASE` +Revamped the stock FN layer to focus on RGB only. + +[%header] +|=== +| Key / Action | Mapped to +| Knob clockwise | Value/Brightness up +| Knob anti-clockwise | Value/Brightness down +| Backspace | _RESET_ +| Enter | RGB_TOG +| Del | RGB_MOD +| PgUp | RGB_RMOD +| PgDn | RGB_SPI +| End | RGB_SPD +| Left | RGB_HUD +| Right | RGB_HUI +| Up | RGB_SAI +| Down | RGB_SAD +|=== + +No other changes have been made. + +== RGB light + +The code customizing RGB light usage is decribed here: + +* link:../../../../../../users/vitoni/readme.adoc[/users/vitoni/readme.adoc] + +When using `RGB_DISABLE_TIMEOUT` addtional options are available: + +* `RGB_FADE_IN` makes the RGB lights fade in instead of setting the value/brightness to 100% (implicitly due to HSV including the brightness) when resuming after RGB lights have been turned off. +Fade in occurs when the keyboard is initialized and when the RGB brightness has been changed (e.g. suspending, fade out, etc.). +* `RGB_DISABLE_WITH_FADE_OUT` activates fade out before the keyboard is disabled by `RGB_DISABLE_TIMEOUT`. + +Parameters used to define the behavior are: +[%header] +|=== +|Key | Default | Description + +| RGB_MATRIX_MAXIMUM_BRIGHTNESS +| 200 (<= UNIT8_MAX) +| Maximum assumed value for brightness. +Used to calculate lead time for fade out before suspend timeout. + +|=== + +`RGB_IDLE_TIMEOUT` enables fading out after being idle for the defined time and allows +* `RGB_IDLE_BREATHE` also activates a brethe effect while idling. + +[%header] +|=== +|Key | Default | Description + +|RGB_IDLE_TIMEOUT +|4500 +|Time in milliseconds without activity before considered to be idle. + +|RGB_IDLE_MINIMUM_BRIGHTNESS +|`RGB_MATRIX_MAXIMUM_BRIGHTNESS` / 5 +|Brightness value RGB is dimmed to when starting to idle. + +When breathing used as the lower bound of the brightness value. + +|RGB_IDLE_MAXIMUM_BRIGHTNESS +|`RGB_MATRIX_MAXIMUM_BRIGHTNESS` * 2/5 +|Upper bound of brightness value of the RGB light while breathing. + +|=== diff --git a/keyboards/handwired/dactyl/matrix.c b/keyboards/handwired/dactyl/matrix.c index a21cd08e14..a70e8c5aca 100644 --- a/keyboards/handwired/dactyl/matrix.c +++ b/keyboards/handwired/dactyl/matrix.c @@ -281,14 +281,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/handwired/frenchdev/matrix.c b/keyboards/handwired/frenchdev/matrix.c index 5ab254a6f9..a043f78538 100644 --- a/keyboards/handwired/frenchdev/matrix.c +++ b/keyboards/handwired/frenchdev/matrix.c @@ -174,12 +174,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/handwired/not_so_minidox/config.h b/keyboards/handwired/not_so_minidox/config.h index de9286eda5..177552e2a6 100644 --- a/keyboards/handwired/not_so_minidox/config.h +++ b/keyboards/handwired/not_so_minidox/config.h @@ -40,6 +40,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define USE_SERIAL +/* + * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. + */ +#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 + //#define EE_HANDS #define MASTER_LEFT diff --git a/keyboards/handwired/not_so_minidox/i2c.c b/keyboards/handwired/not_so_minidox/i2c.c deleted file mode 100644 index 084c890c40..0000000000 --- a/keyboards/handwired/not_so_minidox/i2c.c +++ /dev/null @@ -1,162 +0,0 @@ -#include <util/twi.h> -#include <avr/io.h> -#include <stdlib.h> -#include <avr/interrupt.h> -#include <util/twi.h> -#include <stdbool.h> -#include "i2c.h" - -#ifdef USE_I2C - -// Limits the amount of we wait for any one i2c transaction. -// Since were running SCL line 100kHz (=> 10μs/bit), and each transactions is -// 9 bits, a single transaction will take around 90μs to complete. -// -// (F_CPU/SCL_CLOCK) => # of μC cycles to transfer a bit -// poll loop takes at least 8 clock cycles to execute -#define I2C_LOOP_TIMEOUT (9+1)*(F_CPU/SCL_CLOCK)/8 - -#define BUFFER_POS_INC() (slave_buffer_pos = (slave_buffer_pos+1)%SLAVE_BUFFER_SIZE) - -volatile uint8_t i2c_slave_buffer[SLAVE_BUFFER_SIZE]; - -static volatile uint8_t slave_buffer_pos; -static volatile bool slave_has_register_set = false; - -// Wait for an i2c operation to finish -inline static -void i2c_delay(void) { - uint16_t lim = 0; - while(!(TWCR & (1<<TWINT)) && lim < I2C_LOOP_TIMEOUT) - lim++; - - // easier way, but will wait slightly longer - // _delay_us(100); -} - -// Setup twi to run at 100kHz -void i2c_master_init(void) { - // no prescaler - TWSR = 0; - // Set TWI clock frequency to SCL_CLOCK. Need TWBR>10. - // Check datasheets for more info. - TWBR = ((F_CPU/SCL_CLOCK)-16)/2; -} - -// Start a transaction with the given i2c slave address. The direction of the -// transfer is set with I2C_READ and I2C_WRITE. -// returns: 0 => success -// 1 => error -uint8_t i2c_master_start(uint8_t address) { - TWCR = (1<<TWINT) | (1<<TWEN) | (1<<TWSTA); - - i2c_delay(); - - // check that we started successfully - if ( (TW_STATUS != TW_START) && (TW_STATUS != TW_REP_START)) - return 1; - - TWDR = address; - TWCR = (1<<TWINT) | (1<<TWEN); - - i2c_delay(); - - if ( (TW_STATUS != TW_MT_SLA_ACK) && (TW_STATUS != TW_MR_SLA_ACK) ) - return 1; // slave did not acknowledge - else - return 0; // success -} - - -// Finish the i2c transaction. -void i2c_master_stop(void) { - TWCR = (1<<TWINT) | (1<<TWEN) | (1<<TWSTO); - - uint16_t lim = 0; - while(!(TWCR & (1<<TWSTO)) && lim < I2C_LOOP_TIMEOUT) - lim++; -} - -// Write one byte to the i2c slave. -// returns 0 => slave ACK -// 1 => slave NACK -uint8_t i2c_master_write(uint8_t data) { - TWDR = data; - TWCR = (1<<TWINT) | (1<<TWEN); - - i2c_delay(); - - // check if the slave acknowledged us - return (TW_STATUS == TW_MT_DATA_ACK) ? 0 : 1; -} - -// Read one byte from the i2c slave. If ack=1 the slave is acknowledged, -// if ack=0 the acknowledge bit is not set. -// returns: byte read from i2c device -uint8_t i2c_master_read(int ack) { - TWCR = (1<<TWINT) | (1<<TWEN) | (ack<<TWEA); - - i2c_delay(); - return TWDR; -} - -void i2c_reset_state(void) { - TWCR = 0; -} - -void i2c_slave_init(uint8_t address) { - TWAR = address << 0; // slave i2c address - // TWEN - twi enable - // TWEA - enable address acknowledgement - // TWINT - twi interrupt flag - // TWIE - enable the twi interrupt - TWCR = (1<<TWIE) | (1<<TWEA) | (1<<TWINT) | (1<<TWEN); -} - -ISR(TWI_vect); - -ISR(TWI_vect) { - uint8_t ack = 1; - switch(TW_STATUS) { - case TW_SR_SLA_ACK: - // this device has been addressed as a slave receiver - slave_has_register_set = false; - break; - - case TW_SR_DATA_ACK: - // this device has received data as a slave receiver - // The first byte that we receive in this transaction sets the location - // of the read/write location of the slaves memory that it exposes over - // i2c. After that, bytes will be written at slave_buffer_pos, incrementing - // slave_buffer_pos after each write. - if(!slave_has_register_set) { - slave_buffer_pos = TWDR; - // don't acknowledge the master if this memory loctaion is out of bounds - if ( slave_buffer_pos >= SLAVE_BUFFER_SIZE ) { - ack = 0; - slave_buffer_pos = 0; - } - slave_has_register_set = true; - } else { - i2c_slave_buffer[slave_buffer_pos] = TWDR; - BUFFER_POS_INC(); - } - break; - - case TW_ST_SLA_ACK: - case TW_ST_DATA_ACK: - // master has addressed this device as a slave transmitter and is - // requesting data. - TWDR = i2c_slave_buffer[slave_buffer_pos]; - BUFFER_POS_INC(); - break; - - case TW_BUS_ERROR: // something went wrong, reset twi state - TWCR = 0; - default: - break; - } - // Reset everything, so we are ready for the next TWI interrupt - TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN); -} -#endif diff --git a/keyboards/handwired/not_so_minidox/i2c.h b/keyboards/handwired/not_so_minidox/i2c.h deleted file mode 100644 index 8910e70f10..0000000000 --- a/keyboards/handwired/not_so_minidox/i2c.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -#include <stdint.h> - -#ifndef F_CPU -#define F_CPU 16000000UL -#endif - -#define I2C_READ 1 -#define I2C_WRITE 0 - -#define I2C_ACK 1 -#define I2C_NACK 0 - -#define SLAVE_BUFFER_SIZE 0x10 - -// i2c SCL clock frequency -#define SCL_CLOCK 400000L - -extern volatile uint8_t i2c_slave_buffer[SLAVE_BUFFER_SIZE]; - -void i2c_master_init(void); -uint8_t i2c_master_start(uint8_t address); -void i2c_master_stop(void); -uint8_t i2c_master_write(uint8_t data); -uint8_t i2c_master_read(int); -void i2c_reset_state(void); -void i2c_slave_init(uint8_t address); - - -static inline unsigned char i2c_start_read(unsigned char addr) { - return i2c_master_start((addr << 1) | I2C_READ); -} - -static inline unsigned char i2c_start_write(unsigned char addr) { - return i2c_master_start((addr << 1) | I2C_WRITE); -} - -// from SSD1306 scrips -extern unsigned char i2c_rep_start(unsigned char addr); -extern void i2c_start_wait(unsigned char addr); -extern unsigned char i2c_readAck(void); -extern unsigned char i2c_readNak(void); -extern unsigned char i2c_read(unsigned char ack); - -#define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); diff --git a/keyboards/handwired/not_so_minidox/keymaps/default/keymap.c b/keyboards/handwired/not_so_minidox/keymaps/default/keymap.c index 296a7a281d..435eed2f1f 100644 --- a/keyboards/handwired/not_so_minidox/keymaps/default/keymap.c +++ b/keyboards/handwired/not_so_minidox/keymaps/default/keymap.c @@ -8,17 +8,10 @@ #define _QWERTY 0 #define _LOWER 1 #define _RAISE 2 -#define _ADJUST 16 +#define _ADJUST 3 -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -#define KC_LOWR LOWER -#define KC_RASE RAISE +#define KC_LOWR MO(_LOWER) +#define KC_RASE MO(_RAISE) #define KC_RST RESET #define KC_CAD LCTL(LALT(KC_DEL)) @@ -72,45 +65,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case ADJUST: - if (record->event.pressed) { - layer_on(_ADJUST); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_ADJUST); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - } - return true; +layer_state_t layer_state_set_user(layer_state_t state) { + return update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); } diff --git a/keyboards/handwired/not_so_minidox/matrix.c b/keyboards/handwired/not_so_minidox/matrix.c deleted file mode 100644 index b7cec9370c..0000000000 --- a/keyboards/handwired/not_so_minidox/matrix.c +++ /dev/null @@ -1,308 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -/* - * scan matrix - */ -#include <stdint.h> -#include <stdbool.h> -#include <avr/io.h> -#include <avr/wdt.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "split_util.h" -#include "config.h" -#include "quantum.h" - -#ifdef USE_I2C -# include "i2c.h" -#else // USE_SERIAL -# include "serial.h" -#endif - -#ifndef DEBOUNCE -# define DEBOUNCE 5 -#endif - -#define ERROR_DISCONNECT_COUNT 5 - -static uint8_t debouncing = DEBOUNCE; -static const int ROWS_PER_HAND = MATRIX_ROWS/2; -static uint8_t error_count = 0; - -static const uint8_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS; -static const uint8_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS; - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; -static matrix_row_t matrix_debouncing[MATRIX_ROWS]; - -static matrix_row_t read_cols(void); -static void init_cols(void); -static void unselect_rows(void); -static void select_row(uint8_t row); - - -__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) { -} - -inline -uint8_t matrix_rows(void) -{ - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) -{ - return MATRIX_COLS; -} - -void matrix_init(void) -{ - debug_enable = true; - debug_matrix = true; - debug_mouse = true; - // initialize row and col - unselect_rows(); - init_cols(); - - setPinOutput(B0); - setPinOutput(D5); - - // initialize matrix state: all keys off - for (uint8_t i=0; i < MATRIX_ROWS; i++) { - matrix[i] = 0; - matrix_debouncing[i] = 0; - } - - matrix_init_quantum(); -} - -uint8_t _matrix_scan(void) -{ - // Right hand is stored after the left in the matirx so, we need to offset it - int offset = isLeftHand ? 0 : (ROWS_PER_HAND); - - for (uint8_t i = 0; i < ROWS_PER_HAND; i++) { - select_row(i); - _delay_us(30); // without this wait read unstable value. - matrix_row_t cols = read_cols(); - if (matrix_debouncing[i+offset] != cols) { - matrix_debouncing[i+offset] = cols; - debouncing = DEBOUNCE; - } - unselect_rows(); - } - - if (debouncing) { - if (--debouncing) { - _delay_ms(1); - } else { - for (uint8_t i = 0; i < ROWS_PER_HAND; i++) { - matrix[i+offset] = matrix_debouncing[i+offset]; - } - } - } - - return 1; -} - -#ifdef USE_I2C - -// Get rows from other half over i2c -int i2c_transaction(void) { - int slaveOffset = (isLeftHand) ? (ROWS_PER_HAND) : 0; - - int err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_WRITE); - if (err) goto i2c_error; - - // start of matrix stored at 0x00 - err = i2c_master_write(0x00); - if (err) goto i2c_error; - - // Start read - err = i2c_master_start(SLAVE_I2C_ADDRESS + I2C_READ); - if (err) goto i2c_error; - - if (!err) { - int i; - for (i = 0; i < ROWS_PER_HAND-1; ++i) { - matrix[slaveOffset+i] = i2c_master_read(I2C_ACK); - } - matrix[slaveOffset+i] = i2c_master_read(I2C_NACK); - i2c_master_stop(); - } else { -i2c_error: // the cable is disconnceted, or something else went wrong - i2c_reset_state(); - return err; - } - - return 0; -} - -#else // USE_SERIAL - -int serial_transaction(void) { - int slaveOffset = (isLeftHand) ? (ROWS_PER_HAND) : 0; - - if (serial_update_buffers()) { - return 1; - } - - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[slaveOffset+i] = serial_slave_buffer[i]; - } - return 0; -} -#endif - -uint8_t matrix_scan(void) -{ - int ret = _matrix_scan(); - - - -#ifdef USE_I2C - if( i2c_transaction() ) { -#else // USE_SERIAL - if( serial_transaction() ) { -#endif - // turn on the indicator led when halves are disconnected - writePinLow(D5); - - error_count++; - - if (error_count > ERROR_DISCONNECT_COUNT) { - // reset other half if disconnected - int slaveOffset = (isLeftHand) ? (ROWS_PER_HAND) : 0; - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[slaveOffset+i] = 0; - } - } - } else { - // turn off the indicator led on no error - writePinHigh(D5); - error_count = 0; - } - matrix_scan_quantum(); - return ret; -} - -void matrix_slave_scan(void) { - _matrix_scan(); - - int offset = (isLeftHand) ? 0 : (MATRIX_ROWS / 2); - -#ifdef USE_I2C - for (int i = 0; i < ROWS_PER_HAND; ++i) { - /* i2c_slave_buffer[i] = matrix[offset+i]; */ - i2c_slave_buffer[i] = matrix[offset+i]; - } -#else // USE_SERIAL - for (int i = 0; i < ROWS_PER_HAND; ++i) { - serial_slave_buffer[i] = matrix[offset+i]; - } -#endif -} - -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print("\nr/c 0123456789ABCDEF\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_bin_reverse16(matrix_get_row(row)); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += bitpop16(matrix[i]); - } - return count; -} - -static void init_cols(void) -{ - for(int x = 0; x < MATRIX_COLS; x++) { - _SFR_IO8((col_pins[x] >> 4) + 1) &= ~_BV(col_pins[x] & 0xF); - _SFR_IO8((col_pins[x] >> 4) + 2) |= _BV(col_pins[x] & 0xF); - } -} - -static matrix_row_t read_cols(void) -{ - matrix_row_t result = 0; - for(int x = 0; x < MATRIX_COLS; x++) { - result |= (_SFR_IO8(col_pins[x] >> 4) & _BV(col_pins[x] & 0xF)) ? 0 : (1 << x); - } - return result; -} - -static void unselect_rows(void) -{ - for(int x = 0; x < ROWS_PER_HAND; x++) { - _SFR_IO8((row_pins[x] >> 4) + 1) &= ~_BV(row_pins[x] & 0xF); - _SFR_IO8((row_pins[x] >> 4) + 2) |= _BV(row_pins[x] & 0xF); - } -} - -static void select_row(uint8_t row) -{ - _SFR_IO8((row_pins[row] >> 4) + 1) |= _BV(row_pins[row] & 0xF); - _SFR_IO8((row_pins[row] >> 4) + 2) &= ~_BV(row_pins[row] & 0xF); -} diff --git a/keyboards/handwired/not_so_minidox/rules.mk b/keyboards/handwired/not_so_minidox/rules.mk index 3eab0fba7e..8f9772df22 100644 --- a/keyboards/handwired/not_so_minidox/rules.mk +++ b/keyboards/handwired/not_so_minidox/rules.mk @@ -7,19 +7,14 @@ BOOTLOADER = caterina # Build Options # change yes to no to disable # -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control +EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration +COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -USE_I2C = no -CUSTOM_MATRIX = yes -SRC += matrix.c \ - i2c.c \ - split_util.c \ - serial.c +SPLIT_KEYBOARD = yes diff --git a/keyboards/handwired/not_so_minidox/serial.c b/keyboards/handwired/not_so_minidox/serial.c deleted file mode 100644 index 74bcbb6bf6..0000000000 --- a/keyboards/handwired/not_so_minidox/serial.c +++ /dev/null @@ -1,228 +0,0 @@ -/* - * WARNING: be careful changing this code, it is very timing dependent - */ - -#ifndef F_CPU -#define F_CPU 16000000 -#endif - -#include <avr/io.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include <stdbool.h> -#include "serial.h" - -#ifndef USE_I2C - -// Serial pulse period in microseconds. Its probably a bad idea to lower this -// value. -#define SERIAL_DELAY 24 - -uint8_t volatile serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH] = {0}; -uint8_t volatile serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH] = {0}; - -#define SLAVE_DATA_CORRUPT (1<<0) -volatile uint8_t status = 0; - -inline static -void serial_delay(void) { - _delay_us(SERIAL_DELAY); -} - -inline static -void serial_output(void) { - SERIAL_PIN_DDR |= SERIAL_PIN_MASK; -} - -// make the serial pin an input with pull-up resistor -inline static -void serial_input(void) { - SERIAL_PIN_DDR &= ~SERIAL_PIN_MASK; - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -inline static -uint8_t serial_read_pin(void) { - return !!(SERIAL_PIN_INPUT & SERIAL_PIN_MASK); -} - -inline static -void serial_low(void) { - SERIAL_PIN_PORT &= ~SERIAL_PIN_MASK; -} - -inline static -void serial_high(void) { - SERIAL_PIN_PORT |= SERIAL_PIN_MASK; -} - -void serial_master_init(void) { - serial_output(); - serial_high(); -} - -void serial_slave_init(void) { - serial_input(); - - // Enable INT0 - EIMSK |= _BV(INT0); - // Trigger on falling edge of INT0 - EICRA &= ~(_BV(ISC00) | _BV(ISC01)); -} - -// Used by the master to synchronize timing with the slave. -static -void sync_recv(void) { - serial_input(); - // This shouldn't hang if the slave disconnects because the - // serial line will float to high if the slave does disconnect. - while (!serial_read_pin()); - serial_delay(); -} - -// Used by the slave to send a synchronization signal to the master. -static -void sync_send(void) { - serial_output(); - - serial_low(); - serial_delay(); - - serial_high(); -} - -// Reads a byte from the serial line -static -uint8_t serial_read_byte(void) { - uint8_t byte = 0; - serial_input(); - for ( uint8_t i = 0; i < 8; ++i) { - byte = (byte << 1) | serial_read_pin(); - serial_delay(); - _delay_us(1); - } - - return byte; -} - -// Sends a byte with MSB ordering -static -void serial_write_byte(uint8_t data) { - uint8_t b = 8; - serial_output(); - while( b-- ) { - if(data & (1 << b)) { - serial_high(); - } else { - serial_low(); - } - serial_delay(); - } -} - -// interrupt handle to be used by the slave device -ISR(SERIAL_PIN_INTERRUPT) { - sync_send(); - - uint8_t checksum = 0; - for (int i = 0; i < SERIAL_SLAVE_BUFFER_LENGTH; ++i) { - serial_write_byte(serial_slave_buffer[i]); - sync_send(); - checksum += serial_slave_buffer[i]; - } - serial_write_byte(checksum); - sync_send(); - - // wait for the sync to finish sending - serial_delay(); - - // read the middle of pulses - _delay_us(SERIAL_DELAY/2); - - uint8_t checksum_computed = 0; - for (int i = 0; i < SERIAL_MASTER_BUFFER_LENGTH; ++i) { - serial_master_buffer[i] = serial_read_byte(); - sync_send(); - checksum_computed += serial_master_buffer[i]; - } - uint8_t checksum_received = serial_read_byte(); - sync_send(); - - serial_input(); // end transaction - - if ( checksum_computed != checksum_received ) { - status |= SLAVE_DATA_CORRUPT; - } else { - status &= ~SLAVE_DATA_CORRUPT; - } -} - -inline -bool serial_slave_DATA_CORRUPT(void) { - return status & SLAVE_DATA_CORRUPT; -} - -// Copies the serial_slave_buffer to the master and sends the -// serial_master_buffer to the slave. -// -// Returns: -// 0 => no error -// 1 => slave did not respond -int serial_update_buffers(void) { - // this code is very time dependent, so we need to disable interrupts - cli(); - - // signal to the slave that we want to start a transaction - serial_output(); - serial_low(); - _delay_us(1); - - // wait for the slaves response - serial_input(); - serial_high(); - _delay_us(SERIAL_DELAY); - - // check if the slave is present - if (serial_read_pin()) { - // slave failed to pull the line low, assume not present - sei(); - return 1; - } - - // if the slave is present syncronize with it - sync_recv(); - - uint8_t checksum_computed = 0; - // receive data from the slave - for (int i = 0; i < SERIAL_SLAVE_BUFFER_LENGTH; ++i) { - serial_slave_buffer[i] = serial_read_byte(); - sync_recv(); - checksum_computed += serial_slave_buffer[i]; - } - uint8_t checksum_received = serial_read_byte(); - sync_recv(); - - if (checksum_computed != checksum_received) { - sei(); - return 1; - } - - uint8_t checksum = 0; - // send data to the slave - for (int i = 0; i < SERIAL_MASTER_BUFFER_LENGTH; ++i) { - serial_write_byte(serial_master_buffer[i]); - sync_recv(); - checksum += serial_master_buffer[i]; - } - serial_write_byte(checksum); - sync_recv(); - - // always, release the line when not in use - serial_output(); - serial_high(); - - sei(); - return 0; -} - -#endif diff --git a/keyboards/handwired/not_so_minidox/serial.h b/keyboards/handwired/not_so_minidox/serial.h deleted file mode 100644 index 28fcc56ce7..0000000000 --- a/keyboards/handwired/not_so_minidox/serial.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "config.h" -#include <stdbool.h> - -/* TODO: some defines for interrupt setup */ -#define SERIAL_PIN_DDR DDRD -#define SERIAL_PIN_PORT PORTD -#define SERIAL_PIN_INPUT PIND -#define SERIAL_PIN_MASK _BV(PD0) -#define SERIAL_PIN_INTERRUPT INT0_vect - -#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2 -#define SERIAL_MASTER_BUFFER_LENGTH 1 - -// Buffers for master - slave communication -extern volatile uint8_t serial_slave_buffer[SERIAL_SLAVE_BUFFER_LENGTH]; -extern volatile uint8_t serial_master_buffer[SERIAL_MASTER_BUFFER_LENGTH]; - -void serial_master_init(void); -void serial_slave_init(void); -int serial_update_buffers(void); -bool serial_slave_data_corrupt(void); diff --git a/keyboards/handwired/not_so_minidox/split_util.c b/keyboards/handwired/not_so_minidox/split_util.c deleted file mode 100644 index 39639c3b4b..0000000000 --- a/keyboards/handwired/not_so_minidox/split_util.c +++ /dev/null @@ -1,84 +0,0 @@ -#include <avr/io.h> -#include <avr/wdt.h> -#include <avr/power.h> -#include <avr/interrupt.h> -#include <util/delay.h> -#include <avr/eeprom.h> -#include "split_util.h" -#include "matrix.h" -#include "keyboard.h" -#include "config.h" - -#ifdef USE_I2C -# include "i2c.h" -#else -# include "serial.h" -#endif - -volatile bool isLeftHand = true; - -static void setup_handedness(void) { - #ifdef EE_HANDS - isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS); - #else - // I2C_MASTER_RIGHT is deprecated, use MASTER_RIGHT instead, since this works for both serial and i2c - #if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT) - isLeftHand = !has_usb(); - #else - isLeftHand = has_usb(); - #endif - #endif -} - -static void keyboard_master_setup(void) { -#ifdef USE_I2C - i2c_master_init(); -#ifdef SSD1306OLED - matrix_master_OLED_init (); -#endif -#else - serial_master_init(); -#endif -} - -static void keyboard_slave_setup(void) { -#ifdef USE_I2C - i2c_slave_init(SLAVE_I2C_ADDRESS); -#else - serial_slave_init(); -#endif -} - -bool has_usb(void) { - USBCON |= (1 << OTGPADE); //enables VBUS pad - _delay_us(5); - return (USBSTA & (1<<VBUS)); //checks state of VBUS -} - -void split_keyboard_setup(void) { - setup_handedness(); - - if (has_usb()) { - keyboard_master_setup(); - } else { - keyboard_slave_setup(); - } - sei(); -} - -void keyboard_slave_loop(void) { - matrix_init(); - - while (1) { - matrix_slave_scan(); - } -} - -// this code runs before the usb and keyboard is initialized -void matrix_setup(void) { - split_keyboard_setup(); - - if (!has_usb()) { - keyboard_slave_loop(); - } -} diff --git a/keyboards/handwired/not_so_minidox/split_util.h b/keyboards/handwired/not_so_minidox/split_util.h deleted file mode 100644 index 807412cd38..0000000000 --- a/keyboards/handwired/not_so_minidox/split_util.h +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -#include <stdbool.h> -#include "eeconfig.h" - -#define SLAVE_I2C_ADDRESS 0x32 - -extern volatile bool isLeftHand; - -// slave version of matix scan, defined in matrix.c -void matrix_slave_scan(void); - -void split_keyboard_setup(void); -bool has_usb(void); -void keyboard_slave_loop(void); - -void matrix_master_OLED_init (void); diff --git a/keyboards/handwired/onekey/teensy_32/rules.mk b/keyboards/handwired/onekey/teensy_32/rules.mk index c1b90d0d2b..937c9d5103 100644 --- a/keyboards/handwired/onekey/teensy_32/rules.mk +++ b/keyboards/handwired/onekey/teensy_32/rules.mk @@ -1,5 +1,8 @@ # MCU name MCU = MK20DX256 +# Bootloader selection +BOOTLOADER = halfkay + # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/handwired/onekey/teensy_lc/rules.mk b/keyboards/handwired/onekey/teensy_lc/rules.mk index b3daabe317..0e3c7edf7a 100644 --- a/keyboards/handwired/onekey/teensy_lc/rules.mk +++ b/keyboards/handwired/onekey/teensy_lc/rules.mk @@ -2,5 +2,8 @@ MCU = MKL26Z64 USE_CHIBIOS_CONTRIB = yes +# Bootloader selection +BOOTLOADER = halfkay + # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/handwired/promethium/matrix.c b/keyboards/handwired/promethium/matrix.c index e3a41af288..90dbce14a9 100644 --- a/keyboards/handwired/promethium/matrix.c +++ b/keyboards/handwired/promethium/matrix.c @@ -148,14 +148,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) diff --git a/keyboards/handwired/pterodactyl/matrix.c b/keyboards/handwired/pterodactyl/matrix.c index 21e6a128df..d0f74802a0 100644 --- a/keyboards/handwired/pterodactyl/matrix.c +++ b/keyboards/handwired/pterodactyl/matrix.c @@ -282,14 +282,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) // deprecated and evidently not called. -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/handwired/tractyl_manuform/4x6_right/rules.mk b/keyboards/handwired/tractyl_manuform/4x6_right/rules.mk index e83e9a7bba..c497bb2ee8 100644 --- a/keyboards/handwired/tractyl_manuform/4x6_right/rules.mk +++ b/keyboards/handwired/tractyl_manuform/4x6_right/rules.mk @@ -21,9 +21,7 @@ RGB_MATRIX_DRIVER = WS2812 POINTING_DEVICE_ENABLE = yes -MOUSE_SHARED_EP = no +POINTING_DEVICE_DRIVER = pmw3360 +MOUSE_SHARED_EP = yes SPLIT_KEYBOARD = yes - -SRC += drivers/sensors/pmw3360.c -QUANTUM_LIB_SRC += spi_master.c tm_sync.c diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/config.h index d7618912f7..b9d8e86c09 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/config.h +++ b/keyboards/handwired/tractyl_manuform/5x6_right/config.h @@ -52,5 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define OLED_DISPLAY_128X64 -#define POINTING_DEVICE_TASK_THROTTLE #define POINTING_DEVICE_RIGHT diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c index 958f694172..65f8a5260d 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c +++ b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c @@ -301,7 +301,7 @@ void oled_driver_render_logo_left(void) { # endif oled_set_cursor(6, 3); # if defined(KEYBOARD_handwired_tractyl_manuform_5x6_right) - render_pointing_dpi_status(0); + render_pointing_dpi_status(kb_config_data.device_cpi, 0); # endif oled_set_cursor(0, 4); } diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/rules.mk b/keyboards/handwired/tractyl_manuform/5x6_right/rules.mk index 37bbbb4dae..a689be3dd5 100644 --- a/keyboards/handwired/tractyl_manuform/5x6_right/rules.mk +++ b/keyboards/handwired/tractyl_manuform/5x6_right/rules.mk @@ -18,6 +18,4 @@ MOUSE_SHARED_EP = yes SPLIT_KEYBOARD = yes -QUANTUM_LIB_SRC += tm_sync.c - DEFAULT_FOLDER = handwired/tractyl_manuform/5x6_right/teensy2pp diff --git a/keyboards/handwired/tractyl_manuform/config.h b/keyboards/handwired/tractyl_manuform/config.h index cc8a7546f4..15c8102b8f 100644 --- a/keyboards/handwired/tractyl_manuform/config.h +++ b/keyboards/handwired/tractyl_manuform/config.h @@ -39,4 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -#define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC, RPC_ID_POINTER_STATE_SYNC +#define SPLIT_POINTING_ENABLE +#define POINTING_DEVICE_TASK_THROTTLE_MS 1 + +#define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC diff --git a/keyboards/handwired/tractyl_manuform/tm_sync.c b/keyboards/handwired/tractyl_manuform/tm_sync.c deleted file mode 100644 index 549a17a22f..0000000000 --- a/keyboards/handwired/tractyl_manuform/tm_sync.c +++ /dev/null @@ -1,180 +0,0 @@ -/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * Copyright 2021 Dasky (@daskygit) - - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include QMK_KEYBOARD_H -#include "pointing_device.h" -#include "transactions.h" -#include <string.h> -#ifdef MOUSEKEY_ENABLE -# include "mousekey.h" -#endif - -// typedef struct { -// uint16_t device_cpi; -// } kb_config_data_t; - -kb_config_data_t kb_config; -static report_mouse_t shared_mouse_report; -extern const pointing_device_driver_t pointing_device_driver; - -void kb_pointer_sync_handler(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer) { - shared_mouse_report = pointing_device_driver.get_report(shared_mouse_report); - memcpy(target2initiator_buffer, &shared_mouse_report, sizeof(report_mouse_t)); - shared_mouse_report.x = 0; - shared_mouse_report.y = 0; - shared_mouse_report.h = 0; - shared_mouse_report.v = 0; -} - -void kb_config_sync_handler(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer) { - if (initiator2target_buffer_size == sizeof(kb_config)) { - memcpy(&kb_config, initiator2target_buffer, sizeof(kb_config)); - } - - static uint16_t cpi = 0; - // Check if the state values are different - if (cpi != kb_config.device_cpi) { - cpi = kb_config.device_cpi; - if (!is_keyboard_left()) { - pointing_device_set_cpi(cpi); - } - } -} - -void keyboard_pre_init_sync(void) { - memset(&kb_config, 0, sizeof(kb_config)); - memset(&shared_mouse_report, 0, sizeof(shared_mouse_report)); -} - -void keyboard_post_init_sync(void) { - // Register keyboard state sync split transaction - transaction_register_rpc(RPC_ID_KB_CONFIG_SYNC, kb_config_sync_handler); - transaction_register_rpc(RPC_ID_POINTER_STATE_SYNC, kb_pointer_sync_handler); -} - -void housekeeping_task_sync(void) { - if (is_keyboard_master()) { - // Keep track of the last state, so that we can tell if we need to propagate to slave - static kb_config_data_t last_kb_config; - static uint32_t last_sync = 0; - bool needs_sync = false; - - // Check if the state values are different - if (memcmp(&kb_config, &last_kb_config, sizeof(kb_config))) { - needs_sync = true; - memcpy(&last_kb_config, &kb_config, sizeof(kb_config)); - } - // Send to slave every 500ms regardless of state change - if (timer_elapsed32(last_sync) > 500) { - needs_sync = true; - } - - // Perform the sync if requested - if (needs_sync) { - if (transaction_rpc_send(RPC_ID_KB_CONFIG_SYNC, sizeof(kb_config), &kb_config)) { - last_sync = timer_read32(); - } - } - } -} - -void trackball_set_cpi(uint16_t cpi) { - kb_config.device_cpi = cpi; - if (!is_keyboard_left()) { - pointing_device_set_cpi(cpi); - } -} - -void pointing_device_task(void) { - if (!is_keyboard_master()) { - return; - } - -#if defined(POINTING_DEVICE_TASK_THROTTLE) - static uint32_t last_exec = 0; - if (timer_elapsed32(last_exec) < 1) { - return; - } - last_exec = timer_read32(); -#endif - - report_mouse_t local_report = pointing_device_get_report(); - - // Gather report info -#ifdef POINTING_DEVICE_MOTION_PIN - if (!readPin(POINTING_DEVICE_MOTION_PIN)) -#endif -#if defined(POINTING_DEVICE_COMBINED) - local_report = pointing_device_driver.get_report(local_report); - transaction_rpc_recv(RPC_ID_POINTER_STATE_SYNC, sizeof(report_mouse_t), &shared_mouse_report); - local_report.x = local_report.x | shared_mouse_report.x; - local_report.y = local_report.y | shared_mouse_report.y; - local_report.h = local_report.h | shared_mouse_report.h; - local_report.v = local_report.v | shared_mouse_report.v; -#elif defined(POINTING_DEVICE_LEFT) - if (is_keyboard_left()) { - local_report = pointing_device_driver.get_report(local_report); - } else { - transaction_rpc_recv(RPC_ID_POINTER_STATE_SYNC, sizeof(report_mouse_t), &local_report); - } -#elif defined(POINTING_DEVICE_RIGHT) - if (!is_keyboard_left()) { - local_report = pointing_device_driver.get_report(local_report); - } else { - transaction_rpc_recv(RPC_ID_POINTER_STATE_SYNC, sizeof(report_mouse_t), &local_report); - } -#else -# error "You need to define the side(s) the pointing device is on. POINTING_DEVICE_COMBINED / POINTING_DEVICE_LEFT / POINTING_DEVICE_RIGHT" -#endif - - // Support rotation of the sensor data -#if defined(POINTING_DEVICE_ROTATION_90) || defined(POINTING_DEVICE_ROTATION_180) || defined(POINTING_DEVICE_ROTATION_270) - int8_t x = local_report.x, y = local_report.y; -# if defined(POINTING_DEVICE_ROTATION_90) - local_report.x = y; - local_report.y = -x; -# elif defined(POINTING_DEVICE_ROTATION_180) - local_report.x = -x; - local_report.y = -y; -# elif defined(POINTING_DEVICE_ROTATION_270) - local_report.x = -y; - local_report.y = x; -# else -# error "How the heck did you get here?!" -# endif -#endif - // Support Inverting the X and Y Axises -#if defined(POINTING_DEVICE_INVERT_X) - local_report.x = -local_report.x; -#endif -#if defined(POINTING_DEVICE_INVERT_Y) - local_report.y = -local_report.y; -#endif - - // allow kb to intercept and modify report - local_report = pointing_device_task_kb(local_report); - // combine with mouse report to ensure that the combined is sent correctly -#ifdef MOUSEKEY_ENABLE - report_mouse_t mousekey_report = mousekey_get_report(); - local_report.buttons = local_report.buttons | mousekey_report.buttons; -#endif -#if defined(POINTING_DEVICE_COMBINED) - local_report.buttons = local_report.buttons | shared_mouse_report.buttons; -#endif - pointing_device_set_report(local_report); - pointing_device_send(); -} diff --git a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c index 6095bfb7e2..5bdc57ca09 100644 --- a/keyboards/handwired/tractyl_manuform/tractyl_manuform.c +++ b/keyboards/handwired/tractyl_manuform/tractyl_manuform.c @@ -17,7 +17,6 @@ #include "tractyl_manuform.h" #include "transactions.h" #include <string.h> -#include "drivers/sensors/pmw3360.h" #ifndef TRACKBALL_DPI_OPTIONS # define TRACKBALL_DPI_OPTIONS \ @@ -31,11 +30,10 @@ #endif keyboard_config_t keyboard_config; +kb_config_data_t kb_config_data; uint16_t dpi_array[] = TRACKBALL_DPI_OPTIONS; #define DPI_OPTION_SIZE (sizeof(dpi_array) / sizeof(uint16_t)) - - bool process_record_kb(uint16_t keycode, keyrecord_t* record) { if (!process_record_user(keycode, record)) { return false; @@ -49,7 +47,8 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { keyboard_config.dpi_config = (keyboard_config.dpi_config + 1) % DPI_OPTION_SIZE; } eeconfig_update_kb(keyboard_config.raw); - trackball_set_cpi(dpi_array[keyboard_config.dpi_config]); + kb_config_data.device_cpi = dpi_array[keyboard_config.dpi_config]; + pointing_device_set_cpi(kb_config_data.device_cpi); } #endif @@ -69,7 +68,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record) { return true; } -__attribute__((weak)) void keyboard_pre_init_sync(void) {} __attribute__((weak)) void keyboard_pre_init_sub(void) {} void keyboard_pre_init_kb(void) { // debug_enable = true; @@ -83,20 +81,22 @@ void keyboard_pre_init_kb(void) { writePin(DEBUG_LED_PIN, !debug_enable); #endif + memset(&kb_config_data, 0, sizeof(kb_config_data)); + keyboard_pre_init_sub(); - keyboard_pre_init_sync(); keyboard_pre_init_user(); } -__attribute__((weak)) void keyboard_post_init_sync(void) {} -void keyboard_post_init_kb(void) { - keyboard_post_init_sync(); +void keyboard_post_init_kb(void) { + transaction_register_rpc(RPC_ID_KB_CONFIG_SYNC, kb_config_sync_handler); + keyboard_post_init_user(); } #ifdef POINTING_DEVICE_ENABLE void pointing_device_init_kb(void) { - trackball_set_cpi(dpi_array[keyboard_config.dpi_config]); + kb_config_data.device_cpi = dpi_array[keyboard_config.dpi_config]; + pointing_device_set_cpi(kb_config_data.device_cpi); pointing_device_init_user(); } @@ -111,7 +111,8 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) { void eeconfig_init_kb(void) { keyboard_config.dpi_config = TRACKBALL_DPI_DEFAULT; #ifdef POINTING_DEVICE_ENABLE - trackball_set_cpi(dpi_array[keyboard_config.dpi_config]); + kb_config_data.device_cpi = dpi_array[keyboard_config.dpi_config]; + pointing_device_set_cpi(kb_config_data.device_cpi); #endif eeconfig_update_kb(keyboard_config.raw); eeconfig_init_user(); @@ -135,12 +136,39 @@ void matrix_scan_kb(void) { matrix_scan_user(); } -__attribute__((weak)) void housekeeping_task_sync(void) {} -void housekeeping_task_kb(void) { - housekeeping_task_sync(); +void housekeeping_task_kb(void) { + if (is_keyboard_master()) { + // Keep track of the last state, so that we can tell if we need to propagate to slave + static kb_config_data_t last_kb_config; + static uint32_t last_sync = 0; + bool needs_sync = false; + + // Check if the state values are different + if (memcmp(&kb_config_data, &last_kb_config, sizeof(kb_config_data))) { + needs_sync = true; + memcpy(&last_kb_config, &kb_config_data, sizeof(kb_config_data)); + } + // Send to slave every 500ms regardless of state change + if (timer_elapsed32(last_sync) > 500) { + needs_sync = true; + } + + // Perform the sync if requested + if (needs_sync) { + if (transaction_rpc_send(RPC_ID_KB_CONFIG_SYNC, sizeof(kb_config_data), &kb_config_data)) { + last_sync = timer_read32(); + } + } + } // no need for user function, is called already } +void kb_config_sync_handler(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer) { + if (initiator2target_buffer_size == sizeof(kb_config_data)) { + memcpy(&kb_config_data, initiator2target_buffer, sizeof(kb_config_data)); + } +} + #ifdef POINTING_DEVICE_ENABLE void matrix_power_up(void) { pointing_device_task(); } #endif diff --git a/keyboards/handwired/tractyl_manuform/tractyl_manuform.h b/keyboards/handwired/tractyl_manuform/tractyl_manuform.h index 6aa40fc18b..3f8aca4551 100644 --- a/keyboards/handwired/tractyl_manuform/tractyl_manuform.h +++ b/keyboards/handwired/tractyl_manuform/tractyl_manuform.h @@ -32,21 +32,26 @@ typedef union { }; } keyboard_config_t; +typedef union { + uint32_t raw; + struct { + uint16_t device_cpi; + }; +} kb_config_data_t; + extern keyboard_config_t keyboard_config; +extern kb_config_data_t kb_config_data; enum ploopy_keycodes { DPI_CONFIG = SAFE_RANGE, KEYMAP_SAFE_RANGE, }; -typedef struct { - uint16_t device_cpi; -} kb_config_data_t; - -void trackball_set_cpi(uint16_t cpi); void matrix_init_sub_kb(void); void matrix_scan_sub_kb(void); void keyboard_pre_init_sync(void); void keyboard_post_init_sync(void); void housekeeping_task_sync(void); + +void kb_config_sync_handler(uint8_t initiator2target_buffer_size, const void* initiator2target_buffer, uint8_t target2initiator_buffer_size, void* target2initiator_buffer); diff --git a/keyboards/handwired/wakizashi40/config.h b/keyboards/handwired/wakizashi40/config.h new file mode 100644 index 0000000000..78f85f2197 --- /dev/null +++ b/keyboards/handwired/wakizashi40/config.h @@ -0,0 +1,20 @@ +/* Copyright 2021 xiao (@xia0) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "config_common.h" +#define DYNAMIC_KEYMAP_LAYER_COUNT 12 diff --git a/keyboards/handwired/wakizashi40/info.json b/keyboards/handwired/wakizashi40/info.json new file mode 100644 index 0000000000..b64ab55116 --- /dev/null +++ b/keyboards/handwired/wakizashi40/info.json @@ -0,0 +1,88 @@ +{ + "manufacturer": "fumbucker", + "keyboard_name": "Wakizashi 40", + "maintainer": "fumbucker", + "debounce": 5, + "processor": "at90usb1286", + "diode_direction": "COL2ROW", + "features": { + "audio": false, + "backlight": false, + "bluetooth": false, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "midi": false, + "mousekey": true, + "nkro": true, + "rgblight": false, + "unicode": false + }, + "matrix_pins": { + "cols": ["C5", "C4", "D2", "D3", "D4", "D5", "C6", "D7", "B0", "B1", "B2", "B3", "B4"], + "rows": ["C0", "C1", "C2", "C3"] + }, + "usb": { + "device_ver": "0x0001", + "pid": "0x7740", + "vid": "0x6662" + }, + "layout_aliases": { + "LAYOUT": "LAYOUT_all" + }, + "layouts": { + "LAYOUT_all": { + "layout": [ + { "label": "TAB", "matrix": [0, 0], "w": 1.5, "x": 0, "y": 0 }, + { "label": "Q", "matrix": [0, 2], "w": 1, "x": 1.5, "y": 0 }, + { "label": "W", "matrix": [0, 3], "w": 1, "x": 2.5, "y": 0 }, + { "label": "E", "matrix": [0, 4], "w": 1, "x": 3.5, "y": 0 }, + { "label": "R", "matrix": [0, 5], "w": 1, "x": 4.5, "y": 0 }, + { "label": "T", "matrix": [0, 6], "w": 1, "x": 5.5, "y": 0 }, + { "label": "Y", "matrix": [0, 7], "w": 1, "x": 6.5, "y": 0 }, + { "label": "U", "matrix": [0, 8], "w": 1, "x": 7.5, "y": 0 }, + { "label": "I", "matrix": [0, 9], "w": 1, "x": 8.5, "y": 0 }, + { "label": "O", "matrix": [0, 10], "w": 1, "x": 9.5, "y": 0 }, + { "label": "P", "matrix": [0, 11], "w": 1, "x": 10.5, "y": 0 }, + { "label": "BACKSPACE", "matrix": [0, 12], "w": 1.5, "x": 11.5, "y": 0 }, + + { "label": "CAPSLOCK", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1 }, + { "label": "A", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1 }, + { "label": "S", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1 }, + { "label": "D", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1 }, + { "label": "F", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1 }, + { "label": "G", "matrix": [1, 5], "w": 1, "x": 5.75, "y": 1 }, + { "label": "H", "matrix": [1, 7], "w": 1, "x": 6.75, "y": 1 }, + { "label": "J", "matrix": [1, 8], "w": 1, "x": 7.75, "y": 1 }, + { "label": "K", "matrix": [1, 9], "w": 1, "x": 8.75, "y": 1 }, + { "label": "L", "matrix": [1, 10], "w": 1, "x": 9.75, "y": 1 }, + { "label": "SEMICOLON", "matrix": [1, 11], "w": 1, "x": 10.75, "y": 1 }, + { "label": "ENTER", "matrix": [1, 12], "w": 1.25, "x": 11.75, "y": 1 }, + + { "label": "LSHIFT", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, + { "label": "Z", "matrix": [2, 1], "w": 1, "x": 1, "y": 2 }, + { "label": "X", "matrix": [2, 2], "w": 1, "x": 2, "y": 2 }, + { "label": "C", "matrix": [2, 3], "w": 1, "x": 3, "y": 2 }, + { "label": "V", "matrix": [2, 4], "w": 1, "x": 4, "y": 2 }, + { "label": "B", "matrix": [2, 5], "w": 1, "x": 5, "y": 2 }, + { "label": "ESCAPE", "matrix": [2, 6], "w": 1, "x": 6, "y": 2 }, + { "label": "N", "matrix": [2, 7], "w": 1, "x": 7, "y": 2 }, + { "label": "M", "matrix": [2, 8], "w": 1, "x": 8, "y": 2 }, + { "label": "COMMA", "matrix": [2, 9], "w": 1, "x": 9, "y": 2 }, + { "label": "PERIOD", "matrix": [2, 10], "w": 1, "x": 10, "y": 2 }, + { "label": "SLASH", "matrix": [2, 11], "w": 1, "x": 11, "y": 2 }, + { "label": "RSHIFT", "matrix": [2, 12], "w": 1, "x": 12, "y": 2 }, + + { "label": "LCTRL", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 3 }, + { "label": "LWIN", "matrix": [3, 1], "w": 1.25, "x": 1.25, "y": 3 }, + { "label": "LALT", "matrix": [3, 3], "w": 1.25, "x": 2.5, "y": 3 }, + { "label": "SPACE1", "matrix": [3, 5], "w": 2.75, "x": 3.75, "y": 3 }, + { "label": "SPACE2", "matrix": [3, 7], "w": 2.75, "x": 6.5, "y": 3 }, + { "label": "RALT", "matrix": [3, 9], "w": 1.25, "x": 9.25, "y": 3 }, + { "label": "MENU", "matrix": [3, 11], "w": 1.25, "x": 10.5, "y": 3 }, + { "label": "RCTRL", "matrix": [3, 12], "w": 1.25, "x": 11.75, "y": 3 } + ] + } + } +} diff --git a/keyboards/handwired/wakizashi40/keymaps/default/keymap.c b/keyboards/handwired/wakizashi40/keymaps/default/keymap.c new file mode 100644 index 0000000000..910e5bde12 --- /dev/null +++ b/keyboards/handwired/wakizashi40/keymaps/default/keymap.c @@ -0,0 +1,44 @@ +/* Copyright 2021 xiao (@xia0) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ESC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), LT(2, KC_SPC), KC_LALT, KC_MENU, KC_LCTL), + + [1] = LAYOUT_all( + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F5, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + MO(3), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_TRNS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS), + + [2] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, + MO(11), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_QUOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS), + + [3] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_QUOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) + +}; diff --git a/keyboards/handwired/wakizashi40/keymaps/via/keymap.c b/keyboards/handwired/wakizashi40/keymaps/via/keymap.c new file mode 100644 index 0000000000..d456b8b40a --- /dev/null +++ b/keyboards/handwired/wakizashi40/keymaps/via/keymap.c @@ -0,0 +1,92 @@ +/* Copyright 2021 xiao (@xia0) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_all( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ESC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), LT(2, KC_SPC), KC_LALT, KC_MENU, KC_LCTL), + + [1] = LAYOUT_all( + KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F5, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, + MO(11), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_TRNS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS), + + [2] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, + MO(11), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_QUOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS), + + [3] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_QUOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [4] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [5] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [6] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [7] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [8] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [9] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [10] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + + [11] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) + +}; diff --git a/keyboards/handwired/wakizashi40/keymaps/via/rules.mk b/keyboards/handwired/wakizashi40/keymaps/via/rules.mk new file mode 100644 index 0000000000..7a49719505 --- /dev/null +++ b/keyboards/handwired/wakizashi40/keymaps/via/rules.mk @@ -0,0 +1,4 @@ +# rules.mk overrides to enable VIA + +VIA_ENABLE = yes +LTO_ENABLE = yes diff --git a/keyboards/handwired/wakizashi40/readme.md b/keyboards/handwired/wakizashi40/readme.md new file mode 100644 index 0000000000..d94a75651c --- /dev/null +++ b/keyboards/handwired/wakizashi40/readme.md @@ -0,0 +1,19 @@ +# Wakizashi 40 + +![Wakizashi40](https://cdn.thingiverse.com/renders/51/50/81/13/a9/7078248666f70b422127c6662cf79563_preview_featured.jpg) + +Reverse stagger 40% keyboard based on the Katana 60. + +* Keyboard Maintainer: [fumbucker](https://github.com/xia0) +* Hardware Supported: Teensy2++ +* Hardware Availability: [thingiverse](https://www.thingiverse.com/thing:3467930) + +Make example for this keyboard (after setting up your build environment): + + make handwired/wakizashi40:default + +See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. + +## Bootloader + +* **Keycode in layout**: Press the key mapped to `RESET` if it is available (Capslock + R). diff --git a/keyboards/handwired/wakizashi40/rules.mk b/keyboards/handwired/wakizashi40/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/handwired/wakizashi40/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/helix/pico/matrix.c b/keyboards/helix/pico/matrix.c index b18213d846..039cca6dcf 100644 --- a/keyboards/helix/pico/matrix.c +++ b/keyboards/helix/pico/matrix.c @@ -273,12 +273,6 @@ void matrix_slave_scan(void) { #endif } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/helix/rev1/matrix.c b/keyboards/helix/rev1/matrix.c index aa2cc76905..f59391b596 100644 --- a/keyboards/helix/rev1/matrix.c +++ b/keyboards/helix/rev1/matrix.c @@ -239,12 +239,6 @@ void matrix_slave_scan(void) { #endif } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/helix/rev2/matrix.c b/keyboards/helix/rev2/matrix.c index 8eed7e58b7..699c15358b 100644 --- a/keyboards/helix/rev2/matrix.c +++ b/keyboards/helix/rev2/matrix.c @@ -287,12 +287,6 @@ void matrix_slave_scan(void) { #endif } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/hhkb/ansi/matrix.c b/keyboards/hhkb/ansi/matrix.c index 529ba8b8fc..5dde74cce9 100644 --- a/keyboards/hhkb/ansi/matrix.c +++ b/keyboards/hhkb/ansi/matrix.c @@ -163,15 +163,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - if (matrix[i] != matrix_prev[i]) - return true; - } - return false; -} - inline bool matrix_has_ghost(void) { diff --git a/keyboards/hhkb/jp/matrix.c b/keyboards/hhkb/jp/matrix.c index c0dca6a990..81db77fca7 100644 --- a/keyboards/hhkb/jp/matrix.c +++ b/keyboards/hhkb/jp/matrix.c @@ -164,15 +164,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - if (matrix[i] != matrix_prev[i]) - return true; - } - return false; -} - inline bool matrix_has_ghost(void) { diff --git a/keyboards/hid_liber/matrix.c b/keyboards/hid_liber/matrix.c index ff59a17153..da73c616d7 100755 --- a/keyboards/hid_liber/matrix.c +++ b/keyboards/hid_liber/matrix.c @@ -218,12 +218,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - // NOTE: no longer used - return true; -} - inline bool matrix_has_ghost(void) { diff --git a/keyboards/honeycomb/config.h b/keyboards/honeycomb/config.h index 725f9490cb..c959543618 100755 --- a/keyboards/honeycomb/config.h +++ b/keyboards/honeycomb/config.h @@ -45,12 +45,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/honeycomb/honeycomb.c b/keyboards/honeycomb/honeycomb.c index 1254196d39..603400c7a3 100755 --- a/keyboards/honeycomb/honeycomb.c +++ b/keyboards/honeycomb/honeycomb.c @@ -7,7 +7,7 @@ void pointing_device_task(void){ uint32_t timeout = 0; //the m character requests the RF slave to send the mouse report - SERIAL_UART_DATA = 'm'; + uart_write('m'); //trust the external inputs completely, erase old data uint8_t uart_data[5] = {0}; @@ -17,7 +17,7 @@ void pointing_device_task(void){ //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while(!uart_available()){ timeout++; if (timeout > 10000){ xprintf("\r\nTIMED OUT"); @@ -25,7 +25,7 @@ void pointing_device_task(void){ } } xprintf("\r\nGOT DATA for %d",i); - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, bytes 1-4 are movement and scroll diff --git a/keyboards/honeycomb/matrix.c b/keyboards/honeycomb/matrix.c index 7fef6f0fd8..fe1e4ce8ff 100755 --- a/keyboards/honeycomb/matrix.c +++ b/keyboards/honeycomb/matrix.c @@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "honeycomb.h" #include "pointing_device.h" #include "report.h" -#include "protocol/serial.h" +#include "uart.h" #if (MATRIX_COLS <= 8) # define print_matrix_header() print("\nr/c 01234567\n") @@ -95,7 +95,7 @@ uint8_t matrix_cols(void) { void matrix_init(void) { matrix_init_quantum(); - serial_init(); + uart_init(1000000); } uint8_t matrix_scan(void) @@ -103,7 +103,7 @@ uint8_t matrix_scan(void) uint32_t timeout = 0; // The 's' character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); // Trust the external keystates entirely, erase the last data uint8_t uart_data[4] = {0}; @@ -113,14 +113,14 @@ uint8_t matrix_scan(void) // Wait for the serial data, timeout if it's been too long // This only happened in testing with a loose wire, but does no // harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while(!uart_available()){ timeout++; if (timeout > 10000){ xprintf("\r\nTime out in keyboard."); break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } // Check for the end packet, it's our checksum. diff --git a/keyboards/honeycomb/rules.mk b/keyboards/honeycomb/rules.mk index 2b5eb0360c..a6029e3dbf 100755 --- a/keyboards/honeycomb/rules.mk +++ b/keyboards/honeycomb/rules.mk @@ -18,4 +18,5 @@ NKRO_ENABLE = yes # Enable N-Key Rollover # BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality # # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/kinesis/alvicstep/matrix.c b/keyboards/kinesis/alvicstep/matrix.c index 71619f8167..9c05374510 100644 --- a/keyboards/kinesis/alvicstep/matrix.c +++ b/keyboards/kinesis/alvicstep/matrix.c @@ -136,12 +136,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/kprepublic/bm65hsrgb_iso/config.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h index 30b27dc26e..30b27dc26e 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/config.h +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h diff --git a/keyboards/kprepublic/bm65hsrgb_iso/info.json b/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json index 9212c43339..9212c43339 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/info.json +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/info.json diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/config.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h index 1dc1414fa5..1dc1414fa5 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/config.h +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c index 46de987a68..46de987a68 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.c +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h index 1459e2c5bb..1459e2c5bb 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/keymap.h +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md index 095550b01a..095550b01a 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/readme.md +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk index c8354ea256..c8354ea256 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/deadolus/rules.mk +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/default/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/default/keymap.c index bed12e0f72..bed12e0f72 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/default/keymap.c +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/default/keymap.c diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/keymap.c index ae36e6b1f5..ae36e6b1f5 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/keymap.c +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/keymap.c diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/readme.md index 87c7542756..87c7542756 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/readme.md +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/readme.md diff --git a/keyboards/7skb/keymaps/via/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/7skb/keymaps/via/rules.mk +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/rules.mk diff --git a/keyboards/kprepublic/bm65hsrgb_iso/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/rev1/readme.md index 752362e29a..752362e29a 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/readme.md +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/readme.md diff --git a/keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.c index 134c271824..f351fa68a8 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.c +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.c @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "bm65hsrgb_iso.h" +#include "rev1.h" #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.h index 7f39c6f61b..7f39c6f61b 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/bm65hsrgb_iso.h +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.h diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rules.mk index c3a6bf1d48..c3a6bf1d48 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/rules.mk +++ b/keyboards/kprepublic/bm65hsrgb_iso/rev1/rules.mk diff --git a/keyboards/kprepublic/bm68hsrgb/config.h b/keyboards/kprepublic/bm68hsrgb/rev1/config.h index a779c97b7b..a779c97b7b 100644 --- a/keyboards/kprepublic/bm68hsrgb/config.h +++ b/keyboards/kprepublic/bm68hsrgb/rev1/config.h diff --git a/keyboards/kprepublic/bm68hsrgb/info.json b/keyboards/kprepublic/bm68hsrgb/rev1/info.json index 0a72da6e98..0a72da6e98 100644 --- a/keyboards/kprepublic/bm68hsrgb/info.json +++ b/keyboards/kprepublic/bm68hsrgb/rev1/info.json diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/default/keymap.c b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/keymap.c index b4bc5cb59d..b4bc5cb59d 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/default/keymap.c +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/keymap.c diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/default/readme.md b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/readme.md index 0408ee9e98..0408ee9e98 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/default/readme.md +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/readme.md diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/config.h b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h index 0748f83cdc..0748f83cdc 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/config.h +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.c b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c index 934463b11f..934463b11f 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.c +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.h b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h index e8d0170d4d..e8d0170d4d 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/keymap.h +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/readme.md b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md index 47899c27e1..47899c27e1 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/peepeetee/readme.md +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/via/keymap.c b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/keymap.c index 46381c561c..46381c561c 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/via/keymap.c +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/keymap.c diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/via/readme.md b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/readme.md index c013ae25e2..c013ae25e2 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/via/readme.md +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/readme.md diff --git a/keyboards/claw44/keymaps/via/rules.mk b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/claw44/keymaps/via/rules.mk +++ b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/rules.mk diff --git a/keyboards/kprepublic/bm68hsrgb/readme.md b/keyboards/kprepublic/bm68hsrgb/rev1/readme.md index 54d71cab2c..54d71cab2c 100644 --- a/keyboards/kprepublic/bm68hsrgb/readme.md +++ b/keyboards/kprepublic/bm68hsrgb/rev1/readme.md diff --git a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c b/keyboards/kprepublic/bm68hsrgb/rev1/rev1.c index 734d2ee677..4634a662b6 100644 --- a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c +++ b/keyboards/kprepublic/bm68hsrgb/rev1/rev1.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "bm68hsrgb.h" +#include "rev1.h" #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { diff --git a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.h b/keyboards/kprepublic/bm68hsrgb/rev1/rev1.h index 3e18b914cc..3e18b914cc 100644 --- a/keyboards/kprepublic/bm68hsrgb/bm68hsrgb.h +++ b/keyboards/kprepublic/bm68hsrgb/rev1/rev1.h diff --git a/keyboards/kprepublic/bm68hsrgb/rules.mk b/keyboards/kprepublic/bm68hsrgb/rev1/rules.mk index 92c37f393b..92c37f393b 100644 --- a/keyboards/kprepublic/bm68hsrgb/rules.mk +++ b/keyboards/kprepublic/bm68hsrgb/rev1/rules.mk diff --git a/keyboards/lck75/config.h b/keyboards/lyso1/lck75/config.h index 18dd381ece..18dd381ece 100644 --- a/keyboards/lck75/config.h +++ b/keyboards/lyso1/lck75/config.h diff --git a/keyboards/lck75/info.json b/keyboards/lyso1/lck75/info.json index 4d04175e00..4d04175e00 100644 --- a/keyboards/lck75/info.json +++ b/keyboards/lyso1/lck75/info.json diff --git a/keyboards/lck75/keymaps/7u/keymap.c b/keyboards/lyso1/lck75/keymaps/7u/keymap.c index 25cf66176e..25cf66176e 100644 --- a/keyboards/lck75/keymaps/7u/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/7u/keymap.c diff --git a/keyboards/lck75/keymaps/7u_iso/keymap.c b/keyboards/lyso1/lck75/keymaps/7u_iso/keymap.c index f42d638778..f42d638778 100644 --- a/keyboards/lck75/keymaps/7u_iso/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/7u_iso/keymap.c diff --git a/keyboards/lck75/keymaps/7u_sbs/keymap.c b/keyboards/lyso1/lck75/keymaps/7u_sbs/keymap.c index 3c562659dc..3c562659dc 100644 --- a/keyboards/lck75/keymaps/7u_sbs/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/7u_sbs/keymap.c diff --git a/keyboards/lck75/keymaps/default/keymap.c b/keyboards/lyso1/lck75/keymaps/default/keymap.c index 4af75f23e2..4af75f23e2 100644 --- a/keyboards/lck75/keymaps/default/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/default/keymap.c diff --git a/keyboards/lck75/keymaps/iso/keymap.c b/keyboards/lyso1/lck75/keymaps/iso/keymap.c index f0d6dbaf12..f0d6dbaf12 100644 --- a/keyboards/lck75/keymaps/iso/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/iso/keymap.c diff --git a/keyboards/lck75/keymaps/iso_sbs/keymap.c b/keyboards/lyso1/lck75/keymaps/iso_sbs/keymap.c index a2b2469d3e..a2b2469d3e 100644 --- a/keyboards/lck75/keymaps/iso_sbs/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/iso_sbs/keymap.c diff --git a/keyboards/lck75/keymaps/sbs/keymap.c b/keyboards/lyso1/lck75/keymaps/sbs/keymap.c index 7671765619..7671765619 100644 --- a/keyboards/lck75/keymaps/sbs/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/sbs/keymap.c diff --git a/keyboards/lck75/keymaps/via/keymap.c b/keyboards/lyso1/lck75/keymaps/via/keymap.c index 4ba5c50f44..4ba5c50f44 100644 --- a/keyboards/lck75/keymaps/via/keymap.c +++ b/keyboards/lyso1/lck75/keymaps/via/keymap.c diff --git a/keyboards/lck75/keymaps/via/rules.mk b/keyboards/lyso1/lck75/keymaps/via/rules.mk index 541a15608a..541a15608a 100644 --- a/keyboards/lck75/keymaps/via/rules.mk +++ b/keyboards/lyso1/lck75/keymaps/via/rules.mk diff --git a/keyboards/lck75/lck75.c b/keyboards/lyso1/lck75/lck75.c index 55650681ac..55650681ac 100644 --- a/keyboards/lck75/lck75.c +++ b/keyboards/lyso1/lck75/lck75.c diff --git a/keyboards/lck75/lck75.h b/keyboards/lyso1/lck75/lck75.h index d7648eff2a..d7648eff2a 100644 --- a/keyboards/lck75/lck75.h +++ b/keyboards/lyso1/lck75/lck75.h diff --git a/keyboards/lck75/readme.md b/keyboards/lyso1/lck75/readme.md index 2ded56ebd2..bb3dd2626a 100644 --- a/keyboards/lck75/readme.md +++ b/keyboards/lyso1/lck75/readme.md @@ -8,10 +8,10 @@ A 75% keyboard that can be assembled with only through hole components, includin Make example for this keyboard (after setting up your build environment): - make lck75:default + make lyso1/lck75:default Flashing example for this keyboard: - make lck75:default:flash + make lyso1/lck75:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/lck75/rules.mk b/keyboards/lyso1/lck75/rules.mk index 1af1d4921b..1af1d4921b 100644 --- a/keyboards/lck75/rules.mk +++ b/keyboards/lyso1/lck75/rules.mk diff --git a/keyboards/lefishe/config.h b/keyboards/lyso1/lefishe/config.h index a5bafa5413..a5bafa5413 100644 --- a/keyboards/lefishe/config.h +++ b/keyboards/lyso1/lefishe/config.h diff --git a/keyboards/lefishe/info.json b/keyboards/lyso1/lefishe/info.json index e31877a95b..e31877a95b 100644 --- a/keyboards/lefishe/info.json +++ b/keyboards/lyso1/lefishe/info.json diff --git a/keyboards/lefishe/keymaps/default/keymap.c b/keyboards/lyso1/lefishe/keymaps/default/keymap.c index 5ba35de7b0..5ba35de7b0 100644 --- a/keyboards/lefishe/keymaps/default/keymap.c +++ b/keyboards/lyso1/lefishe/keymaps/default/keymap.c diff --git a/keyboards/lefishe/keymaps/wk_sbs/keymap.c b/keyboards/lyso1/lefishe/keymaps/wk_sbs/keymap.c index 36c7d73b86..36c7d73b86 100644 --- a/keyboards/lefishe/keymaps/wk_sbs/keymap.c +++ b/keyboards/lyso1/lefishe/keymaps/wk_sbs/keymap.c diff --git a/keyboards/lefishe/keymaps/wkl/keymap.c b/keyboards/lyso1/lefishe/keymaps/wkl/keymap.c index f40e933d6d..f40e933d6d 100644 --- a/keyboards/lefishe/keymaps/wkl/keymap.c +++ b/keyboards/lyso1/lefishe/keymaps/wkl/keymap.c diff --git a/keyboards/lefishe/keymaps/wkl_sbs/keymap.c b/keyboards/lyso1/lefishe/keymaps/wkl_sbs/keymap.c index 91a707db78..91a707db78 100644 --- a/keyboards/lefishe/keymaps/wkl_sbs/keymap.c +++ b/keyboards/lyso1/lefishe/keymaps/wkl_sbs/keymap.c diff --git a/keyboards/lefishe/lefishe.c b/keyboards/lyso1/lefishe/lefishe.c index c557a59c2d..c557a59c2d 100644 --- a/keyboards/lefishe/lefishe.c +++ b/keyboards/lyso1/lefishe/lefishe.c diff --git a/keyboards/lefishe/lefishe.h b/keyboards/lyso1/lefishe/lefishe.h index 98197b21c4..98197b21c4 100644 --- a/keyboards/lefishe/lefishe.h +++ b/keyboards/lyso1/lefishe/lefishe.h diff --git a/keyboards/lefishe/readme.md b/keyboards/lyso1/lefishe/readme.md index ae6ab1322e..eb8322b2df 100644 --- a/keyboards/lefishe/readme.md +++ b/keyboards/lyso1/lefishe/readme.md @@ -9,7 +9,7 @@ This pcb cab also be used as a replacement pcb for the revoKmini/kmacmini with s Make example for this keyboard (after setting up your build environment): - make lefishe:default + make lyso1/lefishe:default Enter into the bootloader to flash new firmware in 3 ways: @@ -19,6 +19,6 @@ Enter into the bootloader to flash new firmware in 3 ways: Flashing example for this keyboard: - make lefishe:default:flash + make lyso1/lefishe:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/lefishe/rules.mk b/keyboards/lyso1/lefishe/rules.mk index 5d063b8756..5d063b8756 100644 --- a/keyboards/lefishe/rules.mk +++ b/keyboards/lyso1/lefishe/rules.mk diff --git a/keyboards/treadstone32/info.json b/keyboards/marksard/treadstone32/info.json index d9c1069b38..d9c1069b38 100644 --- a/keyboards/treadstone32/info.json +++ b/keyboards/marksard/treadstone32/info.json diff --git a/keyboards/treadstone32/keymaps/default/config.h b/keyboards/marksard/treadstone32/keymaps/default/config.h index 863588c5aa..863588c5aa 100644 --- a/keyboards/treadstone32/keymaps/default/config.h +++ b/keyboards/marksard/treadstone32/keymaps/default/config.h diff --git a/keyboards/treadstone32/keymaps/default/keymap.c b/keyboards/marksard/treadstone32/keymaps/default/keymap.c index 791fed059b..791fed059b 100644 --- a/keyboards/treadstone32/keymaps/default/keymap.c +++ b/keyboards/marksard/treadstone32/keymaps/default/keymap.c diff --git a/keyboards/treadstone32/keymaps/default/readme.md b/keyboards/marksard/treadstone32/keymaps/default/readme.md index 387efc0d45..387efc0d45 100644 --- a/keyboards/treadstone32/keymaps/default/readme.md +++ b/keyboards/marksard/treadstone32/keymaps/default/readme.md diff --git a/keyboards/treadstone32/keymaps/default/readme_jp.md b/keyboards/marksard/treadstone32/keymaps/default/readme_jp.md index ff078dcc8a..ff078dcc8a 100644 --- a/keyboards/treadstone32/keymaps/default/readme_jp.md +++ b/keyboards/marksard/treadstone32/keymaps/default/readme_jp.md diff --git a/keyboards/treadstone32/keymaps/default/rules.mk b/keyboards/marksard/treadstone32/keymaps/default/rules.mk index 387a81d04b..387a81d04b 100644 --- a/keyboards/treadstone32/keymaps/default/rules.mk +++ b/keyboards/marksard/treadstone32/keymaps/default/rules.mk diff --git a/keyboards/treadstone32/keymaps/like_jis/config.h b/keyboards/marksard/treadstone32/keymaps/like_jis/config.h index 863588c5aa..863588c5aa 100644 --- a/keyboards/treadstone32/keymaps/like_jis/config.h +++ b/keyboards/marksard/treadstone32/keymaps/like_jis/config.h diff --git a/keyboards/treadstone32/keymaps/like_jis/keymap.c b/keyboards/marksard/treadstone32/keymaps/like_jis/keymap.c index 92518b11a7..92518b11a7 100644 --- a/keyboards/treadstone32/keymaps/like_jis/keymap.c +++ b/keyboards/marksard/treadstone32/keymaps/like_jis/keymap.c diff --git a/keyboards/treadstone32/keymaps/like_jis/readme.md b/keyboards/marksard/treadstone32/keymaps/like_jis/readme.md index 206133ee7c..206133ee7c 100644 --- a/keyboards/treadstone32/keymaps/like_jis/readme.md +++ b/keyboards/marksard/treadstone32/keymaps/like_jis/readme.md diff --git a/keyboards/treadstone32/keymaps/like_jis/readme_jp.md b/keyboards/marksard/treadstone32/keymaps/like_jis/readme_jp.md index 3242f101e2..3242f101e2 100644 --- a/keyboards/treadstone32/keymaps/like_jis/readme_jp.md +++ b/keyboards/marksard/treadstone32/keymaps/like_jis/readme_jp.md diff --git a/keyboards/treadstone32/keymaps/like_jis/rules.mk b/keyboards/marksard/treadstone32/keymaps/like_jis/rules.mk index 882ddd6977..882ddd6977 100644 --- a/keyboards/treadstone32/keymaps/like_jis/rules.mk +++ b/keyboards/marksard/treadstone32/keymaps/like_jis/rules.mk diff --git a/keyboards/cu75/.noci b/keyboards/marksard/treadstone32/lite/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/cu75/.noci +++ b/keyboards/marksard/treadstone32/lite/.noci diff --git a/keyboards/treadstone32/lite/config.h b/keyboards/marksard/treadstone32/lite/config.h index 90db1a7895..90db1a7895 100644 --- a/keyboards/treadstone32/lite/config.h +++ b/keyboards/marksard/treadstone32/lite/config.h diff --git a/keyboards/treadstone32/lite/lite.c b/keyboards/marksard/treadstone32/lite/lite.c index a1997feff0..a1997feff0 100644 --- a/keyboards/treadstone32/lite/lite.c +++ b/keyboards/marksard/treadstone32/lite/lite.c diff --git a/keyboards/treadstone32/lite/lite.h b/keyboards/marksard/treadstone32/lite/lite.h index 90181124c0..90181124c0 100644 --- a/keyboards/treadstone32/lite/lite.h +++ b/keyboards/marksard/treadstone32/lite/lite.h diff --git a/keyboards/treadstone32/lite/rules.mk b/keyboards/marksard/treadstone32/lite/rules.mk index 6ded83e74b..6ded83e74b 100644 --- a/keyboards/treadstone32/lite/rules.mk +++ b/keyboards/marksard/treadstone32/lite/rules.mk diff --git a/keyboards/treadstone32/readme.md b/keyboards/marksard/treadstone32/readme.md index 99cbe4e014..170c6bc761 100644 --- a/keyboards/treadstone32/readme.md +++ b/keyboards/marksard/treadstone32/readme.md @@ -10,9 +10,9 @@ Hardware Availability: links to where you can find this hardware Make example for this keyboard (after setting up your build environment): - make treadstone32:default + make marksard/treadstone32:default or - make treadstone32/lite:default + make marksard/treadstone32/lite:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/getta25/.noci b/keyboards/marksard/treadstone32/rev1/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/getta25/.noci +++ b/keyboards/marksard/treadstone32/rev1/.noci diff --git a/keyboards/treadstone32/rev1/config.h b/keyboards/marksard/treadstone32/rev1/config.h index 3f21ad59c5..3f21ad59c5 100644 --- a/keyboards/treadstone32/rev1/config.h +++ b/keyboards/marksard/treadstone32/rev1/config.h diff --git a/keyboards/treadstone32/rev1/rev1.c b/keyboards/marksard/treadstone32/rev1/rev1.c index bf41abddbe..bf41abddbe 100644 --- a/keyboards/treadstone32/rev1/rev1.c +++ b/keyboards/marksard/treadstone32/rev1/rev1.c diff --git a/keyboards/treadstone32/rev1/rev1.h b/keyboards/marksard/treadstone32/rev1/rev1.h index 90181124c0..90181124c0 100644 --- a/keyboards/treadstone32/rev1/rev1.h +++ b/keyboards/marksard/treadstone32/rev1/rev1.h diff --git a/keyboards/treadstone32/rev1/rules.mk b/keyboards/marksard/treadstone32/rev1/rules.mk index bddd4e389e..bddd4e389e 100644 --- a/keyboards/treadstone32/rev1/rules.mk +++ b/keyboards/marksard/treadstone32/rev1/rules.mk diff --git a/keyboards/treadstone32/rules.mk b/keyboards/marksard/treadstone32/rules.mk index 096c25856e..096c25856e 100644 --- a/keyboards/treadstone32/rules.mk +++ b/keyboards/marksard/treadstone32/rules.mk diff --git a/keyboards/jisplit89/.noci b/keyboards/marksard/treadstone48/treadstone48/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/jisplit89/.noci +++ b/keyboards/marksard/treadstone48/treadstone48/.noci diff --git a/keyboards/treadstone48/common/glcdfont.c b/keyboards/marksard/treadstone48/treadstone48/common/glcdfont.c index 003ce1a87b..003ce1a87b 100644 --- a/keyboards/treadstone48/common/glcdfont.c +++ b/keyboards/marksard/treadstone48/treadstone48/common/glcdfont.c diff --git a/keyboards/treadstone48/common/oled_helper.c b/keyboards/marksard/treadstone48/treadstone48/common/oled_helper.c index 68adbe83a8..68adbe83a8 100644 --- a/keyboards/treadstone48/common/oled_helper.c +++ b/keyboards/marksard/treadstone48/treadstone48/common/oled_helper.c diff --git a/keyboards/treadstone48/common/oled_helper.h b/keyboards/marksard/treadstone48/treadstone48/common/oled_helper.h index 56c2a5b236..56c2a5b236 100644 --- a/keyboards/treadstone48/common/oled_helper.h +++ b/keyboards/marksard/treadstone48/treadstone48/common/oled_helper.h diff --git a/keyboards/treadstone48/keymaps/default/config.h b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/config.h index baa4ec8461..baa4ec8461 100644 --- a/keyboards/treadstone48/keymaps/default/config.h +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/config.h diff --git a/keyboards/treadstone48/keymaps/default/keymap.c b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/keymap.c index 00884f3918..00884f3918 100644 --- a/keyboards/treadstone48/keymaps/default/keymap.c +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/keymap.c diff --git a/keyboards/treadstone48/keymaps/default/readme.md b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme.md index bb835d169c..bb835d169c 100644 --- a/keyboards/treadstone48/keymaps/default/readme.md +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme.md diff --git a/keyboards/treadstone48/keymaps/default/readme_jp.md b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme_jp.md index 93aaa190e3..93aaa190e3 100644 --- a/keyboards/treadstone48/keymaps/default/readme_jp.md +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/readme_jp.md diff --git a/keyboards/treadstone48/keymaps/default/rules.mk b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/rules.mk index 23c4ae9542..23c4ae9542 100644 --- a/keyboards/treadstone48/keymaps/default/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/default/rules.mk diff --git a/keyboards/treadstone48/keymaps/like_jis/config.h b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/config.h index baa4ec8461..baa4ec8461 100644 --- a/keyboards/treadstone48/keymaps/like_jis/config.h +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/config.h diff --git a/keyboards/treadstone48/keymaps/like_jis/keymap.c b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/keymap.c index 1e90a2416e..1e90a2416e 100644 --- a/keyboards/treadstone48/keymaps/like_jis/keymap.c +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/keymap.c diff --git a/keyboards/treadstone48/keymaps/like_jis/readme.md b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme.md index 796df6c4cd..796df6c4cd 100644 --- a/keyboards/treadstone48/keymaps/like_jis/readme.md +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme.md diff --git a/keyboards/treadstone48/keymaps/like_jis/readme_jp.md b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme_jp.md index 5ae638b0d1..5ae638b0d1 100644 --- a/keyboards/treadstone48/keymaps/like_jis/readme_jp.md +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/readme_jp.md diff --git a/keyboards/treadstone48/keymaps/like_jis/rules.mk b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/rules.mk index 23c4ae9542..23c4ae9542 100644 --- a/keyboards/treadstone48/keymaps/like_jis/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/keymaps/like_jis/rules.mk diff --git a/keyboards/treadstone48/readme.md b/keyboards/marksard/treadstone48/treadstone48/readme.md index 432ef33fe9..c5f6f8f73f 100644 --- a/keyboards/treadstone48/readme.md +++ b/keyboards/marksard/treadstone48/treadstone48/readme.md @@ -10,9 +10,9 @@ Hardware Availability: links to where you can find this hardware Make example for this keyboard (after setting up your build environment): - make treadstone48:default + make marksard/treadstone48:default or - make treadstone48/rev2:default + make marksard/treadstone48/rev2:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/naked48/.noci b/keyboards/marksard/treadstone48/treadstone48/rev1/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked48/.noci +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/.noci diff --git a/keyboards/treadstone48/rev1/config.h b/keyboards/marksard/treadstone48/treadstone48/rev1/config.h index ad9de636d0..ad9de636d0 100644 --- a/keyboards/treadstone48/rev1/config.h +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/config.h diff --git a/keyboards/treadstone48/rev1/info.json b/keyboards/marksard/treadstone48/treadstone48/rev1/info.json index 8b90429d00..8b90429d00 100644 --- a/keyboards/treadstone48/rev1/info.json +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/info.json diff --git a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/config.h b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/config.h index 95b58c23db..95b58c23db 100644 --- a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/config.h +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/config.h diff --git a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/keymap.c b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/keymap.c index e1f0835881..e1f0835881 100644 --- a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/keymap.c +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/keymap.c diff --git a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme.md b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme.md index 796df6c4cd..796df6c4cd 100644 --- a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme.md +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme.md diff --git a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md index 81c5e017ec..81c5e017ec 100644 --- a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/readme_jp.md diff --git a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/rules.mk b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/rules.mk index fafe992d6f..fafe992d6f 100644 --- a/keyboards/treadstone48/rev1/keymaps/like_jis_rs/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/keymaps/like_jis_rs/rules.mk diff --git a/keyboards/treadstone48/rev1/rev1.c b/keyboards/marksard/treadstone48/treadstone48/rev1/rev1.c index 3daa3e8e81..3daa3e8e81 100644 --- a/keyboards/treadstone48/rev1/rev1.c +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/rev1.c diff --git a/keyboards/treadstone48/rev1/rev1.h b/keyboards/marksard/treadstone48/treadstone48/rev1/rev1.h index 7534796422..7534796422 100644 --- a/keyboards/treadstone48/rev1/rev1.h +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/rev1.h diff --git a/keyboards/getta25/rev1/rules.mk b/keyboards/marksard/treadstone48/treadstone48/rev1/rules.mk index fff00a1b51..fff00a1b51 100644 --- a/keyboards/getta25/rev1/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/rev1/rules.mk diff --git a/keyboards/treadstone48/rev2/config.h b/keyboards/marksard/treadstone48/treadstone48/rev2/config.h index 6df1467d8c..6df1467d8c 100644 --- a/keyboards/treadstone48/rev2/config.h +++ b/keyboards/marksard/treadstone48/treadstone48/rev2/config.h diff --git a/keyboards/treadstone48/rev2/info.json b/keyboards/marksard/treadstone48/treadstone48/rev2/info.json index 73527155e8..73527155e8 100644 --- a/keyboards/treadstone48/rev2/info.json +++ b/keyboards/marksard/treadstone48/treadstone48/rev2/info.json diff --git a/keyboards/treadstone48/rev2/rev2.c b/keyboards/marksard/treadstone48/treadstone48/rev2/rev2.c index f7e7bc7702..f7e7bc7702 100644 --- a/keyboards/treadstone48/rev2/rev2.c +++ b/keyboards/marksard/treadstone48/treadstone48/rev2/rev2.c diff --git a/keyboards/treadstone48/rev2/rev2.h b/keyboards/marksard/treadstone48/treadstone48/rev2/rev2.h index 651468c4a5..651468c4a5 100644 --- a/keyboards/treadstone48/rev2/rev2.h +++ b/keyboards/marksard/treadstone48/treadstone48/rev2/rev2.h diff --git a/keyboards/naked48/keymaps/default/rules.mk b/keyboards/marksard/treadstone48/treadstone48/rev2/rules.mk index d29d9074a0..d29d9074a0 100644 --- a/keyboards/naked48/keymaps/default/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/rev2/rules.mk diff --git a/keyboards/treadstone48/rules.mk b/keyboards/marksard/treadstone48/treadstone48/rules.mk index 3bf42c85c6..3bf42c85c6 100644 --- a/keyboards/treadstone48/rules.mk +++ b/keyboards/marksard/treadstone48/treadstone48/rules.mk diff --git a/keyboards/massdrop/alt/rules.mk b/keyboards/massdrop/alt/rules.mk index 83d4fc590b..f0ff36fa35 100644 --- a/keyboards/massdrop/alt/rules.mk +++ b/keyboards/massdrop/alt/rules.mk @@ -5,6 +5,9 @@ SRC += config_led.c ARM_ATSAM = SAMD51J18A MCU = cortex-m4 +# Bootloader selection +BOOTLOADER = md-boot + # Build Options # change yes to no to disable # diff --git a/keyboards/massdrop/ctrl/rules.mk b/keyboards/massdrop/ctrl/rules.mk index 667642f83d..a302c82d86 100644 --- a/keyboards/massdrop/ctrl/rules.mk +++ b/keyboards/massdrop/ctrl/rules.mk @@ -5,6 +5,9 @@ SRC += config_led.c ARM_ATSAM = SAMD51J18A MCU = cortex-m4 +# Bootloader selection +BOOTLOADER = md-boot + # Build Options # change yes to no to disable # diff --git a/keyboards/matrix/abelx/boards/abelx_bd/board.c b/keyboards/matrix/abelx/boards/abelx_bd/board.c index 68cf23cddc..db40a8e37b 100644 --- a/keyboards/matrix/abelx/boards/abelx_bd/board.c +++ b/keyboards/matrix/abelx/boards/abelx_bd/board.c @@ -208,9 +208,6 @@ static void stm32_gpio_init(void) { * else. */ void __early_init(void) { - extern void enter_bootloader_mode_if_requested(void); - enter_bootloader_mode_if_requested(); - stm32_gpio_init(); stm32_clock_init(); } diff --git a/keyboards/matrix/abelx/bootloader_defs.h b/keyboards/matrix/abelx/bootloader_defs.h deleted file mode 100644 index 20b8f73e6f..0000000000 --- a/keyboards/matrix/abelx/bootloader_defs.h +++ /dev/null @@ -1,7 +0,0 @@ -/* Address for jumping to bootloader on STM32 chips. */ -/* It is chip dependent, the correct number can be looked up here: - * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf - * This also requires a patch to chibios: - * <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch - */ -#define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 diff --git a/keyboards/matrix/abelx/rules.mk b/keyboards/matrix/abelx/rules.mk index 98b6cfa65e..ac00984eae 100644 --- a/keyboards/matrix/abelx/rules.mk +++ b/keyboards/matrix/abelx/rules.mk @@ -25,14 +25,6 @@ ARMV = 7 USE_FPU = yes -# Vector table for application -# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ -OPT_DEFS = - -# Options to pass to dfu-util when flashing -#DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave -#DFU_SUFFIX_ARGS = -p DF11 -v 0483 - # Build Options # change yes to no to disable # diff --git a/keyboards/matrix/m20add/bootloader_defs.h b/keyboards/matrix/m20add/bootloader_defs.h deleted file mode 100644 index 4da3d39a32..0000000000 --- a/keyboards/matrix/m20add/bootloader_defs.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Address for jumping to bootloader on STM32 chips. */ -/* It is chip dependent, the correct number can be looked up here: - * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf - */ -#define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 diff --git a/keyboards/matrix/m20add/m20add.c b/keyboards/matrix/m20add/m20add.c index 21f4f9b1ba..4d328d6c54 100644 --- a/keyboards/matrix/m20add/m20add.c +++ b/keyboards/matrix/m20add/m20add.c @@ -53,25 +53,6 @@ bool led_update_kb(led_t led_state) { return res; } -// override the default implementation to avoid re-initialization -void i2c_init(void) -{ - static bool initialized = false; - if (initialized) { - return; - } else { - initialized = true; - } - - // Try releasing special pins for a short time - palSetLineMode(I2C1_SCL_PIN, PAL_MODE_INPUT); - palSetLineMode(I2C1_SDA_PIN, PAL_MODE_INPUT); - - chThdSleepMilliseconds(10); - palSetLineMode(I2C1_SCL_PIN, PAL_MODE_ALTERNATE(I2C1_SCL_PAL_MODE) | PAL_STM32_OTYPE_OPENDRAIN); - palSetLineMode(I2C1_SDA_PIN, PAL_MODE_ALTERNATE(I2C1_SDA_PAL_MODE) | PAL_STM32_OTYPE_OPENDRAIN); -} - #define REBOOT_MAGIC 0x41544B42 void shutdown_user(void) { diff --git a/keyboards/matrix/noah/bootloader_defs.h b/keyboards/matrix/noah/bootloader_defs.h deleted file mode 100644 index 4da3d39a32..0000000000 --- a/keyboards/matrix/noah/bootloader_defs.h +++ /dev/null @@ -1,5 +0,0 @@ -/* Address for jumping to bootloader on STM32 chips. */ -/* It is chip dependent, the correct number can be looked up here: - * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf - */ -#define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 diff --git a/keyboards/mechlovin/olly/jf/rules.mk b/keyboards/mechlovin/olly/jf/rules.mk index c0c9b2d7ea..2fafe64f12 100644 --- a/keyboards/mechlovin/olly/jf/rules.mk +++ b/keyboards/mechlovin/olly/jf/rules.mk @@ -5,7 +5,7 @@ MCU = atmega32a F_CPU = 16000000 # Bootloader selection -BOOTLOADER = USBasp +BOOTLOADER = usbasploader # Build Options # change yes to no to disable @@ -21,4 +21,4 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output CUSTOM_MATRIX = lite -SRC += matrix.c
\ No newline at end of file +SRC += matrix.c diff --git a/keyboards/mechmini/v1/rules.mk b/keyboards/mechmini/v1/rules.mk index 6905e73c27..a7d4a67a16 100644 --- a/keyboards/mechmini/v1/rules.mk +++ b/keyboards/mechmini/v1/rules.mk @@ -2,7 +2,7 @@ MCU = atmega32a # Bootloader selection -BOOTLOADER = atmel-dfu +BOOTLOADER = bootloadhid # Build Options # change yes to no to disable diff --git a/keyboards/meira/matrix.c b/keyboards/meira/matrix.c index ae1ae5ce9d..8e8e9485b4 100644 --- a/keyboards/meira/matrix.c +++ b/keyboards/meira/matrix.c @@ -161,12 +161,6 @@ uint8_t matrix_scan(void) return ret; } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/mitosis/config.h b/keyboards/mitosis/config.h index 94e84e680e..2c72eed5f2 100644 --- a/keyboards/mitosis/config.h +++ b/keyboards/mitosis/config.h @@ -56,12 +56,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/mitosis/matrix.c b/keyboards/mitosis/matrix.c index 71c372a3ce..a92c3e8431 100644 --- a/keyboards/mitosis/matrix.c +++ b/keyboards/mitosis/matrix.c @@ -15,80 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -98,58 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 5; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 5; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/mitosis/rules.mk b/keyboards/mitosis/rules.mk index 6c7aa30d88..0a8a31e7dd 100644 --- a/keyboards/mitosis/rules.mk +++ b/keyboards/mitosis/rules.mk @@ -8,14 +8,17 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -UNICODE_ENABLE = yes # Unicode +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +UNICODE_ENABLE = yes +CUSTOM_MATRIX = lite -# # project specific files -SRC += matrix.c serial_uart.c +# project specific files +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/mode/m65s/rules.mk b/keyboards/mode/m65s/rules.mk index ed43a7bc77..bb3ebaee28 100644 --- a/keyboards/mode/m65s/rules.mk +++ b/keyboards/mode/m65s/rules.mk @@ -1,6 +1,9 @@ # MCU name MCU = STM32F401 +# Bootloader selection +BOOTLOADER = stm32-dfu + # Build Options # change yes to no to disable # @@ -14,6 +17,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output EEPROM_DRIVER = i2c + # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE -STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 diff --git a/keyboards/nek_type_a/matrix.c b/keyboards/nek_type_a/matrix.c index a59598a503..b396be9911 100644 --- a/keyboards/nek_type_a/matrix.c +++ b/keyboards/nek_type_a/matrix.c @@ -205,14 +205,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/nk1/config.h b/keyboards/novelkeys/nk1/config.h index 122df2e6da..122df2e6da 100644 --- a/keyboards/nk1/config.h +++ b/keyboards/novelkeys/nk1/config.h diff --git a/keyboards/nk1/info.json b/keyboards/novelkeys/nk1/info.json index 43b1719e94..43b1719e94 100755 --- a/keyboards/nk1/info.json +++ b/keyboards/novelkeys/nk1/info.json diff --git a/keyboards/nk1/keymaps/default/keymap.c b/keyboards/novelkeys/nk1/keymaps/default/keymap.c index 550a0f4873..550a0f4873 100644 --- a/keyboards/nk1/keymaps/default/keymap.c +++ b/keyboards/novelkeys/nk1/keymaps/default/keymap.c diff --git a/keyboards/nk1/keymaps/default/readme.md b/keyboards/novelkeys/nk1/keymaps/default/readme.md index 6e9c78ee51..6e9c78ee51 100644 --- a/keyboards/nk1/keymaps/default/readme.md +++ b/keyboards/novelkeys/nk1/keymaps/default/readme.md diff --git a/keyboards/nk1/keymaps/via/keymap.c b/keyboards/novelkeys/nk1/keymaps/via/keymap.c index 550a0f4873..550a0f4873 100644 --- a/keyboards/nk1/keymaps/via/keymap.c +++ b/keyboards/novelkeys/nk1/keymaps/via/keymap.c diff --git a/keyboards/nk1/keymaps/via/readme.md b/keyboards/novelkeys/nk1/keymaps/via/readme.md index 10025a5969..10025a5969 100644 --- a/keyboards/nk1/keymaps/via/readme.md +++ b/keyboards/novelkeys/nk1/keymaps/via/readme.md diff --git a/keyboards/7splus/keymaps/via/rules.mk b/keyboards/novelkeys/nk1/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/7splus/keymaps/via/rules.mk +++ b/keyboards/novelkeys/nk1/keymaps/via/rules.mk diff --git a/keyboards/nk1/nk1.c b/keyboards/novelkeys/nk1/nk1.c index 6833478568..6833478568 100644 --- a/keyboards/nk1/nk1.c +++ b/keyboards/novelkeys/nk1/nk1.c diff --git a/keyboards/nk1/nk1.h b/keyboards/novelkeys/nk1/nk1.h index 3962e18516..3962e18516 100644 --- a/keyboards/nk1/nk1.h +++ b/keyboards/novelkeys/nk1/nk1.h diff --git a/keyboards/nk1/readme.md b/keyboards/novelkeys/nk1/readme.md index bc668481b5..720d03adbc 100644 --- a/keyboards/nk1/readme.md +++ b/keyboards/novelkeys/nk1/readme.md @@ -12,7 +12,7 @@ A big switch keypad! Make example for this keyboard (after setting up your build environment): - make nk1:default + make novelkeys/nk1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nk1/rules.mk b/keyboards/novelkeys/nk1/rules.mk index 16d3dfedd0..16d3dfedd0 100644 --- a/keyboards/nk1/rules.mk +++ b/keyboards/novelkeys/nk1/rules.mk diff --git a/keyboards/nk65/config.h b/keyboards/novelkeys/nk65/config.h index 3268e8ebf4..3268e8ebf4 100755 --- a/keyboards/nk65/config.h +++ b/keyboards/novelkeys/nk65/config.h diff --git a/keyboards/nk65/halconf.h b/keyboards/novelkeys/nk65/halconf.h index e6d7e3c2ed..e6d7e3c2ed 100644 --- a/keyboards/nk65/halconf.h +++ b/keyboards/novelkeys/nk65/halconf.h diff --git a/keyboards/nk65/info.json b/keyboards/novelkeys/nk65/info.json index 3c2b438c2b..3c2b438c2b 100755 --- a/keyboards/nk65/info.json +++ b/keyboards/novelkeys/nk65/info.json diff --git a/keyboards/nk65/keymaps/default/keymap.c b/keyboards/novelkeys/nk65/keymaps/default/keymap.c index f0fcda4674..f0fcda4674 100755 --- a/keyboards/nk65/keymaps/default/keymap.c +++ b/keyboards/novelkeys/nk65/keymaps/default/keymap.c diff --git a/keyboards/nk65/keymaps/default/readme.md b/keyboards/novelkeys/nk65/keymaps/default/readme.md index 27bcd0501d..27bcd0501d 100755 --- a/keyboards/nk65/keymaps/default/readme.md +++ b/keyboards/novelkeys/nk65/keymaps/default/readme.md diff --git a/keyboards/nk65/keymaps/madhatter/keymap.c b/keyboards/novelkeys/nk65/keymaps/madhatter/keymap.c index e5e0fea461..e5e0fea461 100755 --- a/keyboards/nk65/keymaps/madhatter/keymap.c +++ b/keyboards/novelkeys/nk65/keymaps/madhatter/keymap.c diff --git a/keyboards/nk65/keymaps/via/keymap.c b/keyboards/novelkeys/nk65/keymaps/via/keymap.c index f0fcda4674..f0fcda4674 100755 --- a/keyboards/nk65/keymaps/via/keymap.c +++ b/keyboards/novelkeys/nk65/keymaps/via/keymap.c diff --git a/keyboards/nk65/keymaps/via/readme.md b/keyboards/novelkeys/nk65/keymaps/via/readme.md index 6689191e4c..6689191e4c 100755 --- a/keyboards/nk65/keymaps/via/readme.md +++ b/keyboards/novelkeys/nk65/keymaps/via/readme.md diff --git a/keyboards/delilah/keymaps/via/rules.mk b/keyboards/novelkeys/nk65/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644..100755 --- a/keyboards/delilah/keymaps/via/rules.mk +++ b/keyboards/novelkeys/nk65/keymaps/via/rules.mk diff --git a/keyboards/nk65/mcuconf.h b/keyboards/novelkeys/nk65/mcuconf.h index f37f37c179..f37f37c179 100644 --- a/keyboards/nk65/mcuconf.h +++ b/keyboards/novelkeys/nk65/mcuconf.h diff --git a/keyboards/nk65/nk65.c b/keyboards/novelkeys/nk65/nk65.c index 4ed18c114e..4ed18c114e 100755 --- a/keyboards/nk65/nk65.c +++ b/keyboards/novelkeys/nk65/nk65.c diff --git a/keyboards/nk65/nk65.h b/keyboards/novelkeys/nk65/nk65.h index 35aca2a64c..35aca2a64c 100755 --- a/keyboards/nk65/nk65.h +++ b/keyboards/novelkeys/nk65/nk65.h diff --git a/keyboards/nk65/readme.md b/keyboards/novelkeys/nk65/readme.md index 3bd04210d1..38f66500b9 100755 --- a/keyboards/nk65/readme.md +++ b/keyboards/novelkeys/nk65/readme.md @@ -19,7 +19,7 @@ NOTE: For PCBs with revision v1.4 or later please use nk65/v1_4 in the make comm Make example for this keyboard (after setting up your build environment): - make nk65:via + make novelkeys/nk65:via See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nk65/rules.mk b/keyboards/novelkeys/nk65/rules.mk index d64ce8e1f6..d64ce8e1f6 100755 --- a/keyboards/nk65/rules.mk +++ b/keyboards/novelkeys/nk65/rules.mk diff --git a/keyboards/nk65/v1_4/config.h b/keyboards/novelkeys/nk65/v1_4/config.h index 88629e5c99..88629e5c99 100755 --- a/keyboards/nk65/v1_4/config.h +++ b/keyboards/novelkeys/nk65/v1_4/config.h diff --git a/keyboards/nk65/v1_4/readme.md b/keyboards/novelkeys/nk65/v1_4/readme.md index 399919a8be..399919a8be 100755 --- a/keyboards/nk65/v1_4/readme.md +++ b/keyboards/novelkeys/nk65/v1_4/readme.md diff --git a/keyboards/nk65/v1_4/rules.mk b/keyboards/novelkeys/nk65/v1_4/rules.mk index 8b13789179..8b13789179 100755 --- a/keyboards/nk65/v1_4/rules.mk +++ b/keyboards/novelkeys/nk65/v1_4/rules.mk diff --git a/keyboards/nk87/config.h b/keyboards/novelkeys/nk87/config.h index 091d80efb8..091d80efb8 100755 --- a/keyboards/nk87/config.h +++ b/keyboards/novelkeys/nk87/config.h diff --git a/keyboards/nk87/halconf.h b/keyboards/novelkeys/nk87/halconf.h index fb0c214264..fb0c214264 100644 --- a/keyboards/nk87/halconf.h +++ b/keyboards/novelkeys/nk87/halconf.h diff --git a/keyboards/nk87/info.json b/keyboards/novelkeys/nk87/info.json index 5603ffd52b..5603ffd52b 100755 --- a/keyboards/nk87/info.json +++ b/keyboards/novelkeys/nk87/info.json diff --git a/keyboards/nk87/keymaps/default/keymap.c b/keyboards/novelkeys/nk87/keymaps/default/keymap.c index f5387d48de..f5387d48de 100755 --- a/keyboards/nk87/keymaps/default/keymap.c +++ b/keyboards/novelkeys/nk87/keymaps/default/keymap.c diff --git a/keyboards/nk87/keymaps/default/readme.md b/keyboards/novelkeys/nk87/keymaps/default/readme.md index c0ca436184..c0ca436184 100755 --- a/keyboards/nk87/keymaps/default/readme.md +++ b/keyboards/novelkeys/nk87/keymaps/default/readme.md diff --git a/keyboards/nk87/keymaps/via/keymap.c b/keyboards/novelkeys/nk87/keymaps/via/keymap.c index f8ada46952..f8ada46952 100755 --- a/keyboards/nk87/keymaps/via/keymap.c +++ b/keyboards/novelkeys/nk87/keymaps/via/keymap.c diff --git a/keyboards/nk87/keymaps/via/readme.md b/keyboards/novelkeys/nk87/keymaps/via/readme.md index 90253575e7..90253575e7 100755 --- a/keyboards/nk87/keymaps/via/readme.md +++ b/keyboards/novelkeys/nk87/keymaps/via/readme.md diff --git a/keyboards/geminate60/keymaps/via/rules.mk b/keyboards/novelkeys/nk87/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644..100755 --- a/keyboards/geminate60/keymaps/via/rules.mk +++ b/keyboards/novelkeys/nk87/keymaps/via/rules.mk diff --git a/keyboards/nk87/mcuconf.h b/keyboards/novelkeys/nk87/mcuconf.h index 1aa2fb55b4..1aa2fb55b4 100644 --- a/keyboards/nk87/mcuconf.h +++ b/keyboards/novelkeys/nk87/mcuconf.h diff --git a/keyboards/nk87/nk87.c b/keyboards/novelkeys/nk87/nk87.c index c90ba02ea4..c90ba02ea4 100755 --- a/keyboards/nk87/nk87.c +++ b/keyboards/novelkeys/nk87/nk87.c diff --git a/keyboards/nk87/nk87.h b/keyboards/novelkeys/nk87/nk87.h index d17b1fb4a0..d17b1fb4a0 100755 --- a/keyboards/nk87/nk87.h +++ b/keyboards/novelkeys/nk87/nk87.h diff --git a/keyboards/nk87/readme.md b/keyboards/novelkeys/nk87/readme.md index 9ea4d99718..0de3e08b40 100755 --- a/keyboards/nk87/readme.md +++ b/keyboards/novelkeys/nk87/readme.md @@ -14,7 +14,7 @@ This is a standard fixed layout TKL PCB. It supports VIA and full per-key RGB. Make example for this keyboard (after setting up your build environment): - make nk87:default + make novelkeys/nk87:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nk87/rules.mk b/keyboards/novelkeys/nk87/rules.mk index fb3055a2a8..fb3055a2a8 100755 --- a/keyboards/nk87/rules.mk +++ b/keyboards/novelkeys/nk87/rules.mk diff --git a/keyboards/novelpad/config.h b/keyboards/novelkeys/novelpad/config.h index a7947220ff..a7947220ff 100755 --- a/keyboards/novelpad/config.h +++ b/keyboards/novelkeys/novelpad/config.h diff --git a/keyboards/novelpad/info.json b/keyboards/novelkeys/novelpad/info.json index ed4a31236d..ed4a31236d 100644 --- a/keyboards/novelpad/info.json +++ b/keyboards/novelkeys/novelpad/info.json diff --git a/keyboards/novelpad/keymaps/0xdec/keymap.c b/keyboards/novelkeys/novelpad/keymaps/0xdec/keymap.c index bb8c977c92..bb8c977c92 100755 --- a/keyboards/novelpad/keymaps/0xdec/keymap.c +++ b/keyboards/novelkeys/novelpad/keymaps/0xdec/keymap.c diff --git a/keyboards/novelpad/keymaps/default/keymap.c b/keyboards/novelkeys/novelpad/keymaps/default/keymap.c index cbac67eaaa..cbac67eaaa 100755 --- a/keyboards/novelpad/keymaps/default/keymap.c +++ b/keyboards/novelkeys/novelpad/keymaps/default/keymap.c diff --git a/keyboards/novelpad/novelpad.c b/keyboards/novelkeys/novelpad/novelpad.c index 9f6ee7dae4..9f6ee7dae4 100755 --- a/keyboards/novelpad/novelpad.c +++ b/keyboards/novelkeys/novelpad/novelpad.c diff --git a/keyboards/novelpad/novelpad.h b/keyboards/novelkeys/novelpad/novelpad.h index 6650a67223..6650a67223 100755 --- a/keyboards/novelpad/novelpad.h +++ b/keyboards/novelkeys/novelpad/novelpad.h diff --git a/keyboards/novelpad/readme.md b/keyboards/novelkeys/novelpad/readme.md index 0cde8337ca..49773b8dc0 100644 --- a/keyboards/novelpad/readme.md +++ b/keyboards/novelkeys/novelpad/readme.md @@ -10,6 +10,6 @@ Hardware Availability: [Novelkeys.xyz](https://novelkeys.xyz) Make example for this keyboard (after setting up your build environment): - make novelpad:default + make novelkeys/novelpad:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/novelpad/rules.mk b/keyboards/novelkeys/novelpad/rules.mk index ecdb295257..ecdb295257 100755 --- a/keyboards/novelpad/rules.mk +++ b/keyboards/novelkeys/novelpad/rules.mk diff --git a/keyboards/planck/keymaps/thermal_printer/config.h b/keyboards/planck/keymaps/thermal_printer/config.h index 4ae9ced258..dd9d6a9d25 100644 --- a/keyboards/planck/keymaps/thermal_printer/config.h +++ b/keyboards/planck/keymaps/thermal_printer/config.h @@ -1,9 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#define SERIAL_UART_BAUD 19200 +#pragma once /* * MIDI options @@ -21,8 +16,3 @@ - etc. */ //#define MIDI_ADVANCED - -/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ -//#define MIDI_TONE_KEYCODE_OCTAVES 2 - - #endif
\ No newline at end of file diff --git a/keyboards/ploopyco/mouse/readme.md b/keyboards/ploopyco/mouse/readme.md index f7f072928b..af3cb3520f 100644 --- a/keyboards/ploopyco/mouse/readme.md +++ b/keyboards/ploopyco/mouse/readme.md @@ -39,7 +39,7 @@ This should allow you to more heavily customize the behavior. Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. -Additionally, you can change the DPI/CPI or speed of the krackball by calling `pmw_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. +Additionally, you can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. diff --git a/keyboards/ploopyco/trackball/readme.md b/keyboards/ploopyco/trackball/readme.md index e1885d149a..1648bd20f9 100644 --- a/keyboards/ploopyco/trackball/readme.md +++ b/keyboards/ploopyco/trackball/readme.md @@ -19,7 +19,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Revisions -There are two main revisions for the PloopyCo Tracball, everything up to 1.004, and 1.005-1.006. +There are two main revisions for the PloopyCo Trackball, everything up to 1.004, and 1.005-1.006. In the 1.005 revision, button for was changed from pin B5 to B6, and the debug LED pin was changed from F7 to B5. @@ -47,7 +47,7 @@ This should allow you to more heavily customize the behavior. Alternatively, the `process_wheel` and `process_mouse` functions can both be replaced too, to allow for even more functionality. -Additionally, you can change the DPI/CPI or speed of the trackball by calling `pmw_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. +Additionally, you can change the DPI/CPI or speed of the trackball by calling `pointing_device_set_cpi` at any time. Additionally, there is a `DPI_CONFIG` macro that will cycle through an array of options for the DPI. This is set to 1200, 1600, and 2400, but can be changed. 1600 is also set to the default. To configure/set your own array, there are two defines to use, `PLOOPY_DPI_OPTIONS` to set the array, and `PLOOPY_DPI_DEFAULT`. diff --git a/keyboards/ploopyco/trackball/trackball.c b/keyboards/ploopyco/trackball/trackball.c index 25b36574a5..f819958734 100644 --- a/keyboards/ploopyco/trackball/trackball.c +++ b/keyboards/ploopyco/trackball/trackball.c @@ -218,7 +218,7 @@ void keyboard_pre_init_kb(void) { } void pointing_device_init_kb(void) { - pmw3360_set_cpi(dpi_array[keyboard_config.dpi_config]); + pointing_device_set_cpi(dpi_array[keyboard_config.dpi_config]); // initialize the scroll wheel's optical encoder opt_encoder_init(); } diff --git a/keyboards/allison/allison.c b/keyboards/prototypist/allison/allison.c index 4ca8bd07de..4ca8bd07de 100644 --- a/keyboards/allison/allison.c +++ b/keyboards/prototypist/allison/allison.c diff --git a/keyboards/allison/allison.h b/keyboards/prototypist/allison/allison.h index e9078a82a1..e9078a82a1 100644 --- a/keyboards/allison/allison.h +++ b/keyboards/prototypist/allison/allison.h diff --git a/keyboards/allison/config.h b/keyboards/prototypist/allison/config.h index 85cb6ee9f5..85cb6ee9f5 100644 --- a/keyboards/allison/config.h +++ b/keyboards/prototypist/allison/config.h diff --git a/keyboards/allison/info.json b/keyboards/prototypist/allison/info.json index cd6b51f96e..cd6b51f96e 100644 --- a/keyboards/allison/info.json +++ b/keyboards/prototypist/allison/info.json diff --git a/keyboards/allison/keymaps/default/keymap.c b/keyboards/prototypist/allison/keymaps/default/keymap.c index 30fed354a4..30fed354a4 100644 --- a/keyboards/allison/keymaps/default/keymap.c +++ b/keyboards/prototypist/allison/keymaps/default/keymap.c diff --git a/keyboards/allison/keymaps/default/readme.md b/keyboards/prototypist/allison/keymaps/default/readme.md index 13f200dad3..13f200dad3 100644 --- a/keyboards/allison/keymaps/default/readme.md +++ b/keyboards/prototypist/allison/keymaps/default/readme.md diff --git a/keyboards/allison/keymaps/via/keymap.c b/keyboards/prototypist/allison/keymaps/via/keymap.c index 30fed354a4..30fed354a4 100644 --- a/keyboards/allison/keymaps/via/keymap.c +++ b/keyboards/prototypist/allison/keymaps/via/keymap.c diff --git a/keyboards/allison/keymaps/via/readme.md b/keyboards/prototypist/allison/keymaps/via/readme.md index b82bc8e79f..b82bc8e79f 100644 --- a/keyboards/allison/keymaps/via/readme.md +++ b/keyboards/prototypist/allison/keymaps/via/readme.md diff --git a/keyboards/gingham/keymaps/via/rules.mk b/keyboards/prototypist/allison/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/gingham/keymaps/via/rules.mk +++ b/keyboards/prototypist/allison/keymaps/via/rules.mk diff --git a/keyboards/allison/readme.md b/keyboards/prototypist/allison/readme.md index 60670cbad8..8101c3c715 100644 --- a/keyboards/allison/readme.md +++ b/keyboards/prototypist/allison/readme.md @@ -10,6 +10,6 @@ A custom luxurious 60 with F-row and Macro Make example for this keyboard (after setting up your build environment): - make allison:default + make prototypist/allison:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/allison/rules.mk b/keyboards/prototypist/allison/rules.mk index 1c4073c9ce..1c4073c9ce 100644 --- a/keyboards/allison/rules.mk +++ b/keyboards/prototypist/allison/rules.mk diff --git a/keyboards/allison_numpad/allison_numpad.c b/keyboards/prototypist/allison_numpad/allison_numpad.c index 16f36e3140..16f36e3140 100644 --- a/keyboards/allison_numpad/allison_numpad.c +++ b/keyboards/prototypist/allison_numpad/allison_numpad.c diff --git a/keyboards/allison_numpad/allison_numpad.h b/keyboards/prototypist/allison_numpad/allison_numpad.h index 9295e68668..9295e68668 100644 --- a/keyboards/allison_numpad/allison_numpad.h +++ b/keyboards/prototypist/allison_numpad/allison_numpad.h diff --git a/keyboards/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h index 581926c24c..581926c24c 100644 --- a/keyboards/allison_numpad/config.h +++ b/keyboards/prototypist/allison_numpad/config.h diff --git a/keyboards/allison_numpad/info.json b/keyboards/prototypist/allison_numpad/info.json index e644d8ec3b..e644d8ec3b 100644 --- a/keyboards/allison_numpad/info.json +++ b/keyboards/prototypist/allison_numpad/info.json diff --git a/keyboards/allison_numpad/keymaps/default/keymap.c b/keyboards/prototypist/allison_numpad/keymaps/default/keymap.c index 74310885c5..74310885c5 100644 --- a/keyboards/allison_numpad/keymaps/default/keymap.c +++ b/keyboards/prototypist/allison_numpad/keymaps/default/keymap.c diff --git a/keyboards/allison_numpad/keymaps/default/readme.md b/keyboards/prototypist/allison_numpad/keymaps/default/readme.md index b6b98a1815..b6b98a1815 100644 --- a/keyboards/allison_numpad/keymaps/default/readme.md +++ b/keyboards/prototypist/allison_numpad/keymaps/default/readme.md diff --git a/keyboards/allison_numpad/keymaps/via/keymap.c b/keyboards/prototypist/allison_numpad/keymaps/via/keymap.c index 74310885c5..74310885c5 100644 --- a/keyboards/allison_numpad/keymaps/via/keymap.c +++ b/keyboards/prototypist/allison_numpad/keymaps/via/keymap.c diff --git a/keyboards/allison_numpad/keymaps/via/readme.md b/keyboards/prototypist/allison_numpad/keymaps/via/readme.md index b82bc8e79f..b82bc8e79f 100644 --- a/keyboards/allison_numpad/keymaps/via/readme.md +++ b/keyboards/prototypist/allison_numpad/keymaps/via/readme.md diff --git a/keyboards/jisplit89/keymaps/via/rules.mk b/keyboards/prototypist/allison_numpad/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/jisplit89/keymaps/via/rules.mk +++ b/keyboards/prototypist/allison_numpad/keymaps/via/rules.mk diff --git a/keyboards/allison_numpad/readme.md b/keyboards/prototypist/allison_numpad/readme.md index 82992339e1..ea5e449b03 100644 --- a/keyboards/allison_numpad/readme.md +++ b/keyboards/prototypist/allison_numpad/readme.md @@ -10,6 +10,6 @@ A custom luxurious numpad to match Allison Make example for this keyboard (after setting up your build environment): - make allison_numpad:default + make prototypist/allison_numpad:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/allison_numpad/rules.mk b/keyboards/prototypist/allison_numpad/rules.mk index 3bf8aba9f4..3bf8aba9f4 100644 --- a/keyboards/allison_numpad/rules.mk +++ b/keyboards/prototypist/allison_numpad/rules.mk diff --git a/keyboards/delilah/config.h b/keyboards/rainkeebs/delilah/config.h index d07366a51d..d07366a51d 100644 --- a/keyboards/delilah/config.h +++ b/keyboards/rainkeebs/delilah/config.h diff --git a/keyboards/delilah/delilah.c b/keyboards/rainkeebs/delilah/delilah.c index b2e98b60fa..b2e98b60fa 100644 --- a/keyboards/delilah/delilah.c +++ b/keyboards/rainkeebs/delilah/delilah.c diff --git a/keyboards/delilah/delilah.h b/keyboards/rainkeebs/delilah/delilah.h index 64b25351b1..64b25351b1 100644 --- a/keyboards/delilah/delilah.h +++ b/keyboards/rainkeebs/delilah/delilah.h diff --git a/keyboards/delilah/info.json b/keyboards/rainkeebs/delilah/info.json index d6a378eeba..d6a378eeba 100644 --- a/keyboards/delilah/info.json +++ b/keyboards/rainkeebs/delilah/info.json diff --git a/keyboards/delilah/keymaps/default/keymap.c b/keyboards/rainkeebs/delilah/keymaps/default/keymap.c index ae00beadf5..ae00beadf5 100644 --- a/keyboards/delilah/keymaps/default/keymap.c +++ b/keyboards/rainkeebs/delilah/keymaps/default/keymap.c diff --git a/keyboards/delilah/keymaps/via/keymap.c b/keyboards/rainkeebs/delilah/keymaps/via/keymap.c index 3a6e0d9a20..3a6e0d9a20 100644 --- a/keyboards/delilah/keymaps/via/keymap.c +++ b/keyboards/rainkeebs/delilah/keymaps/via/keymap.c diff --git a/keyboards/kelowna/rgb64/keymaps/via/rules.mk b/keyboards/rainkeebs/delilah/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/kelowna/rgb64/keymaps/via/rules.mk +++ b/keyboards/rainkeebs/delilah/keymaps/via/rules.mk diff --git a/keyboards/delilah/readme.md b/keyboards/rainkeebs/delilah/readme.md index 8ba9d83188..cc8ad40d62 100644 --- a/keyboards/delilah/readme.md +++ b/keyboards/rainkeebs/delilah/readme.md @@ -11,12 +11,12 @@ A 12.25u, traditional stagger, 40% keyboard. Designed to keep another punctuatio Make example for this keyboard (after setting up your build environment): - qmk compile -kb delilah -kb default + qmk compile -kb rainkeebs/delilah -km default To reset the keyboard, hold the top left key while plugging in, or hit the reset button near the USB port Install example for this keyboard: - qmk flash -kb delilah -km default + qmk flash -kb rainkeebs/delilah -km default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/delilah/rules.mk b/keyboards/rainkeebs/delilah/rules.mk index 7c928a6cbf..7c928a6cbf 100644 --- a/keyboards/delilah/rules.mk +++ b/keyboards/rainkeebs/delilah/rules.mk diff --git a/keyboards/rainkeeb/config.h b/keyboards/rainkeebs/rainkeeb/config.h index 36c3a5d5bf..36c3a5d5bf 100644 --- a/keyboards/rainkeeb/config.h +++ b/keyboards/rainkeebs/rainkeeb/config.h diff --git a/keyboards/rainkeeb/info.json b/keyboards/rainkeebs/rainkeeb/info.json index b704d2d43b..b704d2d43b 100644 --- a/keyboards/rainkeeb/info.json +++ b/keyboards/rainkeebs/rainkeeb/info.json diff --git a/keyboards/rainkeeb/keymaps/default/keymap.c b/keyboards/rainkeebs/rainkeeb/keymaps/default/keymap.c index 08cf7462c3..08cf7462c3 100644 --- a/keyboards/rainkeeb/keymaps/default/keymap.c +++ b/keyboards/rainkeebs/rainkeeb/keymaps/default/keymap.c diff --git a/keyboards/rainkeeb/keymaps/via/keymap.c b/keyboards/rainkeebs/rainkeeb/keymaps/via/keymap.c index 08cf7462c3..08cf7462c3 100644 --- a/keyboards/rainkeeb/keymaps/via/keymap.c +++ b/keyboards/rainkeebs/rainkeeb/keymaps/via/keymap.c diff --git a/keyboards/ajisai74/keymaps/via/rules.mk b/keyboards/rainkeebs/rainkeeb/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/ajisai74/keymaps/via/rules.mk +++ b/keyboards/rainkeebs/rainkeeb/keymaps/via/rules.mk diff --git a/keyboards/rainkeeb/rainkeeb.c b/keyboards/rainkeebs/rainkeeb/rainkeeb.c index b13ecb2483..b13ecb2483 100644 --- a/keyboards/rainkeeb/rainkeeb.c +++ b/keyboards/rainkeebs/rainkeeb/rainkeeb.c diff --git a/keyboards/rainkeeb/rainkeeb.h b/keyboards/rainkeebs/rainkeeb/rainkeeb.h index f0179f087c..f0179f087c 100644 --- a/keyboards/rainkeeb/rainkeeb.h +++ b/keyboards/rainkeebs/rainkeeb/rainkeeb.h diff --git a/keyboards/rainkeeb/readme.md b/keyboards/rainkeebs/rainkeeb/readme.md index f2c759ebeb..6d82df0283 100644 --- a/keyboards/rainkeeb/readme.md +++ b/keyboards/rainkeebs/rainkeeb/readme.md @@ -13,12 +13,12 @@ This is the default layout, at least the base layer. By default the OLED display Make example for this keyboard (after setting up your build environment): - make rainkeeb:default + make rainkeebs/rainkeeb:default To put reset into bootloader mode just push the reset button from the left side of the board using a pair of tweezers or similar object. Install example for this keyboard: - make rainkeeb:default:flash + make rainkeebs/rainkeeb:default:flash See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/rainkeeb/rules.mk b/keyboards/rainkeebs/rainkeeb/rules.mk index a4b7fca0d1..a4b7fca0d1 100644 --- a/keyboards/rainkeeb/rules.mk +++ b/keyboards/rainkeebs/rainkeeb/rules.mk diff --git a/keyboards/yasui/config.h b/keyboards/rainkeebs/yasui/config.h index 7d41a9e7f9..7d41a9e7f9 100644 --- a/keyboards/yasui/config.h +++ b/keyboards/rainkeebs/yasui/config.h diff --git a/keyboards/yasui/info.json b/keyboards/rainkeebs/yasui/info.json index 019d4f94fc..019d4f94fc 100644 --- a/keyboards/yasui/info.json +++ b/keyboards/rainkeebs/yasui/info.json diff --git a/keyboards/yasui/keymaps/default/keymap.c b/keyboards/rainkeebs/yasui/keymaps/default/keymap.c index 3f90b06c41..3f90b06c41 100644 --- a/keyboards/yasui/keymaps/default/keymap.c +++ b/keyboards/rainkeebs/yasui/keymaps/default/keymap.c diff --git a/keyboards/yasui/keymaps/via/keymap.c b/keyboards/rainkeebs/yasui/keymaps/via/keymap.c index 3f90b06c41..3f90b06c41 100644 --- a/keyboards/yasui/keymaps/via/keymap.c +++ b/keyboards/rainkeebs/yasui/keymaps/via/keymap.c diff --git a/keyboards/kprepublic/bm68hsrgb/keymaps/via/rules.mk b/keyboards/rainkeebs/yasui/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/kprepublic/bm68hsrgb/keymaps/via/rules.mk +++ b/keyboards/rainkeebs/yasui/keymaps/via/rules.mk diff --git a/keyboards/yasui/readme.md b/keyboards/rainkeebs/yasui/readme.md index dfc20bbe6b..c167abf4a0 100644 --- a/keyboards/yasui/readme.md +++ b/keyboards/rainkeebs/yasui/readme.md @@ -11,12 +11,12 @@ A 10u ortho kit. Make example for this keyboard (after setting up your build environment): - qmk compile -kb yasui -kb default + qmk compile -kb rainkeebs/yasui -km default To reset the keyboard, hold the top left key while plugging in, or hit the reset button near the USB port Install example for this keyboard: - qmk flash -kb yasui -km default + qmk flash -kb rainkeebs/yasui -km default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/yasui/rules.mk b/keyboards/rainkeebs/yasui/rules.mk index bc14e746aa..bc14e746aa 100644 --- a/keyboards/yasui/rules.mk +++ b/keyboards/rainkeebs/yasui/rules.mk diff --git a/keyboards/yasui/yasui.c b/keyboards/rainkeebs/yasui/yasui.c index a87f7482a0..a87f7482a0 100644 --- a/keyboards/yasui/yasui.c +++ b/keyboards/rainkeebs/yasui/yasui.c diff --git a/keyboards/yasui/yasui.h b/keyboards/rainkeebs/yasui/yasui.h index 387b9a5ac8..387b9a5ac8 100644 --- a/keyboards/yasui/yasui.h +++ b/keyboards/rainkeebs/yasui/yasui.h diff --git a/keyboards/redox_w/config.h b/keyboards/redox_w/config.h index b480b072f9..c4aeb32d58 100644 --- a/keyboards/redox_w/config.h +++ b/keyboards/redox_w/config.h @@ -55,12 +55,3 @@ //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION - -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/redox_w/matrix.c b/keyboards/redox_w/matrix.c index 703987a939..fd25231d9e 100644 --- a/keyboards/redox_w/matrix.c +++ b/keyboards/redox_w/matrix.c @@ -13,89 +13,21 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - -__attribute__ ((weak)) -void matrix_init_quantum(void) { - matrix_init_kb(); -} - -__attribute__ ((weak)) -void matrix_scan_quantum(void) { - matrix_scan_kb(); -} - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} - -void matrix_init(void) { +#include "quantum.h" +#include "matrix.h" +#include "uart.h" - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[11] = {0}; @@ -105,58 +37,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 7; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 7; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - - matrix_scan_quantum(); - return 1; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/redox_w/rules.mk b/keyboards/redox_w/rules.mk index a8bd3a027a..8cb1736147 100644 --- a/keyboards/redox_w/rules.mk +++ b/keyboards/redox_w/rules.mk @@ -8,13 +8,16 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +CUSTOM_MATRIX = lite -# # project specific files -SRC += matrix.c serial_uart.c +# project specific files +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/redscarf_iiplus/verb/matrix.c b/keyboards/redscarf_iiplus/verb/matrix.c index 42cfb7c037..88ecb586b3 100755 --- a/keyboards/redscarf_iiplus/verb/matrix.c +++ b/keyboards/redscarf_iiplus/verb/matrix.c @@ -94,13 +94,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/redscarf_iiplus/verc/matrix.c b/keyboards/redscarf_iiplus/verc/matrix.c index 42cfb7c037..88ecb586b3 100755 --- a/keyboards/redscarf_iiplus/verc/matrix.c +++ b/keyboards/redscarf_iiplus/verc/matrix.c @@ -94,13 +94,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/redscarf_iiplus/verd/matrix.c b/keyboards/redscarf_iiplus/verd/matrix.c index 78d1191b68..d9dbb3c0a3 100644 --- a/keyboards/redscarf_iiplus/verd/matrix.c +++ b/keyboards/redscarf_iiplus/verd/matrix.c @@ -94,13 +94,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/rocketboard_16/rules.mk b/keyboards/rocketboard_16/rules.mk index d27da2c226..c07ebff427 100644 --- a/keyboards/rocketboard_16/rules.mk +++ b/keyboards/rocketboard_16/rules.mk @@ -8,7 +8,7 @@ MCU = STM32F103 MCU_LDSCRIPT = STM32F103xB_stm32duino_bootloader OPT_DEFS += -DBOOTLOADER_STM32DUINO BOARD = STM32_F103_STM32DUINO -STM32_BOOTLOADER_ADDRESS = 0x80000000 +BOOTLOADER_TYPE = stm32duino DFU_ARGS = -d 1EAF:0003 -a 2 -R DFU_SUFFIX_ARGS = -v 1EAF -p 0003 diff --git a/keyboards/naked64/.noci b/keyboards/salicylic_acid3/7skb/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked64/.noci +++ b/keyboards/salicylic_acid3/7skb/.noci diff --git a/keyboards/7skb/7skb.c b/keyboards/salicylic_acid3/7skb/7skb.c index 3044e02233..3044e02233 100644 --- a/keyboards/7skb/7skb.c +++ b/keyboards/salicylic_acid3/7skb/7skb.c diff --git a/keyboards/7skb/7skb.h b/keyboards/salicylic_acid3/7skb/7skb.h index 9e23d0ad3c..5043a46747 100644 --- a/keyboards/7skb/7skb.h +++ b/keyboards/salicylic_acid3/7skb/7skb.h @@ -2,6 +2,6 @@ #include "quantum.h" -#ifdef KEYBOARD_7skb_rev1 +#ifdef KEYBOARD_salicylic_acid3_7skb_rev1 #include "rev1.h" #endif diff --git a/keyboards/getta25/config.h b/keyboards/salicylic_acid3/7skb/config.h index cfb6bf4ffc..cfb6bf4ffc 100644 --- a/keyboards/getta25/config.h +++ b/keyboards/salicylic_acid3/7skb/config.h diff --git a/keyboards/7skb/info.json b/keyboards/salicylic_acid3/7skb/info.json index f85f32cb6d..f85f32cb6d 100644 --- a/keyboards/7skb/info.json +++ b/keyboards/salicylic_acid3/7skb/info.json diff --git a/keyboards/7skb/keymaps/default/config.h b/keyboards/salicylic_acid3/7skb/keymaps/default/config.h index 4b3496d856..4b3496d856 100644 --- a/keyboards/7skb/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/7skb/keymaps/default/config.h diff --git a/keyboards/7skb/keymaps/default/keymap.c b/keyboards/salicylic_acid3/7skb/keymaps/default/keymap.c index c56fb76fcb..c56fb76fcb 100644 --- a/keyboards/7skb/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/7skb/keymaps/default/keymap.c diff --git a/keyboards/7skb/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/config.h index cc4a3d4426..cc4a3d4426 100644 --- a/keyboards/7skb/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/config.h diff --git a/keyboards/7skb/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/keymap.c index ad12f49d5b..ad12f49d5b 100644 --- a/keyboards/7skb/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/keymap.c diff --git a/keyboards/7skb/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/7skb/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/7skb/keymaps/salicylic/rules.mk diff --git a/keyboards/7skb/keymaps/via/keymap.c b/keyboards/salicylic_acid3/7skb/keymaps/via/keymap.c index 7b0b76c76a..7b0b76c76a 100644 --- a/keyboards/7skb/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/7skb/keymaps/via/keymap.c diff --git a/keyboards/7skb/keymaps/via/readme.md b/keyboards/salicylic_acid3/7skb/keymaps/via/readme.md index 67c31de5c0..67c31de5c0 100644 --- a/keyboards/7skb/keymaps/via/readme.md +++ b/keyboards/salicylic_acid3/7skb/keymaps/via/readme.md diff --git a/keyboards/ergoarrows/keymaps/via/rules.mk b/keyboards/salicylic_acid3/7skb/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/ergoarrows/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/7skb/keymaps/via/rules.mk diff --git a/keyboards/7skb/readme.md b/keyboards/salicylic_acid3/7skb/readme.md index 18e4eef3ea..a3077f068a 100644 --- a/keyboards/7skb/readme.md +++ b/keyboards/salicylic_acid3/7skb/readme.md @@ -10,7 +10,7 @@ This is 63 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make 7skb:default + make salicylic_acid3/7skb/rev1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/7skb/rev1/config.h b/keyboards/salicylic_acid3/7skb/rev1/config.h index a74cd25c29..a74cd25c29 100644 --- a/keyboards/7skb/rev1/config.h +++ b/keyboards/salicylic_acid3/7skb/rev1/config.h diff --git a/keyboards/claw44/rev1/rev1.c b/keyboards/salicylic_acid3/7skb/rev1/rev1.c index 520a869e57..520a869e57 100644 --- a/keyboards/claw44/rev1/rev1.c +++ b/keyboards/salicylic_acid3/7skb/rev1/rev1.c diff --git a/keyboards/7skb/rev1/rev1.h b/keyboards/salicylic_acid3/7skb/rev1/rev1.h index 8ab845240d..8ab845240d 100644 --- a/keyboards/7skb/rev1/rev1.h +++ b/keyboards/salicylic_acid3/7skb/rev1/rev1.h diff --git a/keyboards/naked48/rev1/rules.mk b/keyboards/salicylic_acid3/7skb/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked48/rev1/rules.mk +++ b/keyboards/salicylic_acid3/7skb/rev1/rules.mk diff --git a/keyboards/7skb/rules.mk b/keyboards/salicylic_acid3/7skb/rules.mk index ea7399dc75..ea7399dc75 100644 --- a/keyboards/7skb/rules.mk +++ b/keyboards/salicylic_acid3/7skb/rules.mk diff --git a/keyboards/7splus/7splus.c b/keyboards/salicylic_acid3/7splus/7splus.c index ca94ab0efa..ca94ab0efa 100644 --- a/keyboards/7splus/7splus.c +++ b/keyboards/salicylic_acid3/7splus/7splus.c diff --git a/keyboards/7splus/7splus.h b/keyboards/salicylic_acid3/7splus/7splus.h index 55b9c24f9c..55b9c24f9c 100644 --- a/keyboards/7splus/7splus.h +++ b/keyboards/salicylic_acid3/7splus/7splus.h diff --git a/keyboards/7splus/config.h b/keyboards/salicylic_acid3/7splus/config.h index 8f3e32a52f..8f3e32a52f 100644 --- a/keyboards/7splus/config.h +++ b/keyboards/salicylic_acid3/7splus/config.h diff --git a/keyboards/7splus/info.json b/keyboards/salicylic_acid3/7splus/info.json index a87909c07b..a87909c07b 100644 --- a/keyboards/7splus/info.json +++ b/keyboards/salicylic_acid3/7splus/info.json diff --git a/keyboards/7splus/keymaps/default/keymap.c b/keyboards/salicylic_acid3/7splus/keymaps/default/keymap.c index 282bfaf661..282bfaf661 100644 --- a/keyboards/7splus/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/7splus/keymaps/default/keymap.c diff --git a/keyboards/7splus/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/7splus/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/config.h diff --git a/keyboards/7splus/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/keymap.c index cbe4e57dcf..cbe4e57dcf 100644 --- a/keyboards/7splus/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/keymap.c diff --git a/keyboards/7splus/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/rules.mk index 0bcbf86d5e..0bcbf86d5e 100644 --- a/keyboards/7splus/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/7splus/keymaps/salicylic/rules.mk diff --git a/keyboards/7splus/keymaps/via/config.h b/keyboards/salicylic_acid3/7splus/keymaps/via/config.h index 8a89da2eae..8a89da2eae 100644 --- a/keyboards/7splus/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/7splus/keymaps/via/config.h diff --git a/keyboards/7splus/keymaps/via/keymap.c b/keyboards/salicylic_acid3/7splus/keymaps/via/keymap.c index c17e1ce450..c17e1ce450 100644 --- a/keyboards/7splus/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/7splus/keymaps/via/keymap.c diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/rules.mk b/keyboards/salicylic_acid3/7splus/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/7splus/keymaps/via/rules.mk diff --git a/keyboards/7splus/readme.md b/keyboards/salicylic_acid3/7splus/readme.md index a733595249..ef6820a188 100644 --- a/keyboards/7splus/readme.md +++ b/keyboards/salicylic_acid3/7splus/readme.md @@ -10,7 +10,7 @@ This is 85 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make 7splus:default + make salicylic_acid3/7splus:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/7splus/rules.mk b/keyboards/salicylic_acid3/7splus/rules.mk index b0a2799e4b..b0a2799e4b 100644 --- a/keyboards/7splus/rules.mk +++ b/keyboards/salicylic_acid3/7splus/rules.mk diff --git a/keyboards/ajisai74/ajisai74.c b/keyboards/salicylic_acid3/ajisai74/ajisai74.c index 3c9342e6f7..3c9342e6f7 100644 --- a/keyboards/ajisai74/ajisai74.c +++ b/keyboards/salicylic_acid3/ajisai74/ajisai74.c diff --git a/keyboards/ajisai74/ajisai74.h b/keyboards/salicylic_acid3/ajisai74/ajisai74.h index 40c7d8b31b..40c7d8b31b 100644 --- a/keyboards/ajisai74/ajisai74.h +++ b/keyboards/salicylic_acid3/ajisai74/ajisai74.h diff --git a/keyboards/ajisai74/config.h b/keyboards/salicylic_acid3/ajisai74/config.h index e7a1555aea..e7a1555aea 100644 --- a/keyboards/ajisai74/config.h +++ b/keyboards/salicylic_acid3/ajisai74/config.h diff --git a/keyboards/ajisai74/info.json b/keyboards/salicylic_acid3/ajisai74/info.json index 6bf2d7af49..6bf2d7af49 100644 --- a/keyboards/ajisai74/info.json +++ b/keyboards/salicylic_acid3/ajisai74/info.json diff --git a/keyboards/ajisai74/keymaps/default/config.h b/keyboards/salicylic_acid3/ajisai74/keymaps/default/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/ajisai74/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/default/config.h diff --git a/keyboards/ajisai74/keymaps/default/keymap.c b/keyboards/salicylic_acid3/ajisai74/keymaps/default/keymap.c index 4bd68878aa..4bd68878aa 100644 --- a/keyboards/ajisai74/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/default/keymap.c diff --git a/keyboards/ajisai74/keymaps/jis/config.h b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/ajisai74/keymaps/jis/config.h +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/config.h diff --git a/keyboards/ajisai74/keymaps/jis/keymap.c b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/keymap.c index b0d31b03bd..b0d31b03bd 100644 --- a/keyboards/ajisai74/keymaps/jis/keymap.c +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/keymap.c diff --git a/keyboards/ajisai74/keymaps/jis/rules.mk b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/ajisai74/keymaps/jis/rules.mk +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/jis/rules.mk diff --git a/keyboards/ajisai74/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/ajisai74/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/config.h diff --git a/keyboards/ajisai74/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/keymap.c index f8b430af1c..f8b430af1c 100644 --- a/keyboards/ajisai74/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/keymap.c diff --git a/keyboards/ajisai74/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/ajisai74/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/salicylic/rules.mk diff --git a/keyboards/ajisai74/keymaps/via/config.h b/keyboards/salicylic_acid3/ajisai74/keymaps/via/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/ajisai74/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/via/config.h diff --git a/keyboards/ajisai74/keymaps/via/keymap.c b/keyboards/salicylic_acid3/ajisai74/keymaps/via/keymap.c index 79bd7541c5..79bd7541c5 100644 --- a/keyboards/ajisai74/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/via/keymap.c diff --git a/keyboards/nk1/keymaps/via/rules.mk b/keyboards/salicylic_acid3/ajisai74/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/nk1/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/ajisai74/keymaps/via/rules.mk diff --git a/keyboards/ajisai74/readme.md b/keyboards/salicylic_acid3/ajisai74/readme.md index af66ce0fc5..e274eb0ac4 100644 --- a/keyboards/ajisai74/readme.md +++ b/keyboards/salicylic_acid3/ajisai74/readme.md @@ -10,7 +10,7 @@ This is 74 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make ajisai74:default + make salicylic_acid3/ajisai74:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/ajisai74/rules.mk b/keyboards/salicylic_acid3/ajisai74/rules.mk index 8f9772df22..8f9772df22 100644 --- a/keyboards/ajisai74/rules.mk +++ b/keyboards/salicylic_acid3/ajisai74/rules.mk diff --git a/keyboards/ergoarrows/config.h b/keyboards/salicylic_acid3/ergoarrows/config.h index ae13e20014..ae13e20014 100644 --- a/keyboards/ergoarrows/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/config.h diff --git a/keyboards/ergoarrows/ergoarrows.c b/keyboards/salicylic_acid3/ergoarrows/ergoarrows.c index 7d2c11e6ec..7d2c11e6ec 100644 --- a/keyboards/ergoarrows/ergoarrows.c +++ b/keyboards/salicylic_acid3/ergoarrows/ergoarrows.c diff --git a/keyboards/ergoarrows/ergoarrows.h b/keyboards/salicylic_acid3/ergoarrows/ergoarrows.h index 7944337b4e..7944337b4e 100644 --- a/keyboards/ergoarrows/ergoarrows.h +++ b/keyboards/salicylic_acid3/ergoarrows/ergoarrows.h diff --git a/keyboards/ergoarrows/info.json b/keyboards/salicylic_acid3/ergoarrows/info.json index a625476e79..a625476e79 100644 --- a/keyboards/ergoarrows/info.json +++ b/keyboards/salicylic_acid3/ergoarrows/info.json diff --git a/keyboards/ergoarrows/keymaps/default/config.h b/keyboards/salicylic_acid3/ergoarrows/keymaps/default/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/ergoarrows/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/default/config.h diff --git a/keyboards/ergoarrows/keymaps/default/keymap.c b/keyboards/salicylic_acid3/ergoarrows/keymaps/default/keymap.c index eda419d72c..eda419d72c 100644 --- a/keyboards/ergoarrows/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/default/keymap.c diff --git a/keyboards/ergoarrows/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/ergoarrows/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/config.h diff --git a/keyboards/ergoarrows/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/keymap.c index c841371dba..c841371dba 100644 --- a/keyboards/ergoarrows/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/salicylic/keymap.c diff --git a/keyboards/ergoarrows/keymaps/via/config.h b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/ergoarrows/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/config.h diff --git a/keyboards/ergoarrows/keymaps/via/keymap.c b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/keymap.c index 6bc8ec95ef..6bc8ec95ef 100644 --- a/keyboards/ergoarrows/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/keymap.c diff --git a/keyboards/nknl7en/keymaps/via/rules.mk b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/nknl7en/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/via/rules.mk diff --git a/keyboards/ergoarrows/readme.md b/keyboards/salicylic_acid3/ergoarrows/readme.md index 00932548d1..93ad989415 100644 --- a/keyboards/ergoarrows/readme.md +++ b/keyboards/salicylic_acid3/ergoarrows/readme.md @@ -10,7 +10,7 @@ This is 76 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make ergoarrows:default + make salicylic_acid3/ergoarrows:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/ergoarrows/rules.mk b/keyboards/salicylic_acid3/ergoarrows/rules.mk index aba3644c9e..aba3644c9e 100644 --- a/keyboards/ergoarrows/rules.mk +++ b/keyboards/salicylic_acid3/ergoarrows/rules.mk diff --git a/keyboards/setta21/rev1/.noci b/keyboards/salicylic_acid3/getta25/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/setta21/rev1/.noci +++ b/keyboards/salicylic_acid3/getta25/.noci diff --git a/keyboards/naked64/config.h b/keyboards/salicylic_acid3/getta25/config.h index cfb6bf4ffc..cfb6bf4ffc 100644 --- a/keyboards/naked64/config.h +++ b/keyboards/salicylic_acid3/getta25/config.h diff --git a/keyboards/getta25/getta25.c b/keyboards/salicylic_acid3/getta25/getta25.c index 4f8cc63b42..4f8cc63b42 100644 --- a/keyboards/getta25/getta25.c +++ b/keyboards/salicylic_acid3/getta25/getta25.c diff --git a/keyboards/getta25/getta25.h b/keyboards/salicylic_acid3/getta25/getta25.h index ff44820173..67632bba4d 100644 --- a/keyboards/getta25/getta25.h +++ b/keyboards/salicylic_acid3/getta25/getta25.h @@ -2,6 +2,6 @@ #include "quantum.h" -#ifdef KEYBOARD_getta25_rev1 +#ifdef KEYBOARD_salicylic_acid3_getta25_rev1 #include "rev1.h" #endif diff --git a/keyboards/getta25/info.json b/keyboards/salicylic_acid3/getta25/info.json index 980b5142db..980b5142db 100644 --- a/keyboards/getta25/info.json +++ b/keyboards/salicylic_acid3/getta25/info.json diff --git a/keyboards/getta25/keymaps/default/config.h b/keyboards/salicylic_acid3/getta25/keymaps/default/config.h index 8c4e1f5129..8c4e1f5129 100644 --- a/keyboards/getta25/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/getta25/keymaps/default/config.h diff --git a/keyboards/getta25/keymaps/default/keymap.c b/keyboards/salicylic_acid3/getta25/keymaps/default/keymap.c index a70df01c18..a70df01c18 100644 --- a/keyboards/getta25/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/getta25/keymaps/default/keymap.c diff --git a/keyboards/getta25/keymaps/oled/config.h b/keyboards/salicylic_acid3/getta25/keymaps/oled/config.h index be988915c2..be988915c2 100644 --- a/keyboards/getta25/keymaps/oled/config.h +++ b/keyboards/salicylic_acid3/getta25/keymaps/oled/config.h diff --git a/keyboards/getta25/keymaps/oled/glcdfont.c b/keyboards/salicylic_acid3/getta25/keymaps/oled/glcdfont.c index 939db32ca6..939db32ca6 100644 --- a/keyboards/getta25/keymaps/oled/glcdfont.c +++ b/keyboards/salicylic_acid3/getta25/keymaps/oled/glcdfont.c diff --git a/keyboards/getta25/keymaps/oled/keymap.c b/keyboards/salicylic_acid3/getta25/keymaps/oled/keymap.c index 7d8151b86d..7d8151b86d 100644 --- a/keyboards/getta25/keymaps/oled/keymap.c +++ b/keyboards/salicylic_acid3/getta25/keymaps/oled/keymap.c diff --git a/keyboards/getta25/keymaps/oled/rules.mk b/keyboards/salicylic_acid3/getta25/keymaps/oled/rules.mk index d34d066ded..d34d066ded 100644 --- a/keyboards/getta25/keymaps/oled/rules.mk +++ b/keyboards/salicylic_acid3/getta25/keymaps/oled/rules.mk diff --git a/keyboards/getta25/readme.md b/keyboards/salicylic_acid3/getta25/readme.md index 886e52a2ea..2f3e9d1f1b 100644 --- a/keyboards/getta25/readme.md +++ b/keyboards/salicylic_acid3/getta25/readme.md @@ -10,7 +10,7 @@ This is 25 keys tenkeypad. Make example for this keyboard (after setting up your build environment): - make getta25:default + make salicylic_acid3/getta25/rev1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/getta25/rev1/config.h b/keyboards/salicylic_acid3/getta25/rev1/config.h index 740a9f3fbd..740a9f3fbd 100644 --- a/keyboards/getta25/rev1/config.h +++ b/keyboards/salicylic_acid3/getta25/rev1/config.h diff --git a/keyboards/getta25/rev1/rev1.c b/keyboards/salicylic_acid3/getta25/rev1/rev1.c index 520a869e57..520a869e57 100644 --- a/keyboards/getta25/rev1/rev1.c +++ b/keyboards/salicylic_acid3/getta25/rev1/rev1.c diff --git a/keyboards/getta25/rev1/rev1.h b/keyboards/salicylic_acid3/getta25/rev1/rev1.h index 98f4318a6a..98f4318a6a 100644 --- a/keyboards/getta25/rev1/rev1.h +++ b/keyboards/salicylic_acid3/getta25/rev1/rev1.h diff --git a/keyboards/treadstone48/rev1/rules.mk b/keyboards/salicylic_acid3/getta25/rev1/rules.mk index fff00a1b51..fff00a1b51 100644 --- a/keyboards/treadstone48/rev1/rules.mk +++ b/keyboards/salicylic_acid3/getta25/rev1/rules.mk diff --git a/keyboards/getta25/rules.mk b/keyboards/salicylic_acid3/getta25/rules.mk index 54265d2285..54265d2285 100644 --- a/keyboards/getta25/rules.mk +++ b/keyboards/salicylic_acid3/getta25/rules.mk diff --git a/keyboards/treadstone32/lite/.noci b/keyboards/salicylic_acid3/jisplit89/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/treadstone32/lite/.noci +++ b/keyboards/salicylic_acid3/jisplit89/.noci diff --git a/keyboards/jisplit89/config.h b/keyboards/salicylic_acid3/jisplit89/config.h index c9b55e7a03..c9b55e7a03 100644 --- a/keyboards/jisplit89/config.h +++ b/keyboards/salicylic_acid3/jisplit89/config.h diff --git a/keyboards/jisplit89/info.json b/keyboards/salicylic_acid3/jisplit89/info.json index 4f138a5262..4f138a5262 100644 --- a/keyboards/jisplit89/info.json +++ b/keyboards/salicylic_acid3/jisplit89/info.json diff --git a/keyboards/jisplit89/jisplit89.c b/keyboards/salicylic_acid3/jisplit89/jisplit89.c index 0f03aa4ce2..0f03aa4ce2 100644 --- a/keyboards/jisplit89/jisplit89.c +++ b/keyboards/salicylic_acid3/jisplit89/jisplit89.c diff --git a/keyboards/jisplit89/jisplit89.h b/keyboards/salicylic_acid3/jisplit89/jisplit89.h index b59b5a66a2..8de2326de6 100644 --- a/keyboards/jisplit89/jisplit89.h +++ b/keyboards/salicylic_acid3/jisplit89/jisplit89.h @@ -17,6 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#ifdef KEYBOARD_jisplit89_rev1 +#ifdef KEYBOARD_salicylic_acid3_jisplit89_rev1 #include "rev1.h" #endif diff --git a/keyboards/jisplit89/keymaps/default/keymap.c b/keyboards/salicylic_acid3/jisplit89/keymaps/default/keymap.c index e782a4b451..e782a4b451 100644 --- a/keyboards/jisplit89/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/default/keymap.c diff --git a/keyboards/jisplit89/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/config.h index 81ee8ef785..81ee8ef785 100644 --- a/keyboards/jisplit89/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/config.h diff --git a/keyboards/jisplit89/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/keymap.c index ffd3b853b5..ffd3b853b5 100644 --- a/keyboards/jisplit89/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/keymap.c diff --git a/keyboards/jisplit89/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/rules.mk index 8db2280906..8db2280906 100644 --- a/keyboards/jisplit89/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/salicylic/rules.mk diff --git a/keyboards/jisplit89/keymaps/via/config.h b/keyboards/salicylic_acid3/jisplit89/keymaps/via/config.h index 08bcdab701..08bcdab701 100644 --- a/keyboards/jisplit89/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/via/config.h diff --git a/keyboards/jisplit89/keymaps/via/keymap.c b/keyboards/salicylic_acid3/jisplit89/keymaps/via/keymap.c index b2ceacb0e6..b2ceacb0e6 100644 --- a/keyboards/jisplit89/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/via/keymap.c diff --git a/keyboards/ls_60/keymaps/via/rules.mk b/keyboards/salicylic_acid3/jisplit89/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/ls_60/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/jisplit89/keymaps/via/rules.mk diff --git a/keyboards/jisplit89/readme.md b/keyboards/salicylic_acid3/jisplit89/readme.md index d222874577..df0994e109 100644 --- a/keyboards/jisplit89/readme.md +++ b/keyboards/salicylic_acid3/jisplit89/readme.md @@ -10,7 +10,7 @@ This is 89 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make jisplit89:default + make salicylic_acid3/jisplit89/rev1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/jisplit89/rev1/config.h b/keyboards/salicylic_acid3/jisplit89/rev1/config.h index ee5f2ca0bc..ee5f2ca0bc 100644 --- a/keyboards/jisplit89/rev1/config.h +++ b/keyboards/salicylic_acid3/jisplit89/rev1/config.h diff --git a/keyboards/jisplit89/rev1/rev1.c b/keyboards/salicylic_acid3/jisplit89/rev1/rev1.c index 13e201e63a..13e201e63a 100644 --- a/keyboards/jisplit89/rev1/rev1.c +++ b/keyboards/salicylic_acid3/jisplit89/rev1/rev1.c diff --git a/keyboards/jisplit89/rev1/rev1.h b/keyboards/salicylic_acid3/jisplit89/rev1/rev1.h index 71515f5ef6..71515f5ef6 100644 --- a/keyboards/jisplit89/rev1/rev1.h +++ b/keyboards/salicylic_acid3/jisplit89/rev1/rev1.h diff --git a/keyboards/naked60/rev1/rules.mk b/keyboards/salicylic_acid3/jisplit89/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked60/rev1/rules.mk +++ b/keyboards/salicylic_acid3/jisplit89/rev1/rules.mk diff --git a/keyboards/jisplit89/rules.mk b/keyboards/salicylic_acid3/jisplit89/rules.mk index 5427cabfa2..5427cabfa2 100644 --- a/keyboards/jisplit89/rules.mk +++ b/keyboards/salicylic_acid3/jisplit89/rules.mk diff --git a/keyboards/nafuda/config.h b/keyboards/salicylic_acid3/nafuda/config.h index 22e17c6cc7..22e17c6cc7 100644 --- a/keyboards/nafuda/config.h +++ b/keyboards/salicylic_acid3/nafuda/config.h diff --git a/keyboards/nafuda/info.json b/keyboards/salicylic_acid3/nafuda/info.json index d418341d19..d418341d19 100644 --- a/keyboards/nafuda/info.json +++ b/keyboards/salicylic_acid3/nafuda/info.json diff --git a/keyboards/nafuda/keymaps/default/config.h b/keyboards/salicylic_acid3/nafuda/keymaps/default/config.h index e35fe2ccd7..e35fe2ccd7 100644 --- a/keyboards/nafuda/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/nafuda/keymaps/default/config.h diff --git a/keyboards/nafuda/keymaps/default/keymap.c b/keyboards/salicylic_acid3/nafuda/keymaps/default/keymap.c index f0baff6c22..f0baff6c22 100644 --- a/keyboards/nafuda/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/nafuda/keymaps/default/keymap.c diff --git a/keyboards/nafuda/keymaps/default/readme.md b/keyboards/salicylic_acid3/nafuda/keymaps/default/readme.md index b84276bf8a..b84276bf8a 100644 --- a/keyboards/nafuda/keymaps/default/readme.md +++ b/keyboards/salicylic_acid3/nafuda/keymaps/default/readme.md diff --git a/keyboards/nafuda/nafuda.c b/keyboards/salicylic_acid3/nafuda/nafuda.c index 334b3dab27..334b3dab27 100644 --- a/keyboards/nafuda/nafuda.c +++ b/keyboards/salicylic_acid3/nafuda/nafuda.c diff --git a/keyboards/nafuda/nafuda.h b/keyboards/salicylic_acid3/nafuda/nafuda.h index 008a9c16f4..008a9c16f4 100644 --- a/keyboards/nafuda/nafuda.h +++ b/keyboards/salicylic_acid3/nafuda/nafuda.h diff --git a/keyboards/nafuda/readme.md b/keyboards/salicylic_acid3/nafuda/readme.md index 73007ed01e..5df9b5df0f 100644 --- a/keyboards/nafuda/readme.md +++ b/keyboards/salicylic_acid3/nafuda/readme.md @@ -10,7 +10,7 @@ This is 7 keys cursor macropad. Make example for this keyboard (after setting up your build environment): - make nafuda:default + make salicylic_acid3/nafuda:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nafuda/rules.mk b/keyboards/salicylic_acid3/nafuda/rules.mk index e9d90e7ad8..e9d90e7ad8 100644 --- a/keyboards/nafuda/rules.mk +++ b/keyboards/salicylic_acid3/nafuda/rules.mk diff --git a/keyboards/treadstone32/rev1/.noci b/keyboards/salicylic_acid3/naked48/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/treadstone32/rev1/.noci +++ b/keyboards/salicylic_acid3/naked48/.noci diff --git a/keyboards/naked48/config.h b/keyboards/salicylic_acid3/naked48/config.h index fae55d19f7..fae55d19f7 100644 --- a/keyboards/naked48/config.h +++ b/keyboards/salicylic_acid3/naked48/config.h diff --git a/keyboards/naked48/info.json b/keyboards/salicylic_acid3/naked48/info.json index 8186a6ba5b..8186a6ba5b 100644 --- a/keyboards/naked48/info.json +++ b/keyboards/salicylic_acid3/naked48/info.json diff --git a/keyboards/naked48/keymaps/default/config.h b/keyboards/salicylic_acid3/naked48/keymaps/default/config.h index 0e452bdb4a..0e452bdb4a 100644 --- a/keyboards/naked48/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/default/config.h diff --git a/keyboards/naked48/keymaps/default/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/default/keymap.c index e145c02e32..e145c02e32 100644 --- a/keyboards/naked48/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/default/keymap.c diff --git a/keyboards/naked48/keymaps/default/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/default/readme.md index a28ad8c52c..a28ad8c52c 100644 --- a/keyboards/naked48/keymaps/default/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/default/readme.md diff --git a/keyboards/treadstone48/rev2/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/default/rules.mk index d29d9074a0..d29d9074a0 100644 --- a/keyboards/treadstone48/rev2/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/default/rules.mk diff --git a/keyboards/naked48/keymaps/default_with_nafuda/config.h b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/config.h index 314fe55c30..314fe55c30 100644 --- a/keyboards/naked48/keymaps/default_with_nafuda/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/config.h diff --git a/keyboards/naked48/keymaps/default_with_nafuda/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/keymap.c index f5d0772aa4..f5d0772aa4 100644 --- a/keyboards/naked48/keymaps/default_with_nafuda/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/keymap.c diff --git a/keyboards/naked48/keymaps/default_with_nafuda/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/readme.md index 417b44133b..417b44133b 100644 --- a/keyboards/naked48/keymaps/default_with_nafuda/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/readme.md diff --git a/keyboards/naked48/keymaps/default_with_nafuda/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/rules.mk index 6c605daecf..6c605daecf 100644 --- a/keyboards/naked48/keymaps/default_with_nafuda/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_nafuda/rules.mk diff --git a/keyboards/naked48/keymaps/default_with_setta21/config.h b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/config.h index 2ad4d0adeb..2ad4d0adeb 100644 --- a/keyboards/naked48/keymaps/default_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/config.h diff --git a/keyboards/naked48/keymaps/default_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/keymap.c index f6e460588c..f6e460588c 100644 --- a/keyboards/naked48/keymaps/default_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/keymap.c diff --git a/keyboards/naked48/keymaps/default_with_setta21/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/readme.md index 6e2a3441d2..6e2a3441d2 100644 --- a/keyboards/naked48/keymaps/default_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/default_with_setta21/readme.md diff --git a/keyboards/naked48/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/config.h index 71a43e208c..71a43e208c 100644 --- a/keyboards/naked48/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/config.h diff --git a/keyboards/naked48/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/keymap.c index dddb6c0432..dddb6c0432 100644 --- a/keyboards/naked48/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/keymap.c diff --git a/keyboards/naked48/keymaps/salicylic/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/readme.md index 6563bb46ff..6563bb46ff 100644 --- a/keyboards/naked48/keymaps/salicylic/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/readme.md diff --git a/keyboards/naked48/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/rules.mk index bdf3488cc1..bdf3488cc1 100644 --- a/keyboards/naked48/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic/rules.mk diff --git a/keyboards/naked48/keymaps/salicylic_with_nafuda/config.h b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/config.h index 7ce6416010..7ce6416010 100644 --- a/keyboards/naked48/keymaps/salicylic_with_nafuda/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/config.h diff --git a/keyboards/naked48/keymaps/salicylic_with_nafuda/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/keymap.c index 7566d4c00a..7566d4c00a 100644 --- a/keyboards/naked48/keymaps/salicylic_with_nafuda/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/keymap.c diff --git a/keyboards/naked48/keymaps/salicylic_with_nafuda/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/readme.md index 15e34e188c..15e34e188c 100644 --- a/keyboards/naked48/keymaps/salicylic_with_nafuda/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/readme.md diff --git a/keyboards/naked48/keymaps/salicylic_with_nafuda/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/rules.mk index f76b955efd..f76b955efd 100644 --- a/keyboards/naked48/keymaps/salicylic_with_nafuda/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_nafuda/rules.mk diff --git a/keyboards/naked48/keymaps/salicylic_with_setta21/config.h b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/config.h index 2ad4d0adeb..2ad4d0adeb 100644 --- a/keyboards/naked48/keymaps/salicylic_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/config.h diff --git a/keyboards/naked48/keymaps/salicylic_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/keymap.c index 1925067d22..1925067d22 100644 --- a/keyboards/naked48/keymaps/salicylic_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/keymap.c diff --git a/keyboards/naked48/keymaps/salicylic_with_setta21/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/readme.md index 2c76bc2907..2c76bc2907 100644 --- a/keyboards/naked48/keymaps/salicylic_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/readme.md diff --git a/keyboards/naked64/keymaps/default/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked64/keymaps/default/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/salicylic_with_setta21/rules.mk diff --git a/keyboards/naked48/keymaps/scheiklp/config.h b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/config.h index 8c11ad6078..8c11ad6078 100644 --- a/keyboards/naked48/keymaps/scheiklp/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/config.h diff --git a/keyboards/naked48/keymaps/scheiklp/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/keymap.c index d8549e0e8b..d8549e0e8b 100644 --- a/keyboards/naked48/keymaps/scheiklp/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/keymap.c diff --git a/keyboards/naked48/keymaps/scheiklp/readme.md b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/readme.md index a28ad8c52c..a28ad8c52c 100644 --- a/keyboards/naked48/keymaps/scheiklp/readme.md +++ b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/readme.md diff --git a/keyboards/naked48/keymaps/scheiklp/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/rules.mk index 0b64091e58..0b64091e58 100644 --- a/keyboards/naked48/keymaps/scheiklp/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/scheiklp/rules.mk diff --git a/keyboards/naked48/keymaps/via/config.h b/keyboards/salicylic_acid3/naked48/keymaps/via/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/naked48/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/via/config.h diff --git a/keyboards/naked48/keymaps/via/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/via/keymap.c index 8d0c6f901b..8d0c6f901b 100644 --- a/keyboards/naked48/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/via/keymap.c diff --git a/keyboards/naked48/keymaps/via/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/via/rules.mk index 8712957dfa..8712957dfa 100644 --- a/keyboards/naked48/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/via/rules.mk diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/config.h b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/config.h index 0920b2bc35..0920b2bc35 100644 --- a/keyboards/naked48/keymaps/via_rgb_matrix/config.h +++ b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/config.h diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/keymap.c b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/keymap.c index 8d0c6f901b..8d0c6f901b 100644 --- a/keyboards/naked48/keymaps/via_rgb_matrix/keymap.c +++ b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/keymap.c diff --git a/keyboards/naked48/keymaps/via_rgb_matrix/rules.mk b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/rules.mk index 49bb80ca31..49bb80ca31 100644 --- a/keyboards/naked48/keymaps/via_rgb_matrix/rules.mk +++ b/keyboards/salicylic_acid3/naked48/keymaps/via_rgb_matrix/rules.mk diff --git a/keyboards/naked48/naked48.c b/keyboards/salicylic_acid3/naked48/naked48.c index c2a10ed3e6..c2a10ed3e6 100644 --- a/keyboards/naked48/naked48.c +++ b/keyboards/salicylic_acid3/naked48/naked48.c diff --git a/keyboards/naked48/naked48.h b/keyboards/salicylic_acid3/naked48/naked48.h index e210cf0f57..bbfa6d2e84 100644 --- a/keyboards/naked48/naked48.h +++ b/keyboards/salicylic_acid3/naked48/naked48.h @@ -19,6 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" -#ifdef KEYBOARD_naked48_rev1 +#ifdef KEYBOARD_salicylic_acid3_naked48_rev1 #include "rev1.h" #endif diff --git a/keyboards/naked48/readme.md b/keyboards/salicylic_acid3/naked48/readme.md index bb16571efd..c3a826f13e 100644 --- a/keyboards/naked48/readme.md +++ b/keyboards/salicylic_acid3/naked48/readme.md @@ -10,7 +10,7 @@ Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_ Make example for this keyboard (after setting up your build environment): - make naked48:default:avrdude + make salicylic_acid3/naked48/rev1:default:avrdude See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/naked48/rev1/config.h b/keyboards/salicylic_acid3/naked48/rev1/config.h index b79384a48a..b79384a48a 100644 --- a/keyboards/naked48/rev1/config.h +++ b/keyboards/salicylic_acid3/naked48/rev1/config.h diff --git a/keyboards/naked48/rev1/rev1.c b/keyboards/salicylic_acid3/naked48/rev1/rev1.c index 0129b6c1a3..0129b6c1a3 100644 --- a/keyboards/naked48/rev1/rev1.c +++ b/keyboards/salicylic_acid3/naked48/rev1/rev1.c diff --git a/keyboards/naked48/rev1/rev1.h b/keyboards/salicylic_acid3/naked48/rev1/rev1.h index eee5c4185f..eee5c4185f 100644 --- a/keyboards/naked48/rev1/rev1.h +++ b/keyboards/salicylic_acid3/naked48/rev1/rev1.h diff --git a/keyboards/naked64/keymaps/default_with_setta21/rules.mk b/keyboards/salicylic_acid3/naked48/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked64/keymaps/default_with_setta21/rules.mk +++ b/keyboards/salicylic_acid3/naked48/rev1/rules.mk diff --git a/keyboards/naked48/rules.mk b/keyboards/salicylic_acid3/naked48/rules.mk index 6e848a2815..6e848a2815 100644 --- a/keyboards/naked48/rules.mk +++ b/keyboards/salicylic_acid3/naked48/rules.mk diff --git a/keyboards/naked60/config.h b/keyboards/salicylic_acid3/naked60/config.h index fae55d19f7..fae55d19f7 100644 --- a/keyboards/naked60/config.h +++ b/keyboards/salicylic_acid3/naked60/config.h diff --git a/keyboards/naked60/info.json b/keyboards/salicylic_acid3/naked60/info.json index 8ec020ae72..8ec020ae72 100644 --- a/keyboards/naked60/info.json +++ b/keyboards/salicylic_acid3/naked60/info.json diff --git a/keyboards/naked60/keymaps/333fred/config.h b/keyboards/salicylic_acid3/naked60/keymaps/333fred/config.h index d19e77f044..d19e77f044 100644 --- a/keyboards/naked60/keymaps/333fred/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/333fred/config.h diff --git a/keyboards/naked60/keymaps/333fred/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/333fred/keymap.c index 7185ec78b7..7185ec78b7 100644 --- a/keyboards/naked60/keymaps/333fred/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/333fred/keymap.c diff --git a/keyboards/naked60/keymaps/default/config.h b/keyboards/salicylic_acid3/naked60/keymaps/default/config.h index 4b3496d856..4b3496d856 100644 --- a/keyboards/naked60/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/default/config.h diff --git a/keyboards/naked60/keymaps/default/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/default/keymap.c index 3a95e73244..3a95e73244 100644 --- a/keyboards/naked60/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/default/keymap.c diff --git a/keyboards/naked60/keymaps/default/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/default/readme.md index c6f3342b21..c6f3342b21 100644 --- a/keyboards/naked60/keymaps/default/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/default/readme.md diff --git a/keyboards/naked60/keymaps/default_with_nafuda/config.h b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/config.h index 0761e5b6d3..0761e5b6d3 100644 --- a/keyboards/naked60/keymaps/default_with_nafuda/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/config.h diff --git a/keyboards/naked60/keymaps/default_with_nafuda/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/keymap.c index be8c9f3ec9..be8c9f3ec9 100644 --- a/keyboards/naked60/keymaps/default_with_nafuda/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/keymap.c diff --git a/keyboards/naked60/keymaps/default_with_nafuda/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/readme.md index 27201090df..27201090df 100644 --- a/keyboards/naked60/keymaps/default_with_nafuda/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_nafuda/readme.md diff --git a/keyboards/naked60/keymaps/default_with_setta21/config.h b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/config.h index 0761e5b6d3..0761e5b6d3 100644 --- a/keyboards/naked60/keymaps/default_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/config.h diff --git a/keyboards/naked60/keymaps/default_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/keymap.c index 95a273a388..95a273a388 100644 --- a/keyboards/naked60/keymaps/default_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/keymap.c diff --git a/keyboards/naked60/keymaps/default_with_setta21/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/readme.md index 750a8b3508..750a8b3508 100644 --- a/keyboards/naked60/keymaps/default_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/default_with_setta21/readme.md diff --git a/keyboards/naked60/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/config.h index 4b3496d856..4b3496d856 100644 --- a/keyboards/naked60/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/config.h diff --git a/keyboards/naked60/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/keymap.c index 9be4bcb422..9be4bcb422 100644 --- a/keyboards/naked60/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/keymap.c diff --git a/keyboards/naked60/keymaps/salicylic/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/readme.md index 2901dbf7fa..2901dbf7fa 100644 --- a/keyboards/naked60/keymaps/salicylic/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/readme.md diff --git a/keyboards/naked60/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/naked60/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic/rules.mk diff --git a/keyboards/naked60/keymaps/salicylic_with_nafuda/config.h b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/config.h index 47da6d4418..47da6d4418 100644 --- a/keyboards/naked60/keymaps/salicylic_with_nafuda/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/config.h diff --git a/keyboards/naked60/keymaps/salicylic_with_nafuda/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/keymap.c index 8fb0ce26f1..8fb0ce26f1 100644 --- a/keyboards/naked60/keymaps/salicylic_with_nafuda/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/keymap.c diff --git a/keyboards/naked60/keymaps/salicylic_with_nafuda/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/readme.md index 17b973b73a..17b973b73a 100644 --- a/keyboards/naked60/keymaps/salicylic_with_nafuda/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/readme.md diff --git a/keyboards/naked60/keymaps/salicylic_with_nafuda/rules.mk b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/naked60/keymaps/salicylic_with_nafuda/rules.mk +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_nafuda/rules.mk diff --git a/keyboards/naked60/keymaps/salicylic_with_setta21/config.h b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/config.h index 0761e5b6d3..0761e5b6d3 100644 --- a/keyboards/naked60/keymaps/salicylic_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/config.h diff --git a/keyboards/naked60/keymaps/salicylic_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/keymap.c index 7f50e89f3c..7f50e89f3c 100644 --- a/keyboards/naked60/keymaps/salicylic_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/keymap.c diff --git a/keyboards/naked60/keymaps/salicylic_with_setta21/readme.md b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/readme.md index 1baa36703a..1baa36703a 100644 --- a/keyboards/naked60/keymaps/salicylic_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/readme.md diff --git a/keyboards/naked60/keymaps/salicylic_with_setta21/rules.mk b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/naked60/keymaps/salicylic_with_setta21/rules.mk +++ b/keyboards/salicylic_acid3/naked60/keymaps/salicylic_with_setta21/rules.mk diff --git a/keyboards/naked60/keymaps/via/config.h b/keyboards/salicylic_acid3/naked60/keymaps/via/config.h index 32ec5281b2..32ec5281b2 100644 --- a/keyboards/naked60/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/naked60/keymaps/via/config.h diff --git a/keyboards/naked60/keymaps/via/keymap.c b/keyboards/salicylic_acid3/naked60/keymaps/via/keymap.c index 9921858717..9921858717 100644 --- a/keyboards/naked60/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/naked60/keymaps/via/keymap.c diff --git a/keyboards/naiping/np64/keymaps/via/rules.mk b/keyboards/salicylic_acid3/naked60/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/naiping/np64/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/naked60/keymaps/via/rules.mk diff --git a/keyboards/naked60/naked60.c b/keyboards/salicylic_acid3/naked60/naked60.c index d1d46394f6..d1d46394f6 100644 --- a/keyboards/naked60/naked60.c +++ b/keyboards/salicylic_acid3/naked60/naked60.c diff --git a/keyboards/naked60/naked60.h b/keyboards/salicylic_acid3/naked60/naked60.h index 4952b6b076..9ad73df67f 100644 --- a/keyboards/naked60/naked60.h +++ b/keyboards/salicylic_acid3/naked60/naked60.h @@ -19,6 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" -#ifdef KEYBOARD_naked60_rev1 +#ifdef KEYBOARD_salicylic_acid3_naked60_rev1 #include "rev1.h" #endif diff --git a/keyboards/naked60/readme.md b/keyboards/salicylic_acid3/naked60/readme.md index 60bb164377..e44aa64a44 100644 --- a/keyboards/naked60/readme.md +++ b/keyboards/salicylic_acid3/naked60/readme.md @@ -10,7 +10,7 @@ Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_ Make example for this keyboard (after setting up your build environment): - make naked60:default:avrdude + make salicylic_acid3/naked60/rev1:default:avrdude See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/naked60/rev1/config.h b/keyboards/salicylic_acid3/naked60/rev1/config.h index b754095011..b754095011 100644 --- a/keyboards/naked60/rev1/config.h +++ b/keyboards/salicylic_acid3/naked60/rev1/config.h diff --git a/keyboards/naked60/rev1/rev1.c b/keyboards/salicylic_acid3/naked60/rev1/rev1.c index d1d46394f6..d1d46394f6 100644 --- a/keyboards/naked60/rev1/rev1.c +++ b/keyboards/salicylic_acid3/naked60/rev1/rev1.c diff --git a/keyboards/naked60/rev1/rev1.h b/keyboards/salicylic_acid3/naked60/rev1/rev1.h index 12798022e9..12798022e9 100644 --- a/keyboards/naked60/rev1/rev1.h +++ b/keyboards/salicylic_acid3/naked60/rev1/rev1.h diff --git a/keyboards/naked64/rev1/rules.mk b/keyboards/salicylic_acid3/naked60/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/naked64/rev1/rules.mk +++ b/keyboards/salicylic_acid3/naked60/rev1/rules.mk diff --git a/keyboards/naked60/rules.mk b/keyboards/salicylic_acid3/naked60/rules.mk index 46aef17c7a..46aef17c7a 100644 --- a/keyboards/naked60/rules.mk +++ b/keyboards/salicylic_acid3/naked60/rules.mk diff --git a/keyboards/treadstone48/.noci b/keyboards/salicylic_acid3/naked64/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/treadstone48/.noci +++ b/keyboards/salicylic_acid3/naked64/.noci diff --git a/keyboards/setta21/config.h b/keyboards/salicylic_acid3/naked64/config.h index cfb6bf4ffc..cfb6bf4ffc 100644 --- a/keyboards/setta21/config.h +++ b/keyboards/salicylic_acid3/naked64/config.h diff --git a/keyboards/naked64/info.json b/keyboards/salicylic_acid3/naked64/info.json index 887f43b087..887f43b087 100644 --- a/keyboards/naked64/info.json +++ b/keyboards/salicylic_acid3/naked64/info.json diff --git a/keyboards/naked64/keymaps/default/config.h b/keyboards/salicylic_acid3/naked64/keymaps/default/config.h index 8c4e1f5129..8c4e1f5129 100644 --- a/keyboards/naked64/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/naked64/keymaps/default/config.h diff --git a/keyboards/naked64/keymaps/default/keymap.c b/keyboards/salicylic_acid3/naked64/keymaps/default/keymap.c index b26044507e..b26044507e 100644 --- a/keyboards/naked64/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/naked64/keymaps/default/keymap.c diff --git a/keyboards/naked64/keymaps/default/readme.md b/keyboards/salicylic_acid3/naked64/keymaps/default/readme.md index 66bb965b29..66bb965b29 100644 --- a/keyboards/naked64/keymaps/default/readme.md +++ b/keyboards/salicylic_acid3/naked64/keymaps/default/readme.md diff --git a/keyboards/setta21/rev1/rules.mk b/keyboards/salicylic_acid3/naked64/keymaps/default/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/setta21/rev1/rules.mk +++ b/keyboards/salicylic_acid3/naked64/keymaps/default/rules.mk diff --git a/keyboards/naked64/keymaps/default_with_setta21/config.h b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/config.h index c88277da20..c88277da20 100644 --- a/keyboards/naked64/keymaps/default_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/config.h diff --git a/keyboards/naked64/keymaps/default_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/keymap.c index 01039aaecc..01039aaecc 100644 --- a/keyboards/naked64/keymaps/default_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/keymap.c diff --git a/keyboards/naked64/keymaps/default_with_setta21/readme.md b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/readme.md index 6196d68fe0..6196d68fe0 100644 --- a/keyboards/naked64/keymaps/default_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/readme.md diff --git a/keyboards/wings42/rev1/rules.mk b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/wings42/rev1/rules.mk +++ b/keyboards/salicylic_acid3/naked64/keymaps/default_with_setta21/rules.mk diff --git a/keyboards/naked64/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/config.h index 4b3496d856..4b3496d856 100644 --- a/keyboards/naked64/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/config.h diff --git a/keyboards/naked64/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/keymap.c index 40e92393da..40e92393da 100644 --- a/keyboards/naked64/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/keymap.c diff --git a/keyboards/naked64/keymaps/salicylic/readme.md b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/readme.md index 8b2d812ea4..8b2d812ea4 100644 --- a/keyboards/naked64/keymaps/salicylic/readme.md +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/readme.md diff --git a/keyboards/naked64/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/naked64/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic/rules.mk diff --git a/keyboards/naked64/keymaps/salicylic_with_setta21/config.h b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/config.h index 0761e5b6d3..0761e5b6d3 100644 --- a/keyboards/naked64/keymaps/salicylic_with_setta21/config.h +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/config.h diff --git a/keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/keymap.c index df80e0772b..df80e0772b 100644 --- a/keyboards/naked64/keymaps/salicylic_with_setta21/keymap.c +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/keymap.c diff --git a/keyboards/naked64/keymaps/salicylic_with_setta21/readme.md b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/readme.md index cf09c1a74c..cf09c1a74c 100644 --- a/keyboards/naked64/keymaps/salicylic_with_setta21/readme.md +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/readme.md diff --git a/keyboards/naked64/keymaps/salicylic_with_setta21/rules.mk b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/rules.mk index e5ddcae8d9..e5ddcae8d9 100644 --- a/keyboards/naked64/keymaps/salicylic_with_setta21/rules.mk +++ b/keyboards/salicylic_acid3/naked64/keymaps/salicylic_with_setta21/rules.mk diff --git a/keyboards/naked64/naked64.c b/keyboards/salicylic_acid3/naked64/naked64.c index a2863f0477..a2863f0477 100644 --- a/keyboards/naked64/naked64.c +++ b/keyboards/salicylic_acid3/naked64/naked64.c diff --git a/keyboards/naked64/naked64.h b/keyboards/salicylic_acid3/naked64/naked64.h index a131440118..cb73e2142d 100644 --- a/keyboards/naked64/naked64.h +++ b/keyboards/salicylic_acid3/naked64/naked64.h @@ -2,6 +2,6 @@ #include "quantum.h" -#ifdef KEYBOARD_naked64_rev1 +#ifdef KEYBOARD_salicylic_acid3_naked64_rev1 #include "rev1.h" #endif diff --git a/keyboards/naked64/readme.md b/keyboards/salicylic_acid3/naked64/readme.md index 403e5cf4ae..ab02be74f5 100644 --- a/keyboards/naked64/readme.md +++ b/keyboards/salicylic_acid3/naked64/readme.md @@ -10,7 +10,7 @@ Hardware Availability: [PCB & Case Data](https://github.com/Salicylic-acid3/PCB_ Make example for this keyboard (after setting up your build environment): - make naked64:default:flash + make salicylic_acid3/naked64/rev1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/naked64/rev1/config.h b/keyboards/salicylic_acid3/naked64/rev1/config.h index b4699a9ca2..b4699a9ca2 100644 --- a/keyboards/naked64/rev1/config.h +++ b/keyboards/salicylic_acid3/naked64/rev1/config.h diff --git a/keyboards/naked64/rev1/rev1.c b/keyboards/salicylic_acid3/naked64/rev1/rev1.c index 520a869e57..520a869e57 100644 --- a/keyboards/naked64/rev1/rev1.c +++ b/keyboards/salicylic_acid3/naked64/rev1/rev1.c diff --git a/keyboards/naked64/rev1/rev1.h b/keyboards/salicylic_acid3/naked64/rev1/rev1.h index 0ac804ee0f..0ac804ee0f 100644 --- a/keyboards/naked64/rev1/rev1.h +++ b/keyboards/salicylic_acid3/naked64/rev1/rev1.h diff --git a/keyboards/wings42/rev1_extkeys/rules.mk b/keyboards/salicylic_acid3/naked64/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/wings42/rev1_extkeys/rules.mk +++ b/keyboards/salicylic_acid3/naked64/rev1/rules.mk diff --git a/keyboards/naked64/rules.mk b/keyboards/salicylic_acid3/naked64/rules.mk index 7de80383e1..7de80383e1 100644 --- a/keyboards/naked64/rules.mk +++ b/keyboards/salicylic_acid3/naked64/rules.mk diff --git a/keyboards/nknl7en/config.h b/keyboards/salicylic_acid3/nknl7en/config.h index 997971bc96..997971bc96 100644 --- a/keyboards/nknl7en/config.h +++ b/keyboards/salicylic_acid3/nknl7en/config.h diff --git a/keyboards/nknl7en/info.json b/keyboards/salicylic_acid3/nknl7en/info.json index c80ac22769..c80ac22769 100644 --- a/keyboards/nknl7en/info.json +++ b/keyboards/salicylic_acid3/nknl7en/info.json diff --git a/keyboards/nknl7en/keymaps/default/config.h b/keyboards/salicylic_acid3/nknl7en/keymaps/default/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/nknl7en/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/default/config.h diff --git a/keyboards/nknl7en/keymaps/default/keymap.c b/keyboards/salicylic_acid3/nknl7en/keymaps/default/keymap.c index f3ce52e91b..f3ce52e91b 100644 --- a/keyboards/nknl7en/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/default/keymap.c diff --git a/keyboards/nknl7en/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/nknl7en/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/config.h diff --git a/keyboards/nknl7en/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/keymap.c index e7de4e50f0..e7de4e50f0 100644 --- a/keyboards/nknl7en/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/salicylic/keymap.c diff --git a/keyboards/nknl7en/keymaps/via/config.h b/keyboards/salicylic_acid3/nknl7en/keymaps/via/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/nknl7en/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/via/config.h diff --git a/keyboards/nknl7en/keymaps/via/keymap.c b/keyboards/salicylic_acid3/nknl7en/keymaps/via/keymap.c index f31d06a22b..f31d06a22b 100644 --- a/keyboards/nknl7en/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/via/keymap.c diff --git a/keyboards/nknl7jp/keymaps/via/rules.mk b/keyboards/salicylic_acid3/nknl7en/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/nknl7jp/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/nknl7en/keymaps/via/rules.mk diff --git a/keyboards/nknl7en/nknl7en.c b/keyboards/salicylic_acid3/nknl7en/nknl7en.c index 1f06cb7336..1f06cb7336 100644 --- a/keyboards/nknl7en/nknl7en.c +++ b/keyboards/salicylic_acid3/nknl7en/nknl7en.c diff --git a/keyboards/nknl7en/nknl7en.h b/keyboards/salicylic_acid3/nknl7en/nknl7en.h index 945e42956f..945e42956f 100644 --- a/keyboards/nknl7en/nknl7en.h +++ b/keyboards/salicylic_acid3/nknl7en/nknl7en.h diff --git a/keyboards/nknl7en/readme.md b/keyboards/salicylic_acid3/nknl7en/readme.md index 5cbffae30c..07f87e3e5e 100644 --- a/keyboards/nknl7en/readme.md +++ b/keyboards/salicylic_acid3/nknl7en/readme.md @@ -10,7 +10,7 @@ This is 70 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make nknl7en:default + make salicylic_acid3/nknl7en:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nknl7en/rules.mk b/keyboards/salicylic_acid3/nknl7en/rules.mk index aba3644c9e..aba3644c9e 100644 --- a/keyboards/nknl7en/rules.mk +++ b/keyboards/salicylic_acid3/nknl7en/rules.mk diff --git a/keyboards/nknl7jp/config.h b/keyboards/salicylic_acid3/nknl7jp/config.h index 7fb3c0e9c9..7fb3c0e9c9 100644 --- a/keyboards/nknl7jp/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/config.h diff --git a/keyboards/nknl7jp/info.json b/keyboards/salicylic_acid3/nknl7jp/info.json index c074d9019f..c074d9019f 100644 --- a/keyboards/nknl7jp/info.json +++ b/keyboards/salicylic_acid3/nknl7jp/info.json diff --git a/keyboards/nknl7jp/keymaps/default/config.h b/keyboards/salicylic_acid3/nknl7jp/keymaps/default/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/nknl7jp/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/default/config.h diff --git a/keyboards/nknl7jp/keymaps/default/keymap.c b/keyboards/salicylic_acid3/nknl7jp/keymaps/default/keymap.c index 0f90eb883c..0f90eb883c 100644 --- a/keyboards/nknl7jp/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/default/keymap.c diff --git a/keyboards/nknl7jp/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/config.h index 653695d629..653695d629 100644 --- a/keyboards/nknl7jp/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/config.h diff --git a/keyboards/nknl7jp/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/keymap.c index 65f95f0173..65f95f0173 100644 --- a/keyboards/nknl7jp/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/salicylic/keymap.c diff --git a/keyboards/nknl7jp/keymaps/via/config.h b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/config.h index fd96baa819..fd96baa819 100644 --- a/keyboards/nknl7jp/keymaps/via/config.h +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/config.h diff --git a/keyboards/nknl7jp/keymaps/via/keymap.c b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/keymap.c index 660fb2a159..660fb2a159 100644 --- a/keyboards/nknl7jp/keymaps/via/keymap.c +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/keymap.c diff --git a/keyboards/rainkeeb/keymaps/via/rules.mk b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/rainkeeb/keymaps/via/rules.mk +++ b/keyboards/salicylic_acid3/nknl7jp/keymaps/via/rules.mk diff --git a/keyboards/nknl7jp/nknl7jp.c b/keyboards/salicylic_acid3/nknl7jp/nknl7jp.c index 0395a3b678..0395a3b678 100644 --- a/keyboards/nknl7jp/nknl7jp.c +++ b/keyboards/salicylic_acid3/nknl7jp/nknl7jp.c diff --git a/keyboards/nknl7jp/nknl7jp.h b/keyboards/salicylic_acid3/nknl7jp/nknl7jp.h index 3984ac7788..3984ac7788 100644 --- a/keyboards/nknl7jp/nknl7jp.h +++ b/keyboards/salicylic_acid3/nknl7jp/nknl7jp.h diff --git a/keyboards/nknl7jp/readme.md b/keyboards/salicylic_acid3/nknl7jp/readme.md index 9d0ccba4e8..b2f375aef8 100644 --- a/keyboards/nknl7jp/readme.md +++ b/keyboards/salicylic_acid3/nknl7jp/readme.md @@ -10,7 +10,7 @@ This is 73 keys Custom keyboard. Make example for this keyboard (after setting up your build environment): - make nknl7jp:default + make salicylic_acid3/nknl7jp:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/nknl7jp/rules.mk b/keyboards/salicylic_acid3/nknl7jp/rules.mk index aba3644c9e..aba3644c9e 100644 --- a/keyboards/nknl7jp/rules.mk +++ b/keyboards/salicylic_acid3/nknl7jp/rules.mk diff --git a/keyboards/wings42/config.h b/keyboards/salicylic_acid3/setta21/config.h index cfb6bf4ffc..cfb6bf4ffc 100644 --- a/keyboards/wings42/config.h +++ b/keyboards/salicylic_acid3/setta21/config.h diff --git a/keyboards/setta21/info.json b/keyboards/salicylic_acid3/setta21/info.json index 46c06613a8..46c06613a8 100644 --- a/keyboards/setta21/info.json +++ b/keyboards/salicylic_acid3/setta21/info.json diff --git a/keyboards/setta21/keymaps/default/config.h b/keyboards/salicylic_acid3/setta21/keymaps/default/config.h index e35fe2ccd7..e35fe2ccd7 100644 --- a/keyboards/setta21/keymaps/default/config.h +++ b/keyboards/salicylic_acid3/setta21/keymaps/default/config.h diff --git a/keyboards/setta21/keymaps/default/keymap.c b/keyboards/salicylic_acid3/setta21/keymaps/default/keymap.c index fa33c08f26..fa33c08f26 100644 --- a/keyboards/setta21/keymaps/default/keymap.c +++ b/keyboards/salicylic_acid3/setta21/keymaps/default/keymap.c diff --git a/keyboards/setta21/keymaps/default/readme.md b/keyboards/salicylic_acid3/setta21/keymaps/default/readme.md index 1028d848c5..1028d848c5 100644 --- a/keyboards/setta21/keymaps/default/readme.md +++ b/keyboards/salicylic_acid3/setta21/keymaps/default/readme.md diff --git a/keyboards/setta21/keymaps/salicylic/config.h b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/config.h index 06e23ba7a3..06e23ba7a3 100644 --- a/keyboards/setta21/keymaps/salicylic/config.h +++ b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/config.h diff --git a/keyboards/setta21/keymaps/salicylic/keymap.c b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/keymap.c index 06fa89c9c7..06fa89c9c7 100644 --- a/keyboards/setta21/keymaps/salicylic/keymap.c +++ b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/keymap.c diff --git a/keyboards/setta21/keymaps/salicylic/readme.md b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/readme.md index ad27736d2b..ad27736d2b 100644 --- a/keyboards/setta21/keymaps/salicylic/readme.md +++ b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/readme.md diff --git a/keyboards/setta21/keymaps/salicylic/rules.mk b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/rules.mk index 69864a3166..69864a3166 100644 --- a/keyboards/setta21/keymaps/salicylic/rules.mk +++ b/keyboards/salicylic_acid3/setta21/keymaps/salicylic/rules.mk diff --git a/keyboards/setta21/readme.md b/keyboards/salicylic_acid3/setta21/readme.md index c940079997..25027b7281 100644 --- a/keyboards/setta21/readme.md +++ b/keyboards/salicylic_acid3/setta21/readme.md @@ -10,7 +10,7 @@ This is 21 keys tenkeypad. Make example for this keyboard (after setting up your build environment): - make setta21:default + make salicylic_acid3/setta21/rev1:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/treadstone48/rev1/.noci b/keyboards/salicylic_acid3/setta21/rev1/.noci index e69de29bb2..e69de29bb2 100644 --- a/keyboards/treadstone48/rev1/.noci +++ b/keyboards/salicylic_acid3/setta21/rev1/.noci diff --git a/keyboards/setta21/rev1/config.h b/keyboards/salicylic_acid3/setta21/rev1/config.h index 742a8d73d0..742a8d73d0 100644 --- a/keyboards/setta21/rev1/config.h +++ b/keyboards/salicylic_acid3/setta21/rev1/config.h diff --git a/keyboards/setta21/rev1/rev1.c b/keyboards/salicylic_acid3/setta21/rev1/rev1.c index b377452770..b377452770 100644 --- a/keyboards/setta21/rev1/rev1.c +++ b/keyboards/salicylic_acid3/setta21/rev1/rev1.c diff --git a/keyboards/setta21/rev1/rev1.h b/keyboards/salicylic_acid3/setta21/rev1/rev1.h index 772c843c57..772c843c57 100644 --- a/keyboards/setta21/rev1/rev1.h +++ b/keyboards/salicylic_acid3/setta21/rev1/rev1.h diff --git a/keyboards/wings42/rev2/rules.mk b/keyboards/salicylic_acid3/setta21/rev1/rules.mk index e69de29bb2..e69de29bb2 100644 --- a/keyboards/wings42/rev2/rules.mk +++ b/keyboards/salicylic_acid3/setta21/rev1/rules.mk diff --git a/keyboards/setta21/rules.mk b/keyboards/salicylic_acid3/setta21/rules.mk index e31a7b5c7a..e31a7b5c7a 100644 --- a/keyboards/setta21/rules.mk +++ b/keyboards/salicylic_acid3/setta21/rules.mk diff --git a/keyboards/setta21/setta21.c b/keyboards/salicylic_acid3/setta21/setta21.c index 73c07682f7..73c07682f7 100644 --- a/keyboards/setta21/setta21.c +++ b/keyboards/salicylic_acid3/setta21/setta21.c diff --git a/keyboards/setta21/setta21.h b/keyboards/salicylic_acid3/setta21/setta21.h index 0409f6cbc2..9e5b17e2c3 100644 --- a/keyboards/setta21/setta21.h +++ b/keyboards/salicylic_acid3/setta21/setta21.h @@ -2,6 +2,6 @@ #include "quantum.h" -#ifdef KEYBOARD_setta21_rev1 +#ifdef KEYBOARD_salicylic_acid3_setta21_rev1 #include "rev1.h" #endif diff --git a/keyboards/sekigon/grs_70ec/matrix.c b/keyboards/sekigon/grs_70ec/matrix.c index 98b2347937..926ed6f813 100644 --- a/keyboards/sekigon/grs_70ec/matrix.c +++ b/keyboards/sekigon/grs_70ec/matrix.c @@ -70,50 +70,3 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) { return updated; } - -bool matrix_post_scan(void) { - bool changed = false; - if (is_keyboard_master()) { - static uint8_t error_count; - - matrix_row_t slave_matrix[ROWS_PER_HAND] = {0}; - if (!transport_master(matrix + thatHand, slave_matrix)) { - error_count++; - - if (error_count > ERROR_DISCONNECT_COUNT) { - // reset other half if disconnected - dprintf("Error: disconnect split half\n"); - for (int i = 0; i < ROWS_PER_HAND; ++i) { - matrix[thatHand + i] = 0; - slave_matrix[i] = 0; - } - - changed = true; - } - } else { - error_count = 0; - - for (int i = 0; i < ROWS_PER_HAND; ++i) { - if (matrix[thatHand + i] != slave_matrix[i]) { - matrix[thatHand + i] = slave_matrix[i]; - changed = true; - } - } - } - - matrix_scan_quantum(); - } else { - transport_slave(matrix + thatHand, matrix + thisHand); - - matrix_slave_scan_user(); - } - return changed; -} - -uint8_t matrix_scan(void) { - bool changed = matrix_scan_custom(raw_matrix) || matrix_post_scan(); - - debounce(raw_matrix, matrix + thisHand, ROWS_PER_HAND, changed); - - return changed; -} diff --git a/keyboards/sirius/uni660/rev1/config.h b/keyboards/sirius/uni660/rev1/config.h index 91d7c5d7a3..f9815844cb 100644 --- a/keyboards/sirius/uni660/rev1/config.h +++ b/keyboards/sirius/uni660/rev1/config.h @@ -57,13 +57,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); - #define DYNAMIC_KEYMAP_LAYER_COUNT 4 diff --git a/keyboards/sirius/uni660/rev1/matrix.c b/keyboards/sirius/uni660/rev1/matrix.c index 2db6767a46..919db5c80d 100644 --- a/keyboards/sirius/uni660/rev1/matrix.c +++ b/keyboards/sirius/uni660/rev1/matrix.c @@ -15,83 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "debounce.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} +#include "quantum.h" +#include "matrix.h" +#include "uart.h" -void matrix_init(void) { - debounce_init(MATRIX_ROWS); - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ - bool matrix_has_changed = false; - +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[17] = {0}; @@ -101,60 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 8; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 8; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - debounce(matrix, matrix, MATRIX_ROWS, matrix_has_changed); - - matrix_scan_quantum(); - - return matrix_has_changed; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/sirius/uni660/rev1/rules.mk b/keyboards/sirius/uni660/rev1/rules.mk index 836bf6b442..71cc3efd92 100644 --- a/keyboards/sirius/uni660/rev1/rules.mk +++ b/keyboards/sirius/uni660/rev1/rules.mk @@ -17,7 +17,8 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output UNICODE_ENABLE = yes # Unicode -CUSTOM_MATRIX = yes +CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c diff --git a/keyboards/sirius/uni660/rev2/ansi/config.h b/keyboards/sirius/uni660/rev2/ansi/config.h index 13e33ebf11..8777dc4011 100644 --- a/keyboards/sirius/uni660/rev2/ansi/config.h +++ b/keyboards/sirius/uni660/rev2/ansi/config.h @@ -57,13 +57,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); - #define DYNAMIC_KEYMAP_LAYER_COUNT 4 diff --git a/keyboards/sirius/uni660/rev2/iso/config.h b/keyboards/sirius/uni660/rev2/iso/config.h index 3283f0cd67..763230dca8 100644 --- a/keyboards/sirius/uni660/rev2/iso/config.h +++ b/keyboards/sirius/uni660/rev2/iso/config.h @@ -57,13 +57,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION -//UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); - #define DYNAMIC_KEYMAP_LAYER_COUNT 4 diff --git a/keyboards/sirius/uni660/rev2/matrix.c b/keyboards/sirius/uni660/rev2/matrix.c index 2db6767a46..919db5c80d 100644 --- a/keyboards/sirius/uni660/rev2/matrix.c +++ b/keyboards/sirius/uni660/rev2/matrix.c @@ -15,83 +15,21 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> -#if defined(__AVR__) -#include <avr/io.h> -#endif -#include "wait.h" -#include "print.h" -#include "debug.h" -#include "util.h" -#include "matrix.h" -#include "timer.h" -#include "debounce.h" -#include "protocol/serial.h" - -#if (MATRIX_COLS <= 8) -# define print_matrix_header() print("\nr/c 01234567\n") -# define print_matrix_row(row) print_bin_reverse8(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop(matrix[i]) -# define ROW_SHIFTER ((uint8_t)1) -#elif (MATRIX_COLS <= 16) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse16(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop16(matrix[i]) -# define ROW_SHIFTER ((uint16_t)1) -#elif (MATRIX_COLS <= 32) -# define print_matrix_header() print("\nr/c 0123456789ABCDEF0123456789ABCDEF\n") -# define print_matrix_row(row) print_bin_reverse32(matrix_get_row(row)) -# define matrix_bitpop(i) bitpop32(matrix[i]) -# define ROW_SHIFTER ((uint32_t)1) -#endif - -/* matrix state(1:on, 0:off) */ -static matrix_row_t matrix[MATRIX_ROWS]; - - -__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) { -} - -inline -uint8_t matrix_rows(void) { - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) { - return MATRIX_COLS; -} +#include "quantum.h" +#include "matrix.h" +#include "uart.h" -void matrix_init(void) { - debounce_init(MATRIX_ROWS); - matrix_init_quantum(); - serial_init(); +void matrix_init_custom(void) { + uart_init(1000000); } -uint8_t matrix_scan(void) -{ - bool matrix_has_changed = false; - +bool matrix_scan_custom(matrix_row_t current_matrix[]) { uint32_t timeout = 0; + bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[17] = {0}; @@ -101,60 +39,27 @@ uint8_t matrix_scan(void) //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while(!SERIAL_UART_RXD_PRESENT){ + while (!uart_available()) { timeout++; - if (timeout > 10000){ + if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 //will only show up here if the correct bytes were recieved - if (uart_data[10] == 0xE0) - { + if (uart_data[10] == 0xE0) { //shifting and transferring the keystates to the QMK matrix variable for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - matrix[i] = (uint16_t) uart_data[i*2] | (uint16_t) uart_data[i*2+1] << 8; + matrix_row_t current_row = (uint16_t) uart_data[i * 2] | (uint16_t) uart_data[i * 2 + 1] << 8; + if (current_matrix[i] != current_row) { + changed = true; + } + current_matrix[i] = current_row; } } - debounce(matrix, matrix, MATRIX_ROWS, matrix_has_changed); - - matrix_scan_quantum(); - - return matrix_has_changed; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & ((matrix_row_t)1<<col)); -} - -inline -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print_matrix_header(); - - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - print_hex8(row); print(": "); - print_matrix_row(row); - print("\n"); - } -} - -uint8_t matrix_key_count(void) -{ - uint8_t count = 0; - for (uint8_t i = 0; i < MATRIX_ROWS; i++) { - count += matrix_bitpop(i); - } - return count; + return changed; } diff --git a/keyboards/sirius/uni660/rev2/rules.mk b/keyboards/sirius/uni660/rev2/rules.mk index 0abebb07c6..850c2a2e35 100644 --- a/keyboards/sirius/uni660/rev2/rules.mk +++ b/keyboards/sirius/uni660/rev2/rules.mk @@ -17,9 +17,10 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output UNICODE_ENABLE = yes # Unicode -CUSTOM_MATRIX = yes +CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c DEFAULT_FOLDER = sirius/uni660/rev2/ansi diff --git a/keyboards/sirius/unigo66/custom_matrix.cpp b/keyboards/sirius/unigo66/custom_matrix.cpp index fba107c7cb..dfcf82c779 100644 --- a/keyboards/sirius/unigo66/custom_matrix.cpp +++ b/keyboards/sirius/unigo66/custom_matrix.cpp @@ -172,10 +172,6 @@ extern "C" return 1; } - bool matrix_is_modified(void) { - return matrix_is_mod; - } - bool matrix_is_on(uint8_t row, uint8_t col) { uint8_t code = CODE(row, col); diff --git a/keyboards/sixkeyboard/matrix.c b/keyboards/sixkeyboard/matrix.c index 64b46e9b0c..a6b28f3a12 100644 --- a/keyboards/sixkeyboard/matrix.c +++ b/keyboards/sixkeyboard/matrix.c @@ -114,11 +114,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/sx60/matrix.c b/keyboards/sx60/matrix.c index b7dc25425d..231e1c8836 100644 --- a/keyboards/sx60/matrix.c +++ b/keyboards/sx60/matrix.c @@ -172,14 +172,6 @@ uint8_t matrix_scan(void) return 1; } -bool matrix_is_modified(void) -{ -#if (DEBOUNCE > 0) - if (debouncing) return false; -#endif - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/telophase/config.h b/keyboards/telophase/config.h index 51718da9d4..837bb8ab9b 100644 --- a/keyboards/telophase/config.h +++ b/keyboards/telophase/config.h @@ -72,12 +72,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* disable these deprecated features by default */ #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION - -// UART settings for communication with the RF microcontroller -#define SERIAL_UART_BAUD 1000000 -#define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) -#define SERIAL_UART_INIT_CUSTOM \ - /* enable TX and RX */ \ - UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ - /* 8-bit data */ \ - UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); diff --git a/keyboards/telophase/matrix.c b/keyboards/telophase/matrix.c index a153dd4bf1..44b7e4c9e9 100644 --- a/keyboards/telophase/matrix.c +++ b/keyboards/telophase/matrix.c @@ -18,10 +18,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "quantum.h" #include "matrix.h" -#include "protocol/serial.h" +#include "uart.h" void matrix_init_custom(void) { - serial_init(); + uart_init(1000000); } bool matrix_scan_custom(matrix_row_t current_matrix[]) { @@ -29,7 +29,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) { bool changed = false; //the s character requests the RF slave to send the matrix - SERIAL_UART_DATA = 's'; + uart_write('s'); //trust the external keystates entirely, erase the last data uint8_t uart_data[13] = {0}; @@ -39,13 +39,13 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) { //wait for the serial data, timeout if it's been too long //this only happened in testing with a loose wire, but does no //harm to leave it in here - while (!SERIAL_UART_RXD_PRESENT) { + while (!uart_available()) { timeout++; if (timeout > 10000) { break; } } - uart_data[i] = SERIAL_UART_DATA; + uart_data[i] = uart_read(); } //check for the end packet, the key state bytes use the LSBs, so 0xE0 diff --git a/keyboards/telophase/rules.mk b/keyboards/telophase/rules.mk index c3a8aaf79f..41a6ee25f5 100644 --- a/keyboards/telophase/rules.mk +++ b/keyboards/telophase/rules.mk @@ -19,7 +19,8 @@ AUDIO_ENABLE = no # Audio output CUSTOM_MATRIX = lite # project specific files -SRC += matrix.c serial_uart.c +SRC += matrix.c +QUANTUM_LIB_SRC += uart.c # Disable unsupported hardware RGBLIGHT_SUPPORTED = no diff --git a/keyboards/tgr/jane/v2ce/rules.mk b/keyboards/tgr/jane/v2ce/rules.mk index 0a865321a6..8fcc8d911f 100644 --- a/keyboards/tgr/jane/v2ce/rules.mk +++ b/keyboards/tgr/jane/v2ce/rules.mk @@ -2,7 +2,7 @@ MCU = atmega32a # Bootloader selection -BOOTLOADER = bootloadHID +BOOTLOADER = bootloadhid # Build Options # change yes to no to disable diff --git a/keyboards/thedogkeyboard/matrix.c b/keyboards/thedogkeyboard/matrix.c index 474fbec030..2851859cf2 100644 --- a/keyboards/thedogkeyboard/matrix.c +++ b/keyboards/thedogkeyboard/matrix.c @@ -90,13 +90,6 @@ uint8_t matrix_cols(void) { return MATRIX_COLS; } -//Deprecated. -bool matrix_is_modified(void) -{ - if (debounce_active()) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { diff --git a/keyboards/geminate60/chconf.h b/keyboards/weirdo/geminate60/chconf.h index d58807924a..d58807924a 100644 --- a/keyboards/geminate60/chconf.h +++ b/keyboards/weirdo/geminate60/chconf.h diff --git a/keyboards/geminate60/config.h b/keyboards/weirdo/geminate60/config.h index 6e13da06de..6e13da06de 100644 --- a/keyboards/geminate60/config.h +++ b/keyboards/weirdo/geminate60/config.h diff --git a/keyboards/geminate60/geminate60.c b/keyboards/weirdo/geminate60/geminate60.c index 3f0218c890..3f0218c890 100644 --- a/keyboards/geminate60/geminate60.c +++ b/keyboards/weirdo/geminate60/geminate60.c diff --git a/keyboards/geminate60/geminate60.h b/keyboards/weirdo/geminate60/geminate60.h index 7361930a20..7361930a20 100644 --- a/keyboards/geminate60/geminate60.h +++ b/keyboards/weirdo/geminate60/geminate60.h diff --git a/keyboards/geminate60/info.json b/keyboards/weirdo/geminate60/info.json index ba34264f62..ba34264f62 100644 --- a/keyboards/geminate60/info.json +++ b/keyboards/weirdo/geminate60/info.json diff --git a/keyboards/geminate60/keymaps/default/keymap.c b/keyboards/weirdo/geminate60/keymaps/default/keymap.c index 91a6f8c3e2..91a6f8c3e2 100644 --- a/keyboards/geminate60/keymaps/default/keymap.c +++ b/keyboards/weirdo/geminate60/keymaps/default/keymap.c diff --git a/keyboards/geminate60/keymaps/via/keymap.c b/keyboards/weirdo/geminate60/keymaps/via/keymap.c index 85210835e4..85210835e4 100644 --- a/keyboards/geminate60/keymaps/via/keymap.c +++ b/keyboards/weirdo/geminate60/keymaps/via/keymap.c diff --git a/keyboards/naiping/nphhkb/keymaps/via/rules.mk b/keyboards/weirdo/geminate60/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/naiping/nphhkb/keymaps/via/rules.mk +++ b/keyboards/weirdo/geminate60/keymaps/via/rules.mk diff --git a/keyboards/geminate60/readme.md b/keyboards/weirdo/geminate60/readme.md index 7fab7d7df6..ca865c8cff 100644 --- a/keyboards/geminate60/readme.md +++ b/keyboards/weirdo/geminate60/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32F303. Make example for this keyboard (after setting up your build environment): - make geminate60:default + make weirdo/geminate60:default The RST pin and GND pin on the board can be quickly shortened twice to enter DFU mode, and then the program can be written. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/geminate60/rules.mk b/keyboards/weirdo/geminate60/rules.mk index f6ad535987..f6ad535987 100644 --- a/keyboards/geminate60/rules.mk +++ b/keyboards/weirdo/geminate60/rules.mk diff --git a/keyboards/kelowna/rgb64/config.h b/keyboards/weirdo/kelowna/rgb64/config.h index 906755d88a..906755d88a 100644 --- a/keyboards/kelowna/rgb64/config.h +++ b/keyboards/weirdo/kelowna/rgb64/config.h diff --git a/keyboards/kelowna/rgb64/info.json b/keyboards/weirdo/kelowna/rgb64/info.json index 8dbb01a410..8dbb01a410 100644 --- a/keyboards/kelowna/rgb64/info.json +++ b/keyboards/weirdo/kelowna/rgb64/info.json diff --git a/keyboards/kelowna/rgb64/keymaps/default/keymap.c b/keyboards/weirdo/kelowna/rgb64/keymaps/default/keymap.c index 1c5acf6bab..1c5acf6bab 100644 --- a/keyboards/kelowna/rgb64/keymaps/default/keymap.c +++ b/keyboards/weirdo/kelowna/rgb64/keymaps/default/keymap.c diff --git a/keyboards/kelowna/rgb64/keymaps/via/keymap.c b/keyboards/weirdo/kelowna/rgb64/keymaps/via/keymap.c index db6b096b54..db6b096b54 100644 --- a/keyboards/kelowna/rgb64/keymaps/via/keymap.c +++ b/keyboards/weirdo/kelowna/rgb64/keymaps/via/keymap.c diff --git a/keyboards/naiping/npminila/keymaps/via/rules.mk b/keyboards/weirdo/kelowna/rgb64/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/naiping/npminila/keymaps/via/rules.mk +++ b/keyboards/weirdo/kelowna/rgb64/keymaps/via/rules.mk diff --git a/keyboards/kelowna/rgb64/readme.md b/keyboards/weirdo/kelowna/rgb64/readme.md index 9300b82819..f12e155c8a 100644 --- a/keyboards/kelowna/rgb64/readme.md +++ b/keyboards/weirdo/kelowna/rgb64/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32f303 Make example for this keyboard (after setting up your build environment): - make kelowna/rgb64:default + make weirdo/kelowna/rgb64:default Use the SWD interface on the board to connect to the STlink (JLink) to directly burn firmware without entering the bootloader. diff --git a/keyboards/kelowna/rgb64/rgb64.c b/keyboards/weirdo/kelowna/rgb64/rgb64.c index dd57616161..dd57616161 100644 --- a/keyboards/kelowna/rgb64/rgb64.c +++ b/keyboards/weirdo/kelowna/rgb64/rgb64.c diff --git a/keyboards/kelowna/rgb64/rgb64.h b/keyboards/weirdo/kelowna/rgb64/rgb64.h index c2277aa208..c2277aa208 100644 --- a/keyboards/kelowna/rgb64/rgb64.h +++ b/keyboards/weirdo/kelowna/rgb64/rgb64.h diff --git a/keyboards/kelowna/rgb64/rules.mk b/keyboards/weirdo/kelowna/rgb64/rules.mk index 4e81168041..4e81168041 100644 --- a/keyboards/kelowna/rgb64/rules.mk +++ b/keyboards/weirdo/kelowna/rgb64/rules.mk diff --git a/keyboards/ls_60/chconf.h b/keyboards/weirdo/ls_60/chconf.h index 5884dd8b0b..5884dd8b0b 100644 --- a/keyboards/ls_60/chconf.h +++ b/keyboards/weirdo/ls_60/chconf.h diff --git a/keyboards/ls_60/config.h b/keyboards/weirdo/ls_60/config.h index e7151ac10f..e7151ac10f 100644 --- a/keyboards/ls_60/config.h +++ b/keyboards/weirdo/ls_60/config.h diff --git a/keyboards/ls_60/info.json b/keyboards/weirdo/ls_60/info.json index 20cb544b98..20cb544b98 100644 --- a/keyboards/ls_60/info.json +++ b/keyboards/weirdo/ls_60/info.json diff --git a/keyboards/ls_60/keymaps/default/keymap.c b/keyboards/weirdo/ls_60/keymaps/default/keymap.c index 3587959399..3587959399 100644 --- a/keyboards/ls_60/keymaps/default/keymap.c +++ b/keyboards/weirdo/ls_60/keymaps/default/keymap.c diff --git a/keyboards/ls_60/keymaps/via/keymap.c b/keyboards/weirdo/ls_60/keymaps/via/keymap.c index e3af8eb7da..e3af8eb7da 100644 --- a/keyboards/ls_60/keymaps/via/keymap.c +++ b/keyboards/weirdo/ls_60/keymaps/via/keymap.c diff --git a/keyboards/naked60/keymaps/via/rules.mk b/keyboards/weirdo/ls_60/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/naked60/keymaps/via/rules.mk +++ b/keyboards/weirdo/ls_60/keymaps/via/rules.mk diff --git a/keyboards/ls_60/ls_60.c b/keyboards/weirdo/ls_60/ls_60.c index ef29acf9a1..ef29acf9a1 100644 --- a/keyboards/ls_60/ls_60.c +++ b/keyboards/weirdo/ls_60/ls_60.c diff --git a/keyboards/ls_60/ls_60.h b/keyboards/weirdo/ls_60/ls_60.h index b099521b9e..b099521b9e 100644 --- a/keyboards/ls_60/ls_60.h +++ b/keyboards/weirdo/ls_60/ls_60.h diff --git a/keyboards/ls_60/readme.md b/keyboards/weirdo/ls_60/readme.md index e0efdfd9b5..cb289b8ad6 100644 --- a/keyboards/ls_60/readme.md +++ b/keyboards/weirdo/ls_60/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32f303 Make example for this keyboard (after setting up your build environment): - make ls_60:default + make weirdo/ls_60:default The RST pin and GND pin on the board can be quickly shortened twice to enter DFU mode, and then the program can be written. diff --git a/keyboards/ls_60/rules.mk b/keyboards/weirdo/ls_60/rules.mk index bcc109f6d4..bcc109f6d4 100644 --- a/keyboards/ls_60/rules.mk +++ b/keyboards/weirdo/ls_60/rules.mk diff --git a/keyboards/naiping/np64/chconf.h b/keyboards/weirdo/naiping/np64/chconf.h index 5884dd8b0b..5884dd8b0b 100644 --- a/keyboards/naiping/np64/chconf.h +++ b/keyboards/weirdo/naiping/np64/chconf.h diff --git a/keyboards/naiping/np64/config.h b/keyboards/weirdo/naiping/np64/config.h index ee4bdb8675..ee4bdb8675 100644 --- a/keyboards/naiping/np64/config.h +++ b/keyboards/weirdo/naiping/np64/config.h diff --git a/keyboards/naiping/np64/info.json b/keyboards/weirdo/naiping/np64/info.json index 8bf71afe0c..8bf71afe0c 100644 --- a/keyboards/naiping/np64/info.json +++ b/keyboards/weirdo/naiping/np64/info.json diff --git a/keyboards/naiping/np64/keymaps/default/keymap.c b/keyboards/weirdo/naiping/np64/keymaps/default/keymap.c index 25f72fe664..25f72fe664 100644 --- a/keyboards/naiping/np64/keymaps/default/keymap.c +++ b/keyboards/weirdo/naiping/np64/keymaps/default/keymap.c diff --git a/keyboards/naiping/np64/keymaps/via/keymap.c b/keyboards/weirdo/naiping/np64/keymaps/via/keymap.c index 7afa15e735..7afa15e735 100644 --- a/keyboards/naiping/np64/keymaps/via/keymap.c +++ b/keyboards/weirdo/naiping/np64/keymaps/via/keymap.c diff --git a/keyboards/nk65/keymaps/via/rules.mk b/keyboards/weirdo/naiping/np64/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100755..100644 --- a/keyboards/nk65/keymaps/via/rules.mk +++ b/keyboards/weirdo/naiping/np64/keymaps/via/rules.mk diff --git a/keyboards/naiping/np64/np64.c b/keyboards/weirdo/naiping/np64/np64.c index ee4c08cd34..ee4c08cd34 100644 --- a/keyboards/naiping/np64/np64.c +++ b/keyboards/weirdo/naiping/np64/np64.c diff --git a/keyboards/naiping/np64/np64.h b/keyboards/weirdo/naiping/np64/np64.h index c2277aa208..c2277aa208 100644 --- a/keyboards/naiping/np64/np64.h +++ b/keyboards/weirdo/naiping/np64/np64.h diff --git a/keyboards/naiping/np64/readme.md b/keyboards/weirdo/naiping/np64/readme.md index 8e85d79de3..a5b4c89f01 100644 --- a/keyboards/naiping/np64/readme.md +++ b/keyboards/weirdo/naiping/np64/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32f303 Make example for this keyboard (after setting up your build environment): - make naiping/np64:default + make weirdo/naiping/np64:default The RST pin and GND pin on the board can be quickly shortened twice to enter DFU mode, and then the program can be written. diff --git a/keyboards/naiping/np64/rules.mk b/keyboards/weirdo/naiping/np64/rules.mk index 55c914453e..55c914453e 100644 --- a/keyboards/naiping/np64/rules.mk +++ b/keyboards/weirdo/naiping/np64/rules.mk diff --git a/keyboards/naiping/nphhkb/chconf.h b/keyboards/weirdo/naiping/nphhkb/chconf.h index 5884dd8b0b..5884dd8b0b 100644 --- a/keyboards/naiping/nphhkb/chconf.h +++ b/keyboards/weirdo/naiping/nphhkb/chconf.h diff --git a/keyboards/naiping/nphhkb/config.h b/keyboards/weirdo/naiping/nphhkb/config.h index 26993eeb7f..26993eeb7f 100644 --- a/keyboards/naiping/nphhkb/config.h +++ b/keyboards/weirdo/naiping/nphhkb/config.h diff --git a/keyboards/naiping/nphhkb/info.json b/keyboards/weirdo/naiping/nphhkb/info.json index 4975aa3a41..4975aa3a41 100644 --- a/keyboards/naiping/nphhkb/info.json +++ b/keyboards/weirdo/naiping/nphhkb/info.json diff --git a/keyboards/naiping/nphhkb/keymaps/default/keymap.c b/keyboards/weirdo/naiping/nphhkb/keymaps/default/keymap.c index 2c4b6324be..2c4b6324be 100644 --- a/keyboards/naiping/nphhkb/keymaps/default/keymap.c +++ b/keyboards/weirdo/naiping/nphhkb/keymaps/default/keymap.c diff --git a/keyboards/naiping/nphhkb/keymaps/via/keymap.c b/keyboards/weirdo/naiping/nphhkb/keymaps/via/keymap.c index 36128f8bba..36128f8bba 100644 --- a/keyboards/naiping/nphhkb/keymaps/via/keymap.c +++ b/keyboards/weirdo/naiping/nphhkb/keymaps/via/keymap.c diff --git a/keyboards/nk87/keymaps/via/rules.mk b/keyboards/weirdo/naiping/nphhkb/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100755..100644 --- a/keyboards/nk87/keymaps/via/rules.mk +++ b/keyboards/weirdo/naiping/nphhkb/keymaps/via/rules.mk diff --git a/keyboards/naiping/nphhkb/nphhkb.c b/keyboards/weirdo/naiping/nphhkb/nphhkb.c index 881522c0b3..881522c0b3 100644 --- a/keyboards/naiping/nphhkb/nphhkb.c +++ b/keyboards/weirdo/naiping/nphhkb/nphhkb.c diff --git a/keyboards/naiping/nphhkb/nphhkb.h b/keyboards/weirdo/naiping/nphhkb/nphhkb.h index 96c99451b4..96c99451b4 100644 --- a/keyboards/naiping/nphhkb/nphhkb.h +++ b/keyboards/weirdo/naiping/nphhkb/nphhkb.h diff --git a/keyboards/naiping/nphhkb/readme.md b/keyboards/weirdo/naiping/nphhkb/readme.md index 47ad9dafc3..1ed6d46eff 100644 --- a/keyboards/naiping/nphhkb/readme.md +++ b/keyboards/weirdo/naiping/nphhkb/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32f303 Make example for this keyboard (after setting up your build environment): - make naiping/nphhkb:default + make weirdo/naiping/nphhkb:default The RST pin and GND pin on the board can be quickly shortened twice to enter DFU mode, and then the program can be written. diff --git a/keyboards/naiping/nphhkb/rules.mk b/keyboards/weirdo/naiping/nphhkb/rules.mk index 64284e913b..64284e913b 100644 --- a/keyboards/naiping/nphhkb/rules.mk +++ b/keyboards/weirdo/naiping/nphhkb/rules.mk diff --git a/keyboards/naiping/npminila/chconf.h b/keyboards/weirdo/naiping/npminila/chconf.h index 5884dd8b0b..5884dd8b0b 100644 --- a/keyboards/naiping/npminila/chconf.h +++ b/keyboards/weirdo/naiping/npminila/chconf.h diff --git a/keyboards/naiping/npminila/config.h b/keyboards/weirdo/naiping/npminila/config.h index f18b36d8e7..f18b36d8e7 100644 --- a/keyboards/naiping/npminila/config.h +++ b/keyboards/weirdo/naiping/npminila/config.h diff --git a/keyboards/naiping/npminila/info.json b/keyboards/weirdo/naiping/npminila/info.json index 4dbe3127d3..4dbe3127d3 100644 --- a/keyboards/naiping/npminila/info.json +++ b/keyboards/weirdo/naiping/npminila/info.json diff --git a/keyboards/naiping/npminila/keymaps/default/keymap.c b/keyboards/weirdo/naiping/npminila/keymaps/default/keymap.c index 30d6bf291e..30d6bf291e 100644 --- a/keyboards/naiping/npminila/keymaps/default/keymap.c +++ b/keyboards/weirdo/naiping/npminila/keymaps/default/keymap.c diff --git a/keyboards/naiping/npminila/keymaps/via/keymap.c b/keyboards/weirdo/naiping/npminila/keymaps/via/keymap.c index 10ec385de9..10ec385de9 100644 --- a/keyboards/naiping/npminila/keymaps/via/keymap.c +++ b/keyboards/weirdo/naiping/npminila/keymaps/via/keymap.c diff --git a/keyboards/owl8/keymaps/via/rules.mk b/keyboards/weirdo/naiping/npminila/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/owl8/keymaps/via/rules.mk +++ b/keyboards/weirdo/naiping/npminila/keymaps/via/rules.mk diff --git a/keyboards/naiping/npminila/npminila.c b/keyboards/weirdo/naiping/npminila/npminila.c index ab9ebb45d7..ab9ebb45d7 100644 --- a/keyboards/naiping/npminila/npminila.c +++ b/keyboards/weirdo/naiping/npminila/npminila.c diff --git a/keyboards/naiping/npminila/npminila.h b/keyboards/weirdo/naiping/npminila/npminila.h index 3d0d927a0b..3d0d927a0b 100644 --- a/keyboards/naiping/npminila/npminila.h +++ b/keyboards/weirdo/naiping/npminila/npminila.h diff --git a/keyboards/naiping/npminila/readme.md b/keyboards/weirdo/naiping/npminila/readme.md index 335e12508d..35d5a2e5ec 100644 --- a/keyboards/naiping/npminila/readme.md +++ b/keyboards/weirdo/naiping/npminila/readme.md @@ -10,7 +10,7 @@ A 60% keyboard based on STM32f303 Make example for this keyboard (after setting up your build environment): - make naiping/npminila:default + make weirdo/naiping/npminila:default The RST pin and GND pin on the board can be quickly shortened twice to enter DFU mode, and then the program can be written. diff --git a/keyboards/naiping/npminila/rules.mk b/keyboards/weirdo/naiping/npminila/rules.mk index bcc109f6d4..bcc109f6d4 100644 --- a/keyboards/naiping/npminila/rules.mk +++ b/keyboards/weirdo/naiping/npminila/rules.mk diff --git a/keyboards/tiger910/config.h b/keyboards/weirdo/tiger910/config.h index 4f2541739a..4f2541739a 100644 --- a/keyboards/tiger910/config.h +++ b/keyboards/weirdo/tiger910/config.h diff --git a/keyboards/tiger910/info.json b/keyboards/weirdo/tiger910/info.json index 1c4e706e37..1c4e706e37 100644 --- a/keyboards/tiger910/info.json +++ b/keyboards/weirdo/tiger910/info.json diff --git a/keyboards/tiger910/keymaps/default/keymap.c b/keyboards/weirdo/tiger910/keymaps/default/keymap.c index 5896a6913c..5896a6913c 100644 --- a/keyboards/tiger910/keymaps/default/keymap.c +++ b/keyboards/weirdo/tiger910/keymaps/default/keymap.c diff --git a/keyboards/tiger910/keymaps/via/keymap.c b/keyboards/weirdo/tiger910/keymaps/via/keymap.c index 051796e3de..051796e3de 100644 --- a/keyboards/tiger910/keymaps/via/keymap.c +++ b/keyboards/weirdo/tiger910/keymaps/via/keymap.c diff --git a/keyboards/tiger910/keymaps/via/rules.mk b/keyboards/weirdo/tiger910/keymaps/via/rules.mk index 036bd6d1c3..036bd6d1c3 100644 --- a/keyboards/tiger910/keymaps/via/rules.mk +++ b/keyboards/weirdo/tiger910/keymaps/via/rules.mk diff --git a/keyboards/tiger910/readme.md b/keyboards/weirdo/tiger910/readme.md index ed14a307d3..a47b84db87 100644 --- a/keyboards/tiger910/readme.md +++ b/keyboards/weirdo/tiger910/readme.md @@ -10,6 +10,6 @@ A 65% keyboard Make example for this keyboard (after setting up your build environment): - make tiger910:default + make weirdo/tiger910:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/tiger910/rules.mk b/keyboards/weirdo/tiger910/rules.mk index ee0b9bc30c..ee0b9bc30c 100644 --- a/keyboards/tiger910/rules.mk +++ b/keyboards/weirdo/tiger910/rules.mk diff --git a/keyboards/tiger910/tiger910.c b/keyboards/weirdo/tiger910/tiger910.c index d0964d9be9..d0964d9be9 100644 --- a/keyboards/tiger910/tiger910.c +++ b/keyboards/weirdo/tiger910/tiger910.c diff --git a/keyboards/tiger910/tiger910.h b/keyboards/weirdo/tiger910/tiger910.h index 529c12fc5e..529c12fc5e 100644 --- a/keyboards/tiger910/tiger910.h +++ b/keyboards/weirdo/tiger910/tiger910.h diff --git a/keyboards/yanghu/unicorne/config.h b/keyboards/yanghu/unicorne/config.h index 652afeb3b4..27d21c7906 100644 --- a/keyboards/yanghu/unicorne/config.h +++ b/keyboards/yanghu/unicorne/config.h @@ -42,6 +42,12 @@ #define ENCODERS_PAD_B \ { B12, B0 } +/* I2C - required for custom i2c_init */ +#define I2C1_SCL_PIN B6 +#define I2C1_SDA_PIN B7 +#define I2C1_SCL_PAL_MODE 4 +#define I2C1_SDA_PAL_MODE 4 + /* Audio */ #define AUDIO_PIN A8 #define AUDIO_PWM_PAL_MODE 1 diff --git a/keyboards/chili/chili.c b/keyboards/ydkb/chili/chili.c index f629a6d60a..f629a6d60a 100644 --- a/keyboards/chili/chili.c +++ b/keyboards/ydkb/chili/chili.c diff --git a/keyboards/chili/chili.h b/keyboards/ydkb/chili/chili.h index f5e1444b94..f5e1444b94 100644 --- a/keyboards/chili/chili.h +++ b/keyboards/ydkb/chili/chili.h diff --git a/keyboards/chili/config.h b/keyboards/ydkb/chili/config.h index 13bd700363..13bd700363 100644 --- a/keyboards/chili/config.h +++ b/keyboards/ydkb/chili/config.h diff --git a/keyboards/chili/info.json b/keyboards/ydkb/chili/info.json index 8e92d83de0..8e92d83de0 100644 --- a/keyboards/chili/info.json +++ b/keyboards/ydkb/chili/info.json diff --git a/keyboards/chili/keymaps/default/keymap.c b/keyboards/ydkb/chili/keymaps/default/keymap.c index 32ac9a066d..32ac9a066d 100644 --- a/keyboards/chili/keymaps/default/keymap.c +++ b/keyboards/ydkb/chili/keymaps/default/keymap.c diff --git a/keyboards/chili/keymaps/via/keymap.c b/keyboards/ydkb/chili/keymaps/via/keymap.c index 9d5cdd303f..9d5cdd303f 100644 --- a/keyboards/chili/keymaps/via/keymap.c +++ b/keyboards/ydkb/chili/keymaps/via/keymap.c diff --git a/keyboards/seigaiha/keymaps/via/rules.mk b/keyboards/ydkb/chili/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/seigaiha/keymaps/via/rules.mk +++ b/keyboards/ydkb/chili/keymaps/via/rules.mk diff --git a/keyboards/chili/readme.md b/keyboards/ydkb/chili/readme.md index a383f98fb0..c7be92b9e5 100644 --- a/keyboards/chili/readme.md +++ b/keyboards/ydkb/chili/readme.md @@ -10,6 +10,6 @@ The YDKB Chili is a Cherry G80-3000 replacement PCB utilizing the ATmega32U4 mic Make example for this keyboard (after setting up your build environment): - make chili:default + make ydkb/chili:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/chili/rules.mk b/keyboards/ydkb/chili/rules.mk index 31559786a6..31559786a6 100644 --- a/keyboards/chili/rules.mk +++ b/keyboards/ydkb/chili/rules.mk diff --git a/keyboards/just60/config.h b/keyboards/ydkb/just60/config.h index b2ff156310..b2ff156310 100644 --- a/keyboards/just60/config.h +++ b/keyboards/ydkb/just60/config.h diff --git a/keyboards/just60/info.json b/keyboards/ydkb/just60/info.json index 5f42033845..5f42033845 100644 --- a/keyboards/just60/info.json +++ b/keyboards/ydkb/just60/info.json diff --git a/keyboards/just60/just60.h b/keyboards/ydkb/just60/just60.h index 426324fe02..426324fe02 100644 --- a/keyboards/just60/just60.h +++ b/keyboards/ydkb/just60/just60.h diff --git a/keyboards/just60/keymaps/default/keymap.c b/keyboards/ydkb/just60/keymaps/default/keymap.c index da034e0e44..da034e0e44 100644 --- a/keyboards/just60/keymaps/default/keymap.c +++ b/keyboards/ydkb/just60/keymaps/default/keymap.c diff --git a/keyboards/just60/keymaps/default/readme.md b/keyboards/ydkb/just60/keymaps/default/readme.md index 927618c910..927618c910 100644 --- a/keyboards/just60/keymaps/default/readme.md +++ b/keyboards/ydkb/just60/keymaps/default/readme.md diff --git a/keyboards/just60/keymaps/thinxer/keymap.c b/keyboards/ydkb/just60/keymaps/thinxer/keymap.c index da034e0e44..da034e0e44 100644 --- a/keyboards/just60/keymaps/thinxer/keymap.c +++ b/keyboards/ydkb/just60/keymaps/thinxer/keymap.c diff --git a/keyboards/just60/keymaps/thinxer/readme.md b/keyboards/ydkb/just60/keymaps/thinxer/readme.md index 9cd12c192f..9cd12c192f 100644 --- a/keyboards/just60/keymaps/thinxer/readme.md +++ b/keyboards/ydkb/just60/keymaps/thinxer/readme.md diff --git a/keyboards/just60/keymaps/thinxer/rules.mk b/keyboards/ydkb/just60/keymaps/thinxer/rules.mk index 0613ea8667..0613ea8667 100644 --- a/keyboards/just60/keymaps/thinxer/rules.mk +++ b/keyboards/ydkb/just60/keymaps/thinxer/rules.mk diff --git a/keyboards/just60/readme.md b/keyboards/ydkb/just60/readme.md index f78adcd529..1fe05bd3ea 100644 --- a/keyboards/just60/readme.md +++ b/keyboards/ydkb/just60/readme.md @@ -12,6 +12,6 @@ Backlight LEDs and Bluetooth are not working yet. Make example for this keyboard (after setting up your build environment): - make just60:default + make ydkb/just60:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/just60/rules.mk b/keyboards/ydkb/just60/rules.mk index 7323e8f1e2..7323e8f1e2 100644 --- a/keyboards/just60/rules.mk +++ b/keyboards/ydkb/just60/rules.mk diff --git a/keyboards/yd68/config.h b/keyboards/ydkb/yd68/config.h index a501a98476..a501a98476 100644 --- a/keyboards/yd68/config.h +++ b/keyboards/ydkb/yd68/config.h diff --git a/keyboards/yd68/info.json b/keyboards/ydkb/yd68/info.json index 8797620557..8797620557 100644 --- a/keyboards/yd68/info.json +++ b/keyboards/ydkb/yd68/info.json diff --git a/keyboards/yd68/keymaps/default/keymap.c b/keyboards/ydkb/yd68/keymaps/default/keymap.c index c8b49c76a3..c8b49c76a3 100644 --- a/keyboards/yd68/keymaps/default/keymap.c +++ b/keyboards/ydkb/yd68/keymaps/default/keymap.c diff --git a/keyboards/yd68/keymaps/default/readme.md b/keyboards/ydkb/yd68/keymaps/default/readme.md index 877e64f18b..877e64f18b 100644 --- a/keyboards/yd68/keymaps/default/readme.md +++ b/keyboards/ydkb/yd68/keymaps/default/readme.md diff --git a/keyboards/yd68/readme.md b/keyboards/ydkb/yd68/readme.md index 7e5e83bcc9..2632e8e9f8 100644 --- a/keyboards/yd68/readme.md +++ b/keyboards/ydkb/yd68/readme.md @@ -10,6 +10,6 @@ Hardware Availability: [KBDFans](https://kbdfans.cn/collections/diy-kit/products Make example for this keyboard (after setting up your build environment): - make yd68:default + make ydkb/yd68:default See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/yd68/rules.mk b/keyboards/ydkb/yd68/rules.mk index 561e8f4ca1..561e8f4ca1 100644 --- a/keyboards/yd68/rules.mk +++ b/keyboards/ydkb/yd68/rules.mk diff --git a/keyboards/yd68/yd68.c b/keyboards/ydkb/yd68/yd68.c index 22f75f7f81..22f75f7f81 100644 --- a/keyboards/yd68/yd68.c +++ b/keyboards/ydkb/yd68/yd68.c diff --git a/keyboards/yd68/yd68.h b/keyboards/ydkb/yd68/yd68.h index 3303bd899e..3303bd899e 100644 --- a/keyboards/yd68/yd68.h +++ b/keyboards/ydkb/yd68/yd68.h diff --git a/keyboards/barleycorn/barleycorn.c b/keyboards/yiancardesigns/barleycorn/barleycorn.c index 4d555de195..4d555de195 100644 --- a/keyboards/barleycorn/barleycorn.c +++ b/keyboards/yiancardesigns/barleycorn/barleycorn.c diff --git a/keyboards/barleycorn/barleycorn.h b/keyboards/yiancardesigns/barleycorn/barleycorn.h index 0b266feaed..0b266feaed 100644 --- a/keyboards/barleycorn/barleycorn.h +++ b/keyboards/yiancardesigns/barleycorn/barleycorn.h diff --git a/keyboards/barleycorn/config.h b/keyboards/yiancardesigns/barleycorn/config.h index 77714a87fc..77714a87fc 100644 --- a/keyboards/barleycorn/config.h +++ b/keyboards/yiancardesigns/barleycorn/config.h diff --git a/keyboards/barleycorn/info.json b/keyboards/yiancardesigns/barleycorn/info.json index 293f321b2c..293f321b2c 100644 --- a/keyboards/barleycorn/info.json +++ b/keyboards/yiancardesigns/barleycorn/info.json diff --git a/keyboards/barleycorn/keymaps/default/keymap.c b/keyboards/yiancardesigns/barleycorn/keymaps/default/keymap.c index 230b78e991..230b78e991 100644 --- a/keyboards/barleycorn/keymaps/default/keymap.c +++ b/keyboards/yiancardesigns/barleycorn/keymaps/default/keymap.c diff --git a/keyboards/barleycorn/keymaps/default/readme.md b/keyboards/yiancardesigns/barleycorn/keymaps/default/readme.md index 04903f8cc9..04903f8cc9 100644 --- a/keyboards/barleycorn/keymaps/default/readme.md +++ b/keyboards/yiancardesigns/barleycorn/keymaps/default/readme.md diff --git a/keyboards/barleycorn/keymaps/iso/keymap.c b/keyboards/yiancardesigns/barleycorn/keymaps/iso/keymap.c index 7fd4d06969..7fd4d06969 100644 --- a/keyboards/barleycorn/keymaps/iso/keymap.c +++ b/keyboards/yiancardesigns/barleycorn/keymaps/iso/keymap.c diff --git a/keyboards/barleycorn/keymaps/iso/readme.md b/keyboards/yiancardesigns/barleycorn/keymaps/iso/readme.md index 492abfcecc..492abfcecc 100644 --- a/keyboards/barleycorn/keymaps/iso/readme.md +++ b/keyboards/yiancardesigns/barleycorn/keymaps/iso/readme.md diff --git a/keyboards/barleycorn/keymaps/via/keymap.c b/keyboards/yiancardesigns/barleycorn/keymaps/via/keymap.c index 90ce60d1ea..90ce60d1ea 100644 --- a/keyboards/barleycorn/keymaps/via/keymap.c +++ b/keyboards/yiancardesigns/barleycorn/keymaps/via/keymap.c diff --git a/keyboards/barleycorn/keymaps/via/readme.md b/keyboards/yiancardesigns/barleycorn/keymaps/via/readme.md index b82bc8e79f..b82bc8e79f 100644 --- a/keyboards/barleycorn/keymaps/via/readme.md +++ b/keyboards/yiancardesigns/barleycorn/keymaps/via/readme.md diff --git a/keyboards/wings42/rev1/keymaps/via/rules.mk b/keyboards/yiancardesigns/barleycorn/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/wings42/rev1/keymaps/via/rules.mk +++ b/keyboards/yiancardesigns/barleycorn/keymaps/via/rules.mk diff --git a/keyboards/barleycorn/matrix.c b/keyboards/yiancardesigns/barleycorn/matrix.c index 99366d6098..99366d6098 100644 --- a/keyboards/barleycorn/matrix.c +++ b/keyboards/yiancardesigns/barleycorn/matrix.c diff --git a/keyboards/barleycorn/readme.md b/keyboards/yiancardesigns/barleycorn/readme.md index dd96c69e9a..c98be3e042 100644 --- a/keyboards/barleycorn/readme.md +++ b/keyboards/yiancardesigns/barleycorn/readme.md @@ -10,11 +10,11 @@ An f-row less compact 1800 kit with only through hole components. Make example for this keyboard (after setting up your build environment): - make barleycorn:default + make yiancardesigns/barleycorn:default Flashing example for this keyboard: - make barleycorn:default:flash + make yiancardesigns/barleycorn:default:flash Bootloader: use usbasploader from HSGW's repository. diff --git a/keyboards/barleycorn/rules.mk b/keyboards/yiancardesigns/barleycorn/rules.mk index c7d4310cb2..c7d4310cb2 100644 --- a/keyboards/barleycorn/rules.mk +++ b/keyboards/yiancardesigns/barleycorn/rules.mk diff --git a/keyboards/gingham/config.h b/keyboards/yiancardesigns/gingham/config.h index 62f25b06c9..62f25b06c9 100644 --- a/keyboards/gingham/config.h +++ b/keyboards/yiancardesigns/gingham/config.h diff --git a/keyboards/gingham/gingham.c b/keyboards/yiancardesigns/gingham/gingham.c index 9a5ffe4530..9a5ffe4530 100644 --- a/keyboards/gingham/gingham.c +++ b/keyboards/yiancardesigns/gingham/gingham.c diff --git a/keyboards/gingham/gingham.h b/keyboards/yiancardesigns/gingham/gingham.h index a9785b5416..a9785b5416 100644 --- a/keyboards/gingham/gingham.h +++ b/keyboards/yiancardesigns/gingham/gingham.h diff --git a/keyboards/gingham/info.json b/keyboards/yiancardesigns/gingham/info.json index 0f9e81decc..0f9e81decc 100644 --- a/keyboards/gingham/info.json +++ b/keyboards/yiancardesigns/gingham/info.json diff --git a/keyboards/gingham/keymaps/codecoffeecode/keymap.c b/keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/keymap.c index 5c3891845d..5c3891845d 100644 --- a/keyboards/gingham/keymaps/codecoffeecode/keymap.c +++ b/keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/keymap.c diff --git a/keyboards/gingham/keymaps/codecoffeecode/readme.md b/keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/readme.md index 6f6dbfc859..6f6dbfc859 100644 --- a/keyboards/gingham/keymaps/codecoffeecode/readme.md +++ b/keyboards/yiancardesigns/gingham/keymaps/codecoffeecode/readme.md diff --git a/keyboards/gingham/keymaps/default/keymap.c b/keyboards/yiancardesigns/gingham/keymaps/default/keymap.c index f54d6d8bdc..f54d6d8bdc 100644 --- a/keyboards/gingham/keymaps/default/keymap.c +++ b/keyboards/yiancardesigns/gingham/keymaps/default/keymap.c diff --git a/keyboards/gingham/keymaps/default/readme.md b/keyboards/yiancardesigns/gingham/keymaps/default/readme.md index 2f3372492e..2f3372492e 100644 --- a/keyboards/gingham/keymaps/default/readme.md +++ b/keyboards/yiancardesigns/gingham/keymaps/default/readme.md diff --git a/keyboards/gingham/keymaps/iso/keymap.c b/keyboards/yiancardesigns/gingham/keymaps/iso/keymap.c index 6aae0ccf36..6aae0ccf36 100644 --- a/keyboards/gingham/keymaps/iso/keymap.c +++ b/keyboards/yiancardesigns/gingham/keymaps/iso/keymap.c diff --git a/keyboards/gingham/keymaps/iso/readme.md b/keyboards/yiancardesigns/gingham/keymaps/iso/readme.md index cd29c28900..cd29c28900 100644 --- a/keyboards/gingham/keymaps/iso/readme.md +++ b/keyboards/yiancardesigns/gingham/keymaps/iso/readme.md diff --git a/keyboards/gingham/keymaps/via/keymap.c b/keyboards/yiancardesigns/gingham/keymaps/via/keymap.c index f303449739..f303449739 100644 --- a/keyboards/gingham/keymaps/via/keymap.c +++ b/keyboards/yiancardesigns/gingham/keymaps/via/keymap.c diff --git a/keyboards/gingham/keymaps/via/readme.md b/keyboards/yiancardesigns/gingham/keymaps/via/readme.md index b82bc8e79f..b82bc8e79f 100644 --- a/keyboards/gingham/keymaps/via/readme.md +++ b/keyboards/yiancardesigns/gingham/keymaps/via/readme.md diff --git a/keyboards/wings42/rev1_extkeys/keymaps/via/rules.mk b/keyboards/yiancardesigns/gingham/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/wings42/rev1_extkeys/keymaps/via/rules.mk +++ b/keyboards/yiancardesigns/gingham/keymaps/via/rules.mk diff --git a/keyboards/gingham/matrix.c b/keyboards/yiancardesigns/gingham/matrix.c index 47c8830565..47c8830565 100644 --- a/keyboards/gingham/matrix.c +++ b/keyboards/yiancardesigns/gingham/matrix.c diff --git a/keyboards/gingham/readme.md b/keyboards/yiancardesigns/gingham/readme.md index 089af1cf5e..994fcaac55 100644 --- a/keyboards/gingham/readme.md +++ b/keyboards/yiancardesigns/gingham/readme.md @@ -10,11 +10,11 @@ Hardware Availability: https://yiancar-designs.com/, https://novelkeys.xyz, http Make example for this keyboard (after setting up your build environment): - make gingham:default + make yiancardesigns/gingham:default Flashing example for this keyboard: - make gingham:default:flash + make yiancardesigns/gingham:default:flash Bootloader: use usbasploader HSGW's my repository. diff --git a/keyboards/gingham/rules.mk b/keyboards/yiancardesigns/gingham/rules.mk index 977d9b9d81..977d9b9d81 100644 --- a/keyboards/gingham/rules.mk +++ b/keyboards/yiancardesigns/gingham/rules.mk diff --git a/keyboards/seigaiha/config.h b/keyboards/yiancardesigns/seigaiha/config.h index 5e87bd6f83..5e87bd6f83 100644 --- a/keyboards/seigaiha/config.h +++ b/keyboards/yiancardesigns/seigaiha/config.h diff --git a/keyboards/seigaiha/info.json b/keyboards/yiancardesigns/seigaiha/info.json index 09bc2d09d0..09bc2d09d0 100644 --- a/keyboards/seigaiha/info.json +++ b/keyboards/yiancardesigns/seigaiha/info.json diff --git a/keyboards/seigaiha/keymaps/default/keymap.c b/keyboards/yiancardesigns/seigaiha/keymaps/default/keymap.c index 607d85a132..607d85a132 100644 --- a/keyboards/seigaiha/keymaps/default/keymap.c +++ b/keyboards/yiancardesigns/seigaiha/keymaps/default/keymap.c diff --git a/keyboards/seigaiha/keymaps/default/readme.md b/keyboards/yiancardesigns/seigaiha/keymaps/default/readme.md index dceb6080e4..dceb6080e4 100644 --- a/keyboards/seigaiha/keymaps/default/readme.md +++ b/keyboards/yiancardesigns/seigaiha/keymaps/default/readme.md diff --git a/keyboards/seigaiha/keymaps/via/keymap.c b/keyboards/yiancardesigns/seigaiha/keymaps/via/keymap.c index 00f1b01501..00f1b01501 100644 --- a/keyboards/seigaiha/keymaps/via/keymap.c +++ b/keyboards/yiancardesigns/seigaiha/keymaps/via/keymap.c diff --git a/keyboards/seigaiha/keymaps/via/readme.md b/keyboards/yiancardesigns/seigaiha/keymaps/via/readme.md index 8f626d49e3..8f626d49e3 100644 --- a/keyboards/seigaiha/keymaps/via/readme.md +++ b/keyboards/yiancardesigns/seigaiha/keymaps/via/readme.md diff --git a/keyboards/yasui/keymaps/via/rules.mk b/keyboards/yiancardesigns/seigaiha/keymaps/via/rules.mk index 1e5b99807c..1e5b99807c 100644 --- a/keyboards/yasui/keymaps/via/rules.mk +++ b/keyboards/yiancardesigns/seigaiha/keymaps/via/rules.mk diff --git a/keyboards/seigaiha/matrix.c b/keyboards/yiancardesigns/seigaiha/matrix.c index 212b8015f0..212b8015f0 100644 --- a/keyboards/seigaiha/matrix.c +++ b/keyboards/yiancardesigns/seigaiha/matrix.c diff --git a/keyboards/seigaiha/readme.md b/keyboards/yiancardesigns/seigaiha/readme.md index fb0e8571ae..8c81723563 100644 --- a/keyboards/seigaiha/readme.md +++ b/keyboards/yiancardesigns/seigaiha/readme.md @@ -10,11 +10,11 @@ An alice layout kit with only through hole components. Make example for this keyboard (after setting up your build environment): - make seigaiha:default + make yiancardesigns/seigaiha:default Flashing example for this keyboard: - make seigaiha:default:flash + make yiancardesigns/seigaiha:default:flash Bootloader: use usbasploader from HSGW's repository. diff --git a/keyboards/seigaiha/rules.mk b/keyboards/yiancardesigns/seigaiha/rules.mk index 0e494f8488..0e494f8488 100644 --- a/keyboards/seigaiha/rules.mk +++ b/keyboards/yiancardesigns/seigaiha/rules.mk diff --git a/keyboards/seigaiha/seigaiha.c b/keyboards/yiancardesigns/seigaiha/seigaiha.c index 911034eb56..911034eb56 100644 --- a/keyboards/seigaiha/seigaiha.c +++ b/keyboards/yiancardesigns/seigaiha/seigaiha.c diff --git a/keyboards/seigaiha/seigaiha.h b/keyboards/yiancardesigns/seigaiha/seigaiha.h index e05c6f5242..e05c6f5242 100644 --- a/keyboards/seigaiha/seigaiha.h +++ b/keyboards/yiancardesigns/seigaiha/seigaiha.h diff --git a/keyboards/yosino58/rev1/matrix.c b/keyboards/yosino58/rev1/matrix.c index 3db40b3829..e2be7113bf 100644 --- a/keyboards/yosino58/rev1/matrix.c +++ b/keyboards/yosino58/rev1/matrix.c @@ -289,12 +289,6 @@ void matrix_slave_scan(void) { #endif } -bool matrix_is_modified(void) -{ - if (debouncing) return false; - return true; -} - inline bool matrix_is_on(uint8_t row, uint8_t col) { |