mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Merge pull request #1344 from qmk/jackhumbert-patch-1
Re-enable mouse buttons from #1327
This commit is contained in:
		
						commit
						732a115b32
					
				| @ -324,9 +324,10 @@ void process_action(keyrecord_t *record, action_t action) | ||||
|                         tp_buttons |= (1<<2); | ||||
|                         break; | ||||
|                     default: | ||||
|                         mousekey_on(action.key.code); | ||||
|                         mousekey_send(); | ||||
|                         break; | ||||
|                 } | ||||
|                 mousekey_on(action.key.code); | ||||
|                 mousekey_send(); | ||||
|             } else { | ||||
|                 switch (action.key.code) { | ||||
|                     case KC_MS_BTN1: | ||||
| @ -339,9 +340,10 @@ void process_action(keyrecord_t *record, action_t action) | ||||
|                         tp_buttons &= ~(1<<2); | ||||
|                         break; | ||||
|                     default: | ||||
|                         mousekey_off(action.key.code); | ||||
|                         mousekey_send(); | ||||
|                         break; | ||||
|                 } | ||||
|                 mousekey_off(action.key.code); | ||||
|                 mousekey_send(); | ||||
|             } | ||||
|             break; | ||||
| #endif | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jack Humbert
						Jack Humbert