mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	[Docs] Reword confusing description of TO(layer) (#6174)
				
					
				
			* Reword confusing description of `TO(layer)` * Update docs/keycodes.md Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
		
							parent
							
								
									3915c8eb00
								
							
						
					
					
						commit
						1a442f9989
					
				| @ -298,7 +298,7 @@ This is a reference only. Each group of keys links to the page documenting their | |||||||
| |`LM(layer, mod)`|Momentarily turn on `layer` (like MO) with `mod` active as well.  Where `mod` is a mods_bit.  Mods can be viewed [here](https://docs.qmk.fm/#/feature_advanced_keycodes?id=mod-tap).  Example Implementation: `LM(LAYER_1, MOD_LALT)`| | |`LM(layer, mod)`|Momentarily turn on `layer` (like MO) with `mod` active as well.  Where `mod` is a mods_bit.  Mods can be viewed [here](https://docs.qmk.fm/#/feature_advanced_keycodes?id=mod-tap).  Example Implementation: `LM(LAYER_1, MOD_LALT)`| | ||||||
| |`LT(layer, kc)` |Turn on `layer` when held, `kc` when tapped                                       | | |`LT(layer, kc)` |Turn on `layer` when held, `kc` when tapped                                       | | ||||||
| |`TG(layer)`     |Toggle `layer` on or off                                                          | | |`TG(layer)`     |Toggle `layer` on or off                                                          | | ||||||
| |`TO(layer)`     |Turn on `layer` when pressed                                                      | | |`TO(layer)`     |Turns on `layer` and turns off all other layers, except the default layer | | ||||||
| |`TT(layer)`     |Normally acts like MO unless it's tapped multiple times, which toggles `layer` on | | |`TT(layer)`     |Normally acts like MO unless it's tapped multiple times, which toggles `layer` on | | ||||||
| 
 | 
 | ||||||
| ## [Mouse Keys](feature_mouse_keys.md) | ## [Mouse Keys](feature_mouse_keys.md) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lf
						lf