implement rgb matrix for momokai keyboards (#19904)
Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
		
							parent
							
								
									25cb1c6a5a
								
							
						
					
					
						commit
						3d0f03f21e
					
				
					 6 changed files with 143 additions and 181 deletions
				
			
		| 
						 | 
				
			
			@ -16,16 +16,16 @@
 | 
			
		|||
 | 
			
		||||
#include "tap_duo.h"
 | 
			
		||||
 | 
			
		||||
// #ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
// led_config_t g_led_config = { {
 | 
			
		||||
//     // Key Matrix to LED Index
 | 
			
		||||
//     { 0, 1, 2, NO_LED, NO_LED, NO_LED}
 | 
			
		||||
// }, {
 | 
			
		||||
//     // LED Index to Physical Position
 | 
			
		||||
//     {  56,  0}, { 112,  0}, { 168,  0}, { 0,  64}, { 224,  64}
 | 
			
		||||
// }, {
 | 
			
		||||
//     // LED Index to Flag
 | 
			
		||||
//     4,4,4,2,2
 | 
			
		||||
// } };
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
led_config_t g_led_config = { {
 | 
			
		||||
    // Key Matrix to LED Index
 | 
			
		||||
    { 0, 1, NO_LED, NO_LED, NO_LED}
 | 
			
		||||
}, {
 | 
			
		||||
    // LED Index to Physical Position
 | 
			
		||||
    { 112,  0}, { 168,  0}, { 0,  64}, { 224,  64}
 | 
			
		||||
}, {
 | 
			
		||||
    // LED Index to Flag
 | 
			
		||||
    4,4,2,2
 | 
			
		||||
} };
 | 
			
		||||
 | 
			
		||||
// #endif
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue