Add new connection keycodes for Bluetooth, 2.4GHz. (#24251)
This commit is contained in:
		
							parent
							
								
									ecf725b356
								
							
						
					
					
						commit
						70cbf08b67
					
				
					 11 changed files with 226 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef BLUETOOTH_ENABLE
 | 
			
		||||
#    include "outputselect.h"
 | 
			
		||||
#    include "process_connection.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef GRAVE_ESC_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			@ -392,6 +392,9 @@ bool process_record_quantum(keyrecord_t *record) {
 | 
			
		|||
#endif
 | 
			
		||||
#ifdef TRI_LAYER_ENABLE
 | 
			
		||||
            process_tri_layer(keycode, record) &&
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef BLUETOOTH_ENABLE
 | 
			
		||||
            process_connection(keycode, record) &&
 | 
			
		||||
#endif
 | 
			
		||||
            true)) {
 | 
			
		||||
        return false;
 | 
			
		||||
| 
						 | 
				
			
			@ -430,17 +433,6 @@ bool process_record_quantum(keyrecord_t *record) {
 | 
			
		|||
                velocikey_toggle();
 | 
			
		||||
                return false;
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef BLUETOOTH_ENABLE
 | 
			
		||||
            case QK_OUTPUT_AUTO:
 | 
			
		||||
                set_output(OUTPUT_AUTO);
 | 
			
		||||
                return false;
 | 
			
		||||
            case QK_OUTPUT_USB:
 | 
			
		||||
                set_output(OUTPUT_USB);
 | 
			
		||||
                return false;
 | 
			
		||||
            case QK_OUTPUT_BLUETOOTH:
 | 
			
		||||
                set_output(OUTPUT_BLUETOOTH);
 | 
			
		||||
                return false;
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef NO_ACTION_ONESHOT
 | 
			
		||||
            case QK_ONE_SHOT_TOGGLE:
 | 
			
		||||
                oneshot_toggle();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue