summaryrefslogtreecommitdiffstats
path: root/keyboards/atom47/config.h
diff options
context:
space:
mode:
authorMaarten Dekkers <maartenwut@gmail.com>2018-04-06 01:16:35 +0200
committerJack Humbert <jack.humb@gmail.com>2018-04-06 01:16:35 +0200
commitd777a058642326921785961d6a2e10f2eb826c44 (patch)
treeb8577b08659a3318204296f0dd6cae6866cb0ac5 /keyboards/atom47/config.h
parent7bbc9ccc31b2bc4dda8dc4c000df48a024f072a9 (diff)
downloadqmk_firmware-d777a058642326921785961d6a2e10f2eb826c44.tar.gz
qmk_firmware-d777a058642326921785961d6a2e10f2eb826c44.tar.xz
Add support for rev3 of the Atom47 (#2672)
* Added support for rev3 of the Atom47 * Updated Atom47 readme's * Fix redefine error on rev2 and add maartenwut's keymap * Fix redefine error on LEdiodes keymap
Diffstat (limited to 'keyboards/atom47/config.h')
-rw-r--r--keyboards/atom47/config.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/keyboards/atom47/config.h b/keyboards/atom47/config.h
index 410650f71..5743a9eb5 100644
--- a/keyboards/atom47/config.h
+++ b/keyboards/atom47/config.h
@@ -34,8 +34,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// ROWS: Top to bottom, COLS: Left to right
-#define MATRIX_ROW_PINS {B1,B2,B3,B7}
-#define MATRIX_COL_PINS {D7,D5,F0,F1,F4,F6,F7,D4,C7,C6,D6,B5,B4}
+#define MATRIX_ROW_PINS {B3,B2,B1,B0}
+#define MATRIX_COL_PINS {B7,F0,F1,F4,F6,D4,D6,D7,B4,B5,C6,C7,F7}
#define UNUSED_PINS
#define BACKLIGHT_PIN B6
@@ -49,10 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
/* key combination for command */
#define IS_COMMAND() ( \
@@ -63,11 +59,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define BACKLIGHT_LEVELS 4
-#endif
+#define RGB_DI_PIN F5 // The pin the LED strip is connected to
+#define RGBLED_NUM 6 // Number of LEDs in your strip
-#define RGB_DI_PIN D0 // The pin the LED strip is connected to
-#define RGBLED_NUM 1 // Number of LEDs in your strip
+#define QMK_ESC_OUTPUT B7 // usually COL
+#define QMK_ESC_INPUT B3 // usually ROW
+#define QMK_LED E6
-#define QMK_ESC_OUTPUT D7 // usually COL
-#define QMK_ESC_INPUT B1 // usually ROW
-#define QMK_LED B6 \ No newline at end of file
+#endif