* improvement of crkbd communication functions (based on helix-keyboard) * Removed unnecessary code. * Changed read restriction from #define to #pragma once. * Changed from sizeof to defined size. * moved lib folder to crkbdroot. removed warning of ws2812.d
		
			
				
	
	
		
			17 lines
		
	
	
		
			308 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			308 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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 matrix_master_OLED_init (void);
 |