summaryrefslogtreecommitdiff
path: root/keyboards/late9
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/late9')
-rw-r--r--keyboards/late9/config.h4
-rw-r--r--keyboards/late9/readme.md2
-rw-r--r--keyboards/late9/rev1/config.h7
-rw-r--r--keyboards/late9/rev1/info.json2
-rw-r--r--keyboards/late9/rev1/keymaps/multitap/keymap.c24
-rw-r--r--keyboards/late9/rev1/rules.mk6
6 files changed, 15 insertions, 30 deletions
diff --git a/keyboards/late9/config.h b/keyboards/late9/config.h
index 6057518955..4b4e44920d 100644
--- a/keyboards/late9/config.h
+++ b/keyboards/late9/config.h
@@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-#include "config_common.h"
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
diff --git a/keyboards/late9/readme.md b/keyboards/late9/readme.md
index 93e5a40823..1d85e788fb 100644
--- a/keyboards/late9/readme.md
+++ b/keyboards/late9/readme.md
@@ -20,7 +20,7 @@ Flashing example for this keyboard:
make late9/rev1:default:flash
-When asked by the terminal, short with a metal wire the pins on the backside of the board highlighted as `RST` (one is the `QK_BOOT` and the other one is `GROUND`) to enter the bootloader and let the OS detects the device.
+When asked by the terminal, short with a metal wire the pins on the backside of the board highlighted as `RST` (one is the `RESET` and the other one is `GROUND`) to enter the bootloader and let the OS detects the device.
After installing this firmware you can use Bootmagic to enter the bootloader while plugging in your LATE-9. By default it's the button on the upper-left of the keyboard.
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/late9/rev1/config.h b/keyboards/late9/rev1/config.h
index 7521f34330..0f5cafc835 100644
--- a/keyboards/late9/rev1/config.h
+++ b/keyboards/late9/rev1/config.h
@@ -16,18 +16,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-#include "config_common.h"
/* Column/Row IO definitions */
-#define MATRIX_ROWS 6
-#define MATRIX_COLS 3
#define MATRIX_ROW_PINS { B4, E6, D7, B3, B2, B6 }
#define MATRIX_COL_PINS { B5, C6, D4 }
-/* Bootmagic - hold down top left button while plugging in to enter bootloader */
-#define BOOTMAGIC_LITE_ROW 0
-#define BOOTMAGIC_LITE_COLUMN 0
-
/* Tap interval for tap dance */
#define TAPPING_TERM 400
diff --git a/keyboards/late9/rev1/info.json b/keyboards/late9/rev1/info.json
index b439b05347..5c8da7fb21 100644
--- a/keyboards/late9/rev1/info.json
+++ b/keyboards/late9/rev1/info.json
@@ -8,6 +8,8 @@
"pid": "0x3777",
"device_version": "0.1.0"
},
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/late9/rev1/keymaps/multitap/keymap.c b/keyboards/late9/rev1/keymaps/multitap/keymap.c
index 9c32699c42..e378fb4921 100644
--- a/keyboards/late9/rev1/keymaps/multitap/keymap.c
+++ b/keyboards/late9/rev1/keymaps/multitap/keymap.c
@@ -68,7 +68,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
// Tap Dance cycles
-void dance_1 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_1 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_DOT);
else return tap_code(KC_1);
@@ -93,7 +93,7 @@ void dance_1 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_2 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_2 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_A);
else return tap_code(KC_2);
@@ -106,7 +106,7 @@ void dance_2 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_3 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_3 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_D);
else return tap_code(KC_3);
@@ -119,7 +119,7 @@ void dance_3 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_4 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_4 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_G);
else return tap_code(KC_4);
@@ -132,7 +132,7 @@ void dance_4 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_5 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_5 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_J);
else return tap_code(KC_5);
@@ -145,7 +145,7 @@ void dance_5 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_6 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_6 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_M);
else return tap_code(KC_6);
@@ -158,7 +158,7 @@ void dance_6 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_7 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_7 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_P);
else return tap_code(KC_7);
@@ -173,7 +173,7 @@ void dance_7 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_8 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_8 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_T);
else return tap_code(KC_8);
@@ -186,7 +186,7 @@ void dance_8 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_9 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_9 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_W);
else return tap_code(KC_9);
@@ -201,7 +201,7 @@ void dance_9 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_0 (qk_tap_dance_state_t *state, void *user_data) {
+void dance_0 (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return tap_code(KC_SPACE);
else return tap_code(KC_0);
@@ -210,7 +210,7 @@ void dance_0 (qk_tap_dance_state_t *state, void *user_data) {
}
}
-void dance_maiusc (qk_tap_dance_state_t *state, void *user_data) {
+void dance_maiusc (tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
if (state->interrupted || !state->pressed) return set_oneshot_mods(MOD_BIT(KC_LSFT));
else return tap_code(KC_CAPS);
@@ -220,7 +220,7 @@ void dance_maiusc (qk_tap_dance_state_t *state, void *user_data) {
}
// Tap Dance actions
-qk_tap_dance_action_t tap_dance_actions[] = {
+tap_dance_action_t tap_dance_actions[] = {
[TD_PNCT] = ACTION_TAP_DANCE_FN (dance_1),
[TD_ABC] = ACTION_TAP_DANCE_FN (dance_2),
[TD_DEF] = ACTION_TAP_DANCE_FN (dance_3),
diff --git a/keyboards/late9/rev1/rules.mk b/keyboards/late9/rev1/rules.mk
index 26b6991c2f..82d5e4237f 100644
--- a/keyboards/late9/rev1/rules.mk
+++ b/keyboards/late9/rev1/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
# Build Options
# change yes to no to disable
#