aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/2x5keypad/2x5keypad.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/2x5keypad/2x5keypad.h')
-rw-r--r--keyboards/handwired/2x5keypad/2x5keypad.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/handwired/2x5keypad/2x5keypad.h b/keyboards/handwired/2x5keypad/2x5keypad.h
new file mode 100644
index 000000000..6284e83b7
--- /dev/null
+++ b/keyboards/handwired/2x5keypad/2x5keypad.h
@@ -0,0 +1,21 @@
1#pragma once
2
3#include "quantum.h"
4
5#define RED_LED D0
6#define BLUE_LED B5
7#define GREEN_LED B6
8
9
10#define LAYOUT( \
11 K00, K01, K02, K03, K04, \
12 K10, K11, K12, K13, K14 \
13) { \
14 { K00, K01, K02, K03, K04 }, \
15 { K10, K11, K12, K13, K14 } \
16}
17
18
19
20void turn_off_leds(void);
21void turn_on_led(pin_t pin);