separated all my changes into separate files, working on generalizing my relativity macros. (#4368)
* Updating to my local changes. * Added auto-complete for joins. * Added lights to imply current state better
This commit is contained in:
		
							parent
							
								
									f8d8005835
								
							
						
					
					
						commit
						8f5ac39fb9
					
				
					 8 changed files with 839 additions and 614 deletions
				
			
		
							
								
								
									
										32
									
								
								keyboards/dz60/keymaps/marianas/relativity.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								keyboards/dz60/keymaps/marianas/relativity.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,32 @@
 | 
			
		|||
#include QMK_KEYBOARD_H
 | 
			
		||||
#define macroTapsLen 32
 | 
			
		||||
#define tableNameListLen 32
 | 
			
		||||
#define charCountLen 32
 | 
			
		||||
 | 
			
		||||
#define relTimeout 1500
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void activateRelativity(void);
 | 
			
		||||
bool deactivateRelativity(void);
 | 
			
		||||
void initStringData(void);
 | 
			
		||||
bool containsCode(uint16_t kc);
 | 
			
		||||
bool lastCodeIs(uint16_t kc);
 | 
			
		||||
bool last2CodeAre(uint16_t kc);
 | 
			
		||||
bool last2CodesAre(uint16_t kc, uint16_t kc2);
 | 
			
		||||
void addKeyCode(uint16_t kc);
 | 
			
		||||
void eraseKeyCodes(void);
 | 
			
		||||
void eraseCharCounts(void);
 | 
			
		||||
void printTableAbbreviation(void);
 | 
			
		||||
void eraseTableAbbreviation(void);
 | 
			
		||||
void printString(char* str);
 | 
			
		||||
void printStringAndQueueChar(char* str);
 | 
			
		||||
void ReplaceString(char *orig, char *repl);
 | 
			
		||||
void deletePrev(void);
 | 
			
		||||
bool processSmartMacroTap(uint16_t kc);
 | 
			
		||||
bool isShifted(void);
 | 
			
		||||
void setShifted(bool);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
bool handleSmartMacros(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
bool storeShiftState(uint16_t keycode, keyrecord_t *record);
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue