Dactyl Manuform cleanup (#13686)

This commit is contained in:
Ryan 2021-07-27 22:00:38 +10:00 committed by GitHub
parent 14b46bfbe3
commit 8a2eaf9992
2 changed files with 101 additions and 103 deletions

View file

@ -15,13 +15,11 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#pragma once #pragma once
#define USE_SERIAL #define USE_SERIAL
#define MASTER_LEFT #define MASTER_LEFT
//#define MASTER_RIGHT //#define MASTER_RIGHT
//#define EE_HANDS //#define EE_HANDS
// Rows are doubled-up

View file

@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
// Each layer gets a name for readability, which is then used in the keymap matrix below. // Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name. // The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them // Layer names don't all need to be of the same length, obviously, and you can also skip them
@ -17,7 +16,6 @@
#define TAB_RO LCTL(LSFT(KC_T)) #define TAB_RO LCTL(LSFT(KC_T))
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_5x7( [_QWERTY] = LAYOUT_5x7(
// left hand // left hand
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6,
@ -36,7 +34,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT,
KC_BSPC, KC_ENT, KC_BSPC, KC_ENT,
KC_PGUP, KC_PGDN, KC_PGUP, KC_PGDN,
KC_LCTL, KC_LALT), KC_LCTL, KC_LALT
),
[_FN] = LAYOUT_5x7( [_FN] = LAYOUT_5x7(
// left hand // left hand
@ -56,7 +55,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______,
KC_DEL, _______, KC_DEL, _______,
_______, _______, _______, _______,
_______, _______), _______, _______
),
[_NUMPAD] = LAYOUT_5x7( [_NUMPAD] = LAYOUT_5x7(
// left hand // left hand
@ -76,8 +76,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_PDOT, _______, _______, KC_P0, KC_PDOT, _______, _______,
_______, KC_PENT, _______, KC_PENT,
_______, _______, _______, _______,
_______, _______), _______, _______
),
[_NUMPAD] = LAYOUT_5x7( [_NUMPAD] = LAYOUT_5x7(
// left hand // left hand
@ -97,7 +97,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_PDOT, _______, _______, KC_P0, KC_PDOT, _______, _______,
_______, KC_PENT, _______, KC_PENT,
_______, _______, _______, _______,
_______, _______), _______, _______
),
[_BLANK] = LAYOUT_5x7( [_BLANK] = LAYOUT_5x7(
// left hand // left hand
@ -117,7 +118,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______), _______, _______
)
}; };