Skip to content

Commit

Permalink
[Keyboard] Convert ergoinu to SPLIT_KEYBOARD (qmk#15305)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and Timost committed Jan 23, 2022
1 parent bb83ba1 commit 282df75
Show file tree
Hide file tree
Showing 18 changed files with 31 additions and 815 deletions.
10 changes: 6 additions & 4 deletions keyboards/dm9records/ergoinu/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once

#include "config_common.h"
#include "serial_config.h"

/* USB Device descriptor parameter
VID & PID are lisenced from microchip sublisence program, Don't use other project! */
Expand All @@ -30,11 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER Dm9Records
#define PRODUCT ergoinu

#define TAPPING_FORCE_HOLD
#define TAPPING_TERM 100

#define USE_SERIAL

/* serial.c configuration for split keyboard */
#define SOFT_SERIAL_PIN D2

/* Select hand configuration */
#define MASTER_LEFT
// #define MASTER_RIGHT
Expand All @@ -49,6 +48,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COLS 7
#define MATRIX_COL_PINS { B4, E6, D7, C6, D4, F5, F4 }

/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST

Expand Down
17 changes: 17 additions & 0 deletions keyboards/dm9records/ergoinu/ergoinu.c
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
/*
Copyright 2018 Takuya Urakawa<twitter:@hsgw>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "ergoinu.h"
5 changes: 0 additions & 5 deletions keyboards/dm9records/ergoinu/ergoinu.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "quantum.h"

#ifdef RGBLIGHT_ENABLE
#include "ws2812.h"
#endif

#define LAYOUT( \
L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
L07, L08, L09, L10, L11, L12, L13, R07, R08, R09, R10, R11, R12, R13, \
Expand All @@ -41,4 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ R27, R26, R25, R24, R23, R22, R21 }, \
{ KC_NO, KC_NO, R32, R31, R30, R29, R28 } \
}

24 changes: 0 additions & 24 deletions keyboards/dm9records/ergoinu/keymaps/default/config.h

This file was deleted.

12 changes: 0 additions & 12 deletions keyboards/dm9records/ergoinu/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
extern rgblight_config_t rgblight_config;
#endif

#define JA_CLON KC_QUOT // : and +
#define JA_AT KC_LBRC // @ and `
#define JA_HAT KC_EQL // ^ and ~
#define JA_ENUN KC_RO // \ and _ (EN mark and UNder score)
#define JA_ENVL KC_JYEN // \ and | (EN mark and Vertical Line)
#define JA_LBRC KC_RBRC // [ and {
#define JA_RBRC KC_BSLS // ] and }

enum LAYER_NO {
BASE = 0,
META,
Expand All @@ -24,10 +16,6 @@ enum CUSTOM_KEYCODES {
RGB_TYPE,
};

// Fillers to make layering more clear
#define ______ KC_TRNS
#define XXXXXX KC_NO

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[BASE] = LAYOUT(
Expand Down
18 changes: 0 additions & 18 deletions keyboards/dm9records/ergoinu/keymaps/default/rules.mk

This file was deleted.

24 changes: 0 additions & 24 deletions keyboards/dm9records/ergoinu/keymaps/default_jis/config.h

This file was deleted.

4 changes: 0 additions & 4 deletions keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ enum CUSTOM_KEYCODES {
RGB_TYPE,
};

// Fillers to make layering more clear
#define ______ KC_TRNS
#define XXXXXX KC_NO

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[BASE] = LAYOUT(
Expand Down
18 changes: 0 additions & 18 deletions keyboards/dm9records/ergoinu/keymaps/default_jis/rules.mk

This file was deleted.

Loading

0 comments on commit 282df75

Please sign in to comment.