[osx_neo2] Bugfixes and improvements to Ergodox macOS Neo2 keymap (#8154)
* Use TAPPING_TERM constant (and redefine value to 200ms) * change TAPPING_TOGGLE to 2 to require two taps to lock in layer 4 * add support for Shift-Command 3/4/5 key combinations that are used in macOS Catalina * avoid false positive tap detecion for RMOD3 when the whole sequence of pressing RMOD3, tapping another key and releasing RMOD3 took less than TAPPING_TERM milliseconds. * replace SEND_STRING with tap_code()/tap_code16(), saving ~860 bytes in compiled firmware size.
This commit is contained in:
		
							parent
							
								
									9241d11dc5
								
							
						
					
					
						commit
						806cd392e7
					
				
					 2 changed files with 79 additions and 41 deletions
				
			
		
							
								
								
									
										7
									
								
								layouts/community/ergodox/osx_neo2/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								layouts/community/ergodox/osx_neo2/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#undef TAPPING_TERM
 | 
			
		||||
#define TAPPING_TERM 200
 | 
			
		||||
 | 
			
		||||
#undef TAPPING_TOGGLE
 | 
			
		||||
#define TAPPING_TOGGLE 2
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue