Update to drashna userspace and keymaps (#4459)
* Fix reversed bool check in layer_state_set * Add Quefrency 65 for a friend * Add Ergodox EZ Glow keymap * Add RGB Matrix Code * Further changes to rgb matrix ErgoDox EZ * Update bjohnson keymaps * Fix CRKBD display * Overhaul to corne keyboard * Narrow scope for keylogger * Minor layout tweaks to Corne Keyboard * additional CRKBD tweaks * Minor tweaks to CRKBD * Add all characters for keylogger * Ergodox EZ Glow overhaul * Fix Ergodox EZ Glow layer colors * Increase Tapping Term for Corne Keyboard * Fix unicode-ish * Revert some changes * Add layer specific lighting effects * Some minor tweaks to ergodox glow config * revert changes to ergodox files * Update Glow readme * Add more tapping term defines * Fix changes * Fix ergodox keymap * Hopefully fix sleeping * Disable layer indications if rgb matrix is disabled * Add support for sleeping and rgb layer change toggle to ergodox ez glow * Make RGB Layer Indication Great Again * Make Unicode Great Again * Remove placeholder define Co-Authored-By: drashna <drashna@live.com> * Remove placeholder define Co-Authored-By: drashna <drashna@live.com> * Remove old EEPROM Reset keycode
This commit is contained in:
		
							parent
							
								
									edb6c98fd2
								
							
						
					
					
						commit
						ecd21b44a8
					
				
					 25 changed files with 576 additions and 112 deletions
				
			
		
							
								
								
									
										1
									
								
								layouts/community/ergodox/drashna_glow/README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								layouts/community/ergodox/drashna_glow/README.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Note: This board will not flash if the "g_rgb_leds" const is not set to weak in the ergodox_ez.c file
 | 
			
		||||
							
								
								
									
										11
									
								
								layouts/community/ergodox/drashna_glow/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								layouts/community/ergodox/drashna_glow/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "../drashna/config.h"
 | 
			
		||||
 | 
			
		||||
#undef PRODUCT
 | 
			
		||||
#define PRODUCT         DrashnaDox - Hacked ErgoDox EZ Glow
 | 
			
		||||
 | 
			
		||||
#undef DEBOUNCE
 | 
			
		||||
#define DEBOUNCE 5
 | 
			
		||||
 | 
			
		||||
// #define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
 | 
			
		||||
							
								
								
									
										67
									
								
								layouts/community/ergodox/drashna_glow/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								layouts/community/ergodox/drashna_glow/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,67 @@
 | 
			
		|||
/* placeholder file */
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
 | 
			
		||||
    /*{row | col << 4}
 | 
			
		||||
      |             {x=0..224, y=0..64}
 | 
			
		||||
      |              |                    modifier
 | 
			
		||||
      |              |                    | */
 | 
			
		||||
    {{0|(0<<4)},   {24.9*5, 16*0}, 0}, // LED 1 on right
 | 
			
		||||
    {{0|(1<<4)},   {24.9*6, 16*0}, 0}, // LED 2
 | 
			
		||||
    {{0|(2<<4)},   {24.9*7, 16*0}, 0}, // LED 3
 | 
			
		||||
    {{0|(3<<4)},   {24.9*8, 16*0}, 0}, // LED 4
 | 
			
		||||
    {{0|(4<<4)},   {24.9*9, 16*0}, 0}, // LED 5
 | 
			
		||||
 | 
			
		||||
    {{1|(5<<4)},   {24.9*5, 16*1}, 0}, // LED 6
 | 
			
		||||
    {{1|(6<<4)},   {24.9*6, 16*1}, 0}, // LED 7
 | 
			
		||||
    {{1|(7<<4)},   {24.9*7, 16*1}, 0}, // LED 8
 | 
			
		||||
    {{1|(8<<4)},   {24.9*8, 16*1}, 0}, // LED 9
 | 
			
		||||
    {{1|(9<<4)},   {24.9*9, 16*1}, 0}, // LED 10
 | 
			
		||||
 | 
			
		||||
    {{2|(5<<4)},   {24.9*5, 16*2}, 0}, // LED 11
 | 
			
		||||
    {{2|(6<<4)},   {24.9*6, 16*2}, 0}, // LED 12
 | 
			
		||||
    {{2|(7<<4)},   {24.9*7, 16*2}, 0}, // LED 13
 | 
			
		||||
    {{2|(8<<4)},   {24.9*8, 16*2}, 0}, // LED 14
 | 
			
		||||
    {{2|(9<<4)},   {24.9*9, 16*2}, 0}, // LED 15
 | 
			
		||||
 | 
			
		||||
    {{3|(5<<4)},   {24.9*5, 16*2}, 0}, // LED 16
 | 
			
		||||
    {{3|(6<<4)},   {24.9*6, 16*2}, 0}, // LED 17
 | 
			
		||||
    {{3|(7<<4)},   {24.9*7, 16*2}, 0}, // LED 18
 | 
			
		||||
    {{3|(8<<4)},   {24.9*8, 16*2}, 0}, // LED 19
 | 
			
		||||
    {{3|(9<<4)},   {24.9*9, 16*2}, 0}, // LED 20
 | 
			
		||||
 | 
			
		||||
    {{4|(6<<4)},   {24.9*6, 16*2}, 1}, // LED 21
 | 
			
		||||
    {{4|(7<<4)},   {24.9*7, 16*2}, 1}, // LED 22
 | 
			
		||||
    {{4|(8<<4)},   {24.9*8, 16*2}, 1}, // LED 23
 | 
			
		||||
    {{4|(9<<4)},   {24.9*9, 16*2}, 1}, // LED 24
 | 
			
		||||
 | 
			
		||||
    {{0|(0<<4)},   {24.9*4, 16*0}, 0}, // LED 1 on left
 | 
			
		||||
    {{0|(1<<4)},   {24.9*3, 16*0}, 0}, // LED 2
 | 
			
		||||
    {{0|(2<<4)},   {24.9*2, 16*0}, 0}, // LED 3
 | 
			
		||||
    {{0|(3<<4)},   {24.9*1, 16*0}, 0}, // LED 4
 | 
			
		||||
    {{0|(4<<4)},   {24.9*0, 16*0}, 0}, // LED 5
 | 
			
		||||
 | 
			
		||||
    {{1|(5<<4)},   {24.9*4, 16*1}, 0}, // LED 6
 | 
			
		||||
    {{1|(6<<4)},   {24.9*3, 16*1}, 0}, // LED 7
 | 
			
		||||
    {{1|(7<<4)},   {24.9*2, 16*1}, 0}, // LED 8
 | 
			
		||||
    {{1|(8<<4)},   {24.9*1, 16*1}, 0}, // LED 9
 | 
			
		||||
    {{1|(9<<4)},   {24.9*0, 16*1}, 0}, // LED 10
 | 
			
		||||
 | 
			
		||||
    {{2|(5<<4)},   {24.9*4, 16*2}, 0}, // LED 11
 | 
			
		||||
    {{2|(6<<4)},   {24.9*3, 16*2}, 0}, // LED 12
 | 
			
		||||
    {{2|(7<<4)},   {24.9*2, 16*2}, 0}, // LED 13
 | 
			
		||||
    {{2|(8<<4)},   {24.9*1, 16*2}, 0}, // LED 14
 | 
			
		||||
    {{2|(9<<4)},   {24.9*0, 16*2}, 0}, // LED 15
 | 
			
		||||
 | 
			
		||||
    {{3|(5<<4)},   {24.9*4, 16*2}, 0}, // LED 16
 | 
			
		||||
    {{3|(6<<4)},   {24.9*3, 16*2}, 0}, // LED 17
 | 
			
		||||
    {{3|(7<<4)},   {24.9*2, 16*2}, 0}, // LED 18
 | 
			
		||||
    {{3|(8<<4)},   {24.9*1, 16*2}, 0}, // LED 19
 | 
			
		||||
    {{3|(9<<4)},   {24.9*0, 16*2}, 0}, // LED 20
 | 
			
		||||
 | 
			
		||||
    {{4|(6<<4)},   {24.9*3, 16*2}, 1}, // LED 21
 | 
			
		||||
    {{4|(7<<4)},   {24.9*2, 16*2}, 1}, // LED 22
 | 
			
		||||
    {{4|(8<<4)},   {24.9*1, 16*2}, 1}, // LED 23
 | 
			
		||||
    {{4|(9<<4)},   {24.9*0, 16*2}, 1}, // LED 24
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										9
									
								
								layouts/community/ergodox/drashna_glow/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								layouts/community/ergodox/drashna_glow/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
USER_NAME := drashna
 | 
			
		||||
SRC += ../drashna/keymap.c
 | 
			
		||||
 | 
			
		||||
-include $$(LAYOUT_KEYMAP_PATH)/../drashna/rules.mk
 | 
			
		||||
 | 
			
		||||
ifneq (,$(findstring ergodox_ez,$(KEYBOARD)))
 | 
			
		||||
  RGBLIGHT_ENABLE = no
 | 
			
		||||
  RGB_MATRIX_ENABLE = yes
 | 
			
		||||
endif
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue