summaryrefslogtreecommitdiff
path: root/keyboard/cluepad/config.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-05-24 17:57:40 -0500
committerIBNobody <ibnobody@gmail.com>2016-05-24 17:57:40 -0500
commit26277dbdf40ba7247981361c956ea44c92bf76ea (patch)
tree59e800a739797cb86d9345d01f73fceee4c32030 /keyboard/cluepad/config.h
parent76e36a787a58ad0e72fac579e4a02aa66ce26be1 (diff)
parent287eb7ad148abc8fe3fb014218d71e205fd9131d (diff)
Merge remote-tracking branch 'remotes/jackhumbert/master'
Diffstat (limited to 'keyboard/cluepad/config.h')
-rw-r--r--keyboard/cluepad/config.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/keyboard/cluepad/config.h b/keyboard/cluepad/config.h
index 5ed421a6e0..0955e0f702 100644
--- a/keyboard/cluepad/config.h
+++ b/keyboard/cluepad/config.h
@@ -32,19 +32,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
-// COLS: Left to right, ROWS: Top to bottom
-
+// ROWS: Top to bottom, COLS: Left to right
+/* Row pin configuration
+* row: 0 1 2 3 4
+* pin:
+*/
+#define MATRIX_ROW_PINS { B0, D3, D5, D4, D6 }
/* Column pin configuration
* col: 0 1 2 3
* pin: F4 E6 B1 D2
*/
-#define COLS (int []){ F4, E6, B1, D2 }
-
- /* Row pin configuration
- * row: 0 1 2 3 4
- * pin:
- */
-#define ROWS (int []){ B0, D3, D5, D4, D6 }
+#define MATRIX_COL_PINS { F4, E6, B1, D2 }
+#define UNUSED_PINS
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
@@ -53,7 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MATRIX_HAS_GHOST
/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
+#define DEBOUNCING_DELAY 5
/* Number of backlighting levels */
#define BACKLIGHT_LEVELS 3