[Keyboard] Convert Staryu to use DIRECT_PINS and BACKLIGHT_PINS (#5848)
* Convert to use DIRECT_PINS and BACKLIGHT_PINS * Convert to use DIRECT_PINS and BACKLIGHT_PINS - remove old comment
This commit is contained in:
		
							parent
							
								
									831d765b52
								
							
						
					
					
						commit
						b32ad8b90c
					
				
					 4 changed files with 31 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -15,18 +15,14 @@ You should have received a copy of the GNU General Public License
 | 
			
		|||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
#define ___ KC_NO
 | 
			
		||||
 | 
			
		||||
#define LAYOUT( \
 | 
			
		||||
	     K00, K01, \
 | 
			
		||||
	     K01, K02, \
 | 
			
		||||
	K10, K11, K12  \
 | 
			
		||||
) { \
 | 
			
		||||
	{ K00, K01, K12, K11, K10 }, \
 | 
			
		||||
	{ ___, K01, K02 }, \
 | 
			
		||||
	{ K10, K11, K12 }  \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
 | 
			
		||||
void backlight_set_value(uint8_t index, uint8_t level);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue