aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/bface/keymaps
diff options
context:
space:
mode:
authorEthan Durrant <5387347+emdarcher@users.noreply.github.com>2019-09-17 11:19:16 -0600
committerDrashna Jaelre <drashna@live.com>2019-09-17 10:19:16 -0700
commitd137fdea780a37395f397f9641fc7ebd2c7f27a0 (patch)
treecda0eaa187a45b6331b02d18e4eca3f0ba4e0bab /keyboards/ymdk/bface/keymaps
parentab48ffd5c5923b822e789bb3b18d8a16654da91a (diff)
downloadfirmware-d137fdea780a37395f397f9641fc7ebd2c7f27a0.tar.gz
firmware-d137fdea780a37395f397f9641fc7ebd2c7f27a0.tar.bz2
firmware-d137fdea780a37395f397f9641fc7ebd2c7f27a0.zip
[Keyboard] Adding YMDK "Bface" keyboard (#6731)
* making a new board setup for ymdk bface clone * removing extra keymaps that copied over * documentation and edits for new ymdk_bface board * cleaning up config and keymaps * removed extra keymap and working on READMEs * readme edits * shorter aliexpress link in ymdk_bface readme * added images to readmes and edited the keymaps * more flashing directions * Mac directions formatting * editing and creating the all layout * cleanign up ymdk_bface keymaps * fixed typos in layout * removed tabs * cleaned up the LED and Backlight configuration. * adding more to info.josn and cleaning up readme * fixing JSON typos * made a ymdk folder and moved the bface into it. * fixing file names for the new folder structure
Diffstat (limited to 'keyboards/ymdk/bface/keymaps')
-rw-r--r--keyboards/ymdk/bface/keymaps/default/config.h3
-rw-r--r--keyboards/ymdk/bface/keymaps/default/keymap.c60
-rw-r--r--keyboards/ymdk/bface/keymaps/default/readme.md11
-rw-r--r--keyboards/ymdk/bface/keymaps/emdarcher/config.h3
-rw-r--r--keyboards/ymdk/bface/keymaps/emdarcher/keymap.c69
-rw-r--r--keyboards/ymdk/bface/keymaps/emdarcher/readme.md14
6 files changed, 160 insertions, 0 deletions
diff --git a/keyboards/ymdk/bface/keymaps/default/config.h b/keyboards/ymdk/bface/keymaps/default/config.h
new file mode 100644
index 000000000..e1a6eb1a2
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/default/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define GRAVE_ESC_ALT_OVERRIDE
diff --git a/keyboards/ymdk/bface/keymaps/default/keymap.c b/keyboards/ymdk/bface/keymaps/default/keymap.c
new file mode 100644
index 000000000..9d2a2c9a0
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/default/keymap.c
@@ -0,0 +1,60 @@
+/*
+Copyright 2019 Ethan Durrant (emdarcher)
+
+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 QMK_KEYBOARD_H
+
+
+#define _FL 1
+#define _CL 2
+#define KC_X0 LT(_CL, KC_CAPS)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ //Base Layer
+ [0] = LAYOUT_60_ansi(
+ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,KC_MINS, KC_EQL,KC_BSPC,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,KC_LBRC,KC_RBRC,KC_BSLS,
+ KC_X0, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH, KC_RSFT,
+ KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_FL),KC_MENU,KC_RCTL
+ ),
+ //FN Layer
+ [_FL] = LAYOUT_60_ansi(
+ KC_GRV, KC_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 KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
+ KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
+ KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
+ KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,
+ KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS
+ ),
+ */
+};
+
diff --git a/keyboards/ymdk/bface/keymaps/default/readme.md b/keyboards/ymdk/bface/keymaps/default/readme.md
new file mode 100644
index 000000000..33c32a511
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/default/readme.md
@@ -0,0 +1,11 @@
+# Default Keymap
+
+Base Layer:
+![base](https://i.imgur.com/O7rNtDs.jpg)
+
+Standard ANSI 60% Layout.
+
+- GESC for ESC key.
+- FN layer with media and navigation controls.
+- CAPS LOCK layer (when held down) that has arrows mapped to IJKL keys.
+- FN+V = Backlight Toggle, FN+C = Backlight Decrease, FN+B = Backlight Increase
diff --git a/keyboards/ymdk/bface/keymaps/emdarcher/config.h b/keyboards/ymdk/bface/keymaps/emdarcher/config.h
new file mode 100644
index 000000000..e1a6eb1a2
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/emdarcher/config.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define GRAVE_ESC_ALT_OVERRIDE
diff --git a/keyboards/ymdk/bface/keymaps/emdarcher/keymap.c b/keyboards/ymdk/bface/keymaps/emdarcher/keymap.c
new file mode 100644
index 000000000..86cacfce5
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/emdarcher/keymap.c
@@ -0,0 +1,69 @@
+/*
+Copyright 2019 Ethan Durrant (emdarcher)
+
+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 QMK_KEYBOARD_H
+
+
+#define _FL 1
+#define _CL 2
+#define _AL 3
+#define KC_X0 LT(_CL, KC_CAPS)
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ //Base layer
+ [0] = LAYOUT_60_ansi_split_rshift(
+ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,KC_MINS, KC_EQL,KC_BSPC,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,KC_LBRC,KC_RBRC,KC_BSLS,
+ KC_X0, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L,KC_SCLN,KC_QUOT, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH, KC_RSFT, KC_UP,
+ KC_LCTL, KC_LALT,KC_LGUI, KC_SPC, MO(_FL),MO(_AL),KC_RCTL, KC_DOWN
+ ),
+ //FN Layer
+ [_FL] = LAYOUT_60_ansi_split_rshift(
+ KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC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TRNS, KC_TRNS
+ ),
+ */
+};
+
diff --git a/keyboards/ymdk/bface/keymaps/emdarcher/readme.md b/keyboards/ymdk/bface/keymaps/emdarcher/readme.md
new file mode 100644
index 000000000..7cba92fab
--- /dev/null
+++ b/keyboards/ymdk/bface/keymaps/emdarcher/readme.md
@@ -0,0 +1,14 @@
+# emdarcher's keymap
+
+Base Layer:
+![base](https://i.imgur.com/ie5aF7d.jpg)
+
+Uses a tweaked 60% ANSI layout with split right shift and up/down keys in the bottom right. Resulted from being used to 65% boards with arrow keys in bottom right and using the up/down arrows a lot in terminal.
+
+- Page Up/Down, and Home/End have been mapped to the up/down keys on different layers.
+- The Caps Lock Layer uses VIM style directions on HJKL keys.
+- LGUI moved to Mac Command Key location
+- FN2 layer that has arrows on IJKL for one-handed arrow key control.
+- Added Print Screen, Scroll Lock, and Pause keys on P,[,] keys to add Mac screen brightness control.
+ * On Mac, Scroll Lock is Brightness Down and Pause is Brightness Up, so with this FN+[ = brighness down, FN+] = brightness up
+- Has Mac Fast-forward and Rewind keys mapped for changing media tracks. FN+; = Rewind, FN+' = Fast-forward