qmk_firmware

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

chimera_ortho_plus.c (553B)


      1 #include "chimera_ortho_plus.h"
      2 
      3 void led_init(void) {
      4     gpio_set_pin_output(CHIMERA_ORTHO_PLUS_GREEN_LED_PIN);
      5     gpio_set_pin_output(CHIMERA_ORTHO_PLUS_BLUE_LED_PIN);
      6     gpio_set_pin_output(CHIMERA_ORTHO_PLUS_RED_LED_PIN);
      7     gpio_write_pin_high(CHIMERA_ORTHO_PLUS_GREEN_LED_PIN);
      8     gpio_write_pin_high(CHIMERA_ORTHO_PLUS_BLUE_LED_PIN);
      9     gpio_write_pin_high(CHIMERA_ORTHO_PLUS_RED_LED_PIN);
     10 }
     11 
     12 void matrix_init_kb(void) {
     13 	// put your keyboard start-up code here
     14 	// runs once when the firmware starts up
     15 	matrix_init_user();
     16 	led_init();
     17 }