~ruther/qmk_firmware

ref: 9d9cdaaa2d035787b0b50c26f2975695fdbc16f4 qmk_firmware/keyboards/handwired/gamenum/gamenum.c -rw-r--r-- 234 bytes
9d9cdaaa — Nick Brassel Add encoder abstraction. (#21548) 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "quantum.h"

void matrix_init_kb(void) {
	// put your keyboard start-up code here
	// runs once when the firmware starts up
	DDRC |= (1<<6);
	PORTC &= ~(1<<6);
	
	DDRD |= (1<<4);
	PORTD &= ~(1<<4);
	
	matrix_init_user();
	
}
Do not follow this link