summaryrefslogtreecommitdiff
path: root/keyboard/atomic/config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-10-30 00:48:17 -0400
committerJack Humbert <jack.humb@gmail.com>2015-10-30 00:48:17 -0400
commiteb2795b4d649f062430c859012bc6bd8faa847ff (patch)
tree2ee3a8fc53542aa16f1632904d8be3f052895cd4 /keyboard/atomic/config.h
parent3ac4f1519fbc90d2357c92cfd00557bdfc024e54 (diff)
atomic up-to-date
Diffstat (limited to 'keyboard/atomic/config.h')
-rw-r--r--keyboard/atomic/config.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/keyboard/atomic/config.h b/keyboard/atomic/config.h
index fd286bb992..149aed4714 100644
--- a/keyboard/atomic/config.h
+++ b/keyboard/atomic/config.h
@@ -18,25 +18,35 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CONFIG_H
#define CONFIG_H
+#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6060
#define DEVICE_VER 0x0001
#define MANUFACTURER Ortholinear Keyboards
-#define PRODUCT Atomic
+#define PRODUCT The Atomic Keyboard
#define DESCRIPTION A compact ortholinear keyboard
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
+// Planck PCB default pin-out
+// Change this to how you wired your keyboard
+// COLS: Left to right, ROWS: Top to bottom
+#define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 }
+#define ROWS (int []){ D0, D5, B5, B6, C6 }
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */
-#define BACKLIGHT_LEVELS 15
+#define BACKLIGHT_LEVELS 3
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5