qmk-keychron-q3-colemak-dh/keyboards/chimera_ortho_plus/chimera_ortho_plus.c

24 lines
399 B
C
Raw Normal View History

Adding Chimera Ortho Plus (#9093) * Added Chimera Ortho keymap * Cleaning up the rules * Removing firmware sizes * Modified URLs to point to new locations * Remove _quantum functions from custom matrix.c code * Fix 1<col instead of 1<<col typo in matrix_is_on() * Make PREVENT_STUCK_MODIFIERS the default * Removing the IS_COMMAND custom definition * Adding info.json * Adding config overrides * Adjusting for the reformat * removing backlight reference * fixing some compile issues * Fixing a matrix issue * Update keyboards/chimera_ortho_plus/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: Ryan <fauxpark@gmail.com> * lining up the matrix * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/readme.md Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/info.json Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/chimera_ortho_plus.h Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/chimera_ortho_plus/keymaps/default/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/chimera_ortho_plus/config.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2020-05-20 00:01:54 +02:00
#include "chimera_ortho_plus.h"
void uart_init(void) {
SERIAL_UART_INIT();
}
void led_init(void) {
setPinOutput(D1);
setPinOutput(F4);
setPinOutput(F5);
writePinHigh(D1);
writePinHigh(F4);
writePinHigh(F5);
}
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
uart_init();
led_init();
}