add directories for each keyboard: hhkb, macway
This commit is contained in:
		
							parent
							
								
									82637ded27
								
							
						
					
					
						commit
						54b5bafaac
					
				
					 26 changed files with 383 additions and 794 deletions
				
			
		
							
								
								
									
										20
									
								
								hhkb/keymap.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								hhkb/keymap.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
#ifndef KEYMAP_H
 | 
			
		||||
#define KEYMAP_H 1
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include "usb_keycodes.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define MATRIX_ROWS 8
 | 
			
		||||
#define MATRIX_COLS 8
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
extern int current_layer;
 | 
			
		||||
extern bool key_sent;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
int get_layer(void);
 | 
			
		||||
uint8_t get_keycode(int layer, int row, int col);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue