[Keyboard] Use DIRECT_PINS instead of empty MATRIX_ROW_PINS: sixshooter (#8130)

* [Keyboard] Use DIRECT_PINS instead of empty MATRIX_ROW_PINS: sixshooter

* [Keyboard] Reform the matrix into 2x3: sixshooter
This commit is contained in:
a_p_u_r_o
2020-02-11 10:22:37 +09:00
committed by GitHub
parent cabe4dfa72
commit 4b7d46ced0
2 changed files with 13 additions and 21 deletions

View File

@@ -4,10 +4,12 @@
#include "quantum.h"
#define LAYOUT( \
K00, K01, K02, \
K03, K04, K05 \
) { \
{ K00, K01, K02, K03, K04, K05 }, \
K00, K01, K02, \
K03, K04, K05 \
) \
{ \
{ K00, K01, K02 }, \
{ K03, K04, K05 } \
}
inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); }