diff options
author | zvecr <git@zvecr.com> | 2018-12-14 22:25:32 +0000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-14 14:25:32 -0800 |
commit | bb5262de0790ed3f4f91de20fad6e13fc0ffddc5 (patch) | |
tree | 48a73db53aabbb2b6b4e8b4c055cd292a6f7966d /keyboards/fourier/keymaps | |
parent | cb149650efd07cbdc3cacb1fe2eb58f17eee5965 (diff) |
Keyboard: Refactor fourier to use split common code (#4582)
* Refactor fourier to use split common code
* Refactor fourier to use split common code - fix handedness when not using EE_HANDS or MASTER_LEFT
* add SOFT_SERIAL_PIN config
Diffstat (limited to 'keyboards/fourier/keymaps')
-rw-r--r-- | keyboards/fourier/keymaps/default/config.h | 8 | ||||
-rw-r--r-- | keyboards/fourier/keymaps/default/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/fourier/keymaps/default/rules.mk | 3 |
3 files changed, 1 insertions, 14 deletions
diff --git a/keyboards/fourier/keymaps/default/config.h b/keyboards/fourier/keymaps/default/config.h index 20e49c4219..18f4c1f7ac 100644 --- a/keyboards/fourier/keymaps/default/config.h +++ b/keyboards/fourier/keymaps/default/config.h @@ -18,14 +18,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "config_common.h" +#pragma once /* Use I2C or Serial, not both */ - #define USE_SERIAL // #define USE_I2C - -#endif diff --git a/keyboards/fourier/keymaps/default/keymap.c b/keyboards/fourier/keymaps/default/keymap.c index 9c20137768..a08f27b7ce 100644 --- a/keyboards/fourier/keymaps/default/keymap.c +++ b/keyboards/fourier/keymaps/default/keymap.c @@ -1,7 +1,5 @@ #include QMK_KEYBOARD_H -extern keymap_config_t keymap_config; - // 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. // Layer names don't all need to be of the same length, obviously, and you can also skip them @@ -14,8 +12,6 @@ enum custom_keycodes { QWERTY = SAFE_RANGE, }; -#define _______ KC_TRNS -#define XXXXXXX KC_NO #define KC_FN1 MO(_FN1) #define KC_FN2 MO(_FN2) #define KC_SPFN1 LT(_FN1, KC_SPACE) diff --git a/keyboards/fourier/keymaps/default/rules.mk b/keyboards/fourier/keymaps/default/rules.mk index 457a3d01d4..e69de29bb2 100644 --- a/keyboards/fourier/keymaps/default/rules.mk +++ b/keyboards/fourier/keymaps/default/rules.mk @@ -1,3 +0,0 @@ -ifndef QUANTUM_DIR - include ../../../../Makefile -endif |