Add Sinc Rev. 3 (#18846)
* Initial work on adding Sinc Rev. 3 * Add RGB Matrix support * Add encoder map support * Set I2C pins * Update LED locations for right half * Move USB definitions to info.json * Update RGB modes * Replace pin mappings for right half with correct ones * Move config.h back to rev1/rev2 due to addition of rev3 * Convert initial Rev. 3 config work to be data-driven * Convert RGB Matrix config to DD format * More config cleanup * Use full-duplex PIO * Add MCU/bootloader settings for Rev. 2 * Change ISO Enter location since it shares location with Backslash * Adjust build settings to reduce flash/EEPROM usage
This commit is contained in:
		
							parent
							
								
									8ea8a4edcb
								
							
						
					
					
						commit
						42c240f6cf
					
				
					 15 changed files with 609 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#include "sinc.h"
 | 
			
		||||
#include "split_util.h"
 | 
			
		||||
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
bool led_update_kb(led_t led_state) {
 | 
			
		||||
    if (!led_update_user(led_state)) { return false; }
 | 
			
		||||
    // Only update if left half
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +26,7 @@ bool led_update_kb(led_t led_state) {
 | 
			
		|||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void eeconfig_init_kb(void) {
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			@ -35,6 +37,7 @@ void eeconfig_init_kb(void) {
 | 
			
		|||
    eeconfig_init_user();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#ifdef ENCODER_ENABLE
 | 
			
		||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
 | 
			
		||||
    if (!encoder_update_user(index, clockwise)) { return false; }
 | 
			
		||||
    if (index == 0) {
 | 
			
		||||
| 
						 | 
				
			
			@ -52,3 +55,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
 | 
			
		|||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue