summaryrefslogtreecommitdiffstats
path: root/keyboards/fourier/keymaps
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2018-12-14 23:25:32 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-14 23:25:32 +0100
commitbb5262de0790ed3f4f91de20fad6e13fc0ffddc5 (patch)
tree48a73db53aabbb2b6b4e8b4c055cd292a6f7966d /keyboards/fourier/keymaps
parentcb149650efd07cbdc3cacb1fe2eb58f17eee5965 (diff)
downloadqmk_firmware-bb5262de0790ed3f4f91de20fad6e13fc0ffddc5.tar.gz
qmk_firmware-bb5262de0790ed3f4f91de20fad6e13fc0ffddc5.tar.xz
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.h8
-rw-r--r--keyboards/fourier/keymaps/default/keymap.c4
-rw-r--r--keyboards/fourier/keymaps/default/rules.mk3
3 files changed, 1 insertions, 14 deletions
diff --git a/keyboards/fourier/keymaps/default/config.h b/keyboards/fourier/keymaps/default/config.h
index 20e49c421..18f4c1f7a 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 9c2013776..a08f27b7c 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 457a3d01d..e69de29bb 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