forked from mirrors/qmk_userspace
		
	Change IS_COMMAND.(M0110)
This commit is contained in:
		
					parent
					
						
							
								07b6c1a58c
							
						
					
				
			
			
				commit
				
					
						7aca01ab80
					
				
			
		
					 2 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -120,5 +120,7 @@ Debug
 | 
				
			||||||
-----
 | 
					-----
 | 
				
			||||||
You can use [PJRC HID listen](http://www.pjrc.com/teensy/hid_listen.html) to see debug output.
 | 
					You can use [PJRC HID listen](http://www.pjrc.com/teensy/hid_listen.html) to see debug output.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The converter has some functions for debug, press `Alt+Gui+H` simultaneously to get help.
 | 
					The converter has some functions for debug, press `<magickey>+H` simultaneously to get help.
 | 
				
			||||||
These function is totally undocumented, tentative, inconsistent and buggy.
 | 
					These function is totally undocumented, tentative, inconsistent and buggy.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					magickey: Shift+Option+Command(Shift+Alt+Gui or Shift+Alt+Control)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,10 +36,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
/* Locking Caps Lock support */
 | 
					/* Locking Caps Lock support */
 | 
				
			||||||
//#define MATRIX_HAS_LOCKING_CAPS
 | 
					//#define MATRIX_HAS_LOCKING_CAPS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Backspace for command key */
 | 
					/* magic key */
 | 
				
			||||||
#define BACKSPACE_CODE  0x33
 | 
					 | 
				
			||||||
#define IS_COMMAND() ( \
 | 
					#define IS_COMMAND() ( \
 | 
				
			||||||
    matrix_is_on((BACKSPACE_CODE>>3)&0x0F, BACKSPACE_CODE&0x07) \
 | 
					    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT) | MOD_BIT(KC_LGUI)) || \
 | 
				
			||||||
 | 
					    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT) | MOD_BIT(KC_LCTL)) \
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue