mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Add link to "Useful functions" in macro docs (#7446)
* Add link to "Useful functions" in macro docs Help people find additional features they can activate within a macro * Update docs/feature_macros.md Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-authored-by: skullydazed <skullydazed@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
		
							parent
							
								
									b353028ea5
								
							
						
					
					
						commit
						530c997638
					
				@ -154,6 +154,8 @@ SEND_STRING(".."SS_TAP(X_END));
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
There are some functions you may find useful in macro-writing. Keep in mind that while you can write some fairly advanced code within a macro, if your functionality gets too complex you may want to define a custom keycode instead. Macros are meant to be simple.
 | 
					There are some functions you may find useful in macro-writing. Keep in mind that while you can write some fairly advanced code within a macro, if your functionality gets too complex you may want to define a custom keycode instead. Macros are meant to be simple.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					?> You can also use the functions described in [Useful function](ref_functions.md) for additional functionality. For example `reset_keyboard()` allows you to reset the keyboard as part of a macro.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### `record->event.pressed`
 | 
					### `record->event.pressed`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This is a boolean value that can be tested to see if the switch is being pressed or released. An example of this is
 | 
					This is a boolean value that can be tested to see if the switch is being pressed or released. An example of this is
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user