* initial user directory * fix missing endif in vi mode * fix includes per drashna and a few typos. I have not tested the userspace keymap, it is just there to help keep the user space and keymap in sync * move babblepaste docs to md format * clean up block quotes * TIL clang-format - miles2go userspace
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| // Expect to get errors if you comment a feature out and leave it in your keymap.
 | |
| #define USE_BABLPASTE
 | |
| 
 | |
| #ifdef USE_BABLPASTE
 | |
| 
 | |
| #ifdef RGBLIGHT_ENABLE
 | |
| #define BABL_LED_INDEX 0 // set to 0 to set all LEDs , or set to # of LED to be used as BABL updaters
 | |
| #define RGBLIGHT_COLOR_MS 0x00,0x27,0x88 // blue screen?
 | |
| #define RGBLIGHT_COLOR_MAC 0xF0,0xF0,0xF0 // grey
 | |
| #define RGBLIGHT_COLOR_LINUX 0xF4,0xAA,0x90 // ubuntu orange?
 | |
| #define RGBLIGHT_COLOR_EMACS 0x00,0x00,0x00
 | |
| #define RGBLIGHT_COLOR_VI 0x00,0x90,0x00
 | |
| #define RGBLIGHT_COLOR_READMUX 0x33,0xFF,0x33 // green screen
 | |
| #define RGBLIGHT_COLOR_CHROMEOS 0xf4,0xc2,0xd // google yellows
 | |
| #endif 
 | |
| 
 | |
| #endif // bablpaste
 | |
| 
 | |
| 
 | |
| 
 | |
| // place overrides here
 | |
| #define RGBLED_NUM 2
 | |
| #define RGBLIGHT_LIMIT_VAL 200
 | |
| #ifdef RGBLIGHT_ENABLE
 | |
| #define RGBLIGHT_COLOR_LAYER_0 0x00, 0xFF, 0x00 // qwerty
 | |
| #define RGBLIGHT_COLOR_LAYER_1 0x00, 0x99, 0x99 // cdh
 | |
| #define RGBLIGHT_COLOR_LAYER_2 0xFF, 0x00, 0x00  // symbol
 | |
| #define RGBLIGHT_COLOR_LAYER_3 0x00, 0xFF, 0xFF  // move
 | |
| #define RGBLIGHT_COLOR_LAYER_4 0xFF, 0x00, 0xFF  // delmove
 | |
| #define RGBLIGHT_COLOR_LAYER_5 0x00, 0xFF, 0xFF 
 | |
| #define RGBLIGHT_ANIMATIONS
 | |
| #define RGB_LIGHT_EFFECT_BREATHE_MAX 200
 | |
| #define RGBLIGHT_RAINBOW_SWIRL_RANGE 127
 | |
| #endif // rgblight
 | |
| 
 | |
| #define TAPPING_TERM 200
 | |
| #define TAPPING_TERM_PER_KEY
 | |
| #define RETRO_TAPPING
 | |
| //#define PERMISSIVE_HOLD
 |