* A personal layout for the orthodox keyboard * Added layout readme.md * Consolidated inclues with #include QMK_KEYBOARD_H * Moved layer tones setup to config.h * Replace persistent_default_layer_set calls with set_single_persistent_default_layer * Simplified the process_record_user function using layer_state_set_user function and MO() to set the lower, raise, nav and media layers * Removed AUDIO_ENABLE ifdefs and persistent_default_layer_set() as they are not needed any more
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
This is the c configuration file for the keymap
 | 
						|
 | 
						|
Copyright 2012 Jun Wako <wakojun@gmail.com>
 | 
						|
Copyright 2015 Jack Humbert
 | 
						|
Copyright 2017 Art Ortenburger
 | 
						|
 | 
						|
This program is free software: you can redistribute it and/or modify
 | 
						|
it under the terms of the GNU General Public License as published by
 | 
						|
the Free Software Foundation, either version 2 of the License, or
 | 
						|
(at your option) any later version.
 | 
						|
 | 
						|
This program is distributed in the hope that it will be useful,
 | 
						|
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
GNU General Public License for more details.
 | 
						|
 | 
						|
You should have received a copy of the GNU General Public License
 | 
						|
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
						|
*/
 | 
						|
 | 
						|
#ifndef CONFIG_USER_H
 | 
						|
#define CONFIG_USER_H
 | 
						|
 | 
						|
#include "config_common.h"
 | 
						|
 | 
						|
#ifdef AUDIO_ENABLE
 | 
						|
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
 | 
						|
                                  SONG(COLEMAK_SOUND), \
 | 
						|
                                  SONG(DVORAK_SOUND) \
 | 
						|
}
 | 
						|
#endif
 | 
						|
 | 
						|
/* Use I2C or Serial, not both */
 | 
						|
 | 
						|
// #define USE_SERIAL
 | 
						|
#define USE_I2C
 | 
						|
 | 
						|
/* Select hand configuration */
 | 
						|
 | 
						|
// #define MASTER_LEFT
 | 
						|
// #define MASTER_RIGHT
 | 
						|
#define EE_HANDS
 | 
						|
 | 
						|
#endif
 |