[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									6fd20acf4b
								
							
						
					
					
						commit
						4e1c5887c5
					
				
					 500 changed files with 1579 additions and 1387 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
    
 | 
			
		||||
 | 
			
		||||
/* Copyright 2019
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
| 
						 | 
				
			
			@ -16,13 +16,13 @@
 | 
			
		|||
 */
 | 
			
		||||
#include "yampad.h"
 | 
			
		||||
 | 
			
		||||
#if defined(OLED_DRIVER_ENABLE)
 | 
			
		||||
#if defined(OLED_ENABLE)
 | 
			
		||||
__attribute__((weak))
 | 
			
		||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
 | 
			
		||||
    return OLED_ROTATION_270;  // flips the display 270 degrees
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
__attribute__((weak)) 
 | 
			
		||||
__attribute__((weak))
 | 
			
		||||
void oled_task_user(void) {
 | 
			
		||||
  // Host Keyboard Layer Status
 | 
			
		||||
  oled_write_P(PSTR("Layer"), false);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue