summaryrefslogtreecommitdiffstats
path: root/keyboards/xd75
diff options
context:
space:
mode:
authorBatuhan Baserdem <bbaserdem@users.noreply.github.com>2018-06-01 03:55:45 +0200
committerDrashna Jaelre <drashna@live.com>2018-06-01 03:55:45 +0200
commit8eaf23ae8146766615cc1cec3fc8e04111e8ef49 (patch)
treed33b9b4609b5df899c243a1f9525eed1c049098f /keyboards/xd75
parentabce980b8bbc6d1bae16513a50662a549b196c1b (diff)
downloadqmk_firmware-8eaf23ae8146766615cc1cec3fc8e04111e8ef49.tar.gz
qmk_firmware-8eaf23ae8146766615cc1cec3fc8e04111e8ef49.tar.xz
User space fixed (#3095)
* Put in my keymaps * Fixed all but weird lets split issue * Organized and tried to trobleshoot lets split * Organized and tried to trobleshoot lets split * Added bbaserdem keymaps * Added bbaserdem keymaps * Fixed stuff * FIxed a filename error
Diffstat (limited to 'keyboards/xd75')
-rw-r--r--keyboards/xd75/keymaps/bbaserdem/config.h22
-rw-r--r--keyboards/xd75/keymaps/bbaserdem/keymap.c80
-rw-r--r--keyboards/xd75/keymaps/bbaserdem/readme.md12
-rw-r--r--keyboards/xd75/keymaps/bbaserdem/rules.mk10
4 files changed, 124 insertions, 0 deletions
diff --git a/keyboards/xd75/keymaps/bbaserdem/config.h b/keyboards/xd75/keymaps/bbaserdem/config.h
new file mode 100644
index 000000000..2c24bb767
--- /dev/null
+++ b/keyboards/xd75/keymaps/bbaserdem/config.h
@@ -0,0 +1,22 @@
+/* Copyright 2017 REPLACE_WITH_YOUR_NAME
+ *
+ * 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/>.
+ */
+
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+#endif
diff --git a/keyboards/xd75/keymaps/bbaserdem/keymap.c b/keyboards/xd75/keymaps/bbaserdem/keymap.c
new file mode 100644
index 000000000..0b8ab6235
--- /dev/null
+++ b/keyboards/xd75/keymaps/bbaserdem/keymap.c
@@ -0,0 +1,80 @@
+#include "xd75.h"
+#include "bbaserdem.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+/* Layout
+ * ,-----------------------------------------------------------.
+ * |Blt|Lck| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |
+ * |---+---+-----------------------------------------------+---|
+ * |Int|Trm| |Cps|
+ * |---+---| |---|
+ * |Clc|Psw| | \ |
+ * |---+---| PLANCK |---|
+ * |Rev|Ffw| | [ |
+ * |---+---| |---|
+ * |Tog|Mut| | ] |
+ * `-----------------------------------------------------------'
+ */
+[_DV] = KM(
+ BL_STEP, LGUI(KC_ESC), KC_GRV,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_WHOM, LGUI(KC_ENT), DVORAK_1, KC_CAPS,
+ KC_CALC, LGUI(KC_P), DVORAK_2, KC_BSLS,
+ KC_MPRV, KC_MNXT, DVORAK_3, KC_LBRC,
+ KC_MPLY, KC_MUTE, DVORAK_4, KC_RBRC ),
+
+[_AL] = KM(
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,
+ _______,_______, ALTCHAR_1, _______,
+ _______,_______, ALTCHAR_2, _______,
+ _______,_______, ALTCHAR_3, _______,
+ _______,_______, ALTCHAR_4, _______ ),
+
+[_GA] = KM(
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,
+ _______,_______, GAME_1, _______,
+ _______,_______, GAME_2, _______,
+ _______,_______, GAME_3, _______,
+ _______,_______, GAME_4, _______ ),
+
+[_NU] = KM(
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,
+ _______,_______, NUMBERS_1, _______,
+ _______,_______, NUMBERS_2, _______,
+ _______,_______, NUMBERS_3, _______,
+ _______,_______, NUMBERS_4, _______ ),
+
+[_SE] = KM(
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,
+ _______,_______, SETTINGS_1, _______,
+ _______,_______, SETTINGS_2, _______,
+ _______,_______, SETTINGS_3, _______,
+ _______,_______, SETTINGS_4, _______ ),
+
+[_MO] = KM(
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,_______,_______,_______,
+ _______,_______,_______,
+ _______,_______, MOUSE_1, _______,
+ _______,_______, MOUSE_2, _______,
+ _______,_______, MOUSE_3, _______,
+ _______,_______, MOUSE_4, _______ ),
+
+#ifdef AUDIO_ENABLE
+[_MU] = KM(
+ XXX, XXX, MASK, XXX,
+ XXX, XXX, MASK, XXX,
+ XXX, XXX, MASK, XXX,
+ XXX, XXX, MASK, XXX,
+ XXX, XXX, MUSIC_4, XXX ),
+#endif
+
+};
+
diff --git a/keyboards/xd75/keymaps/bbaserdem/readme.md b/keyboards/xd75/keymaps/bbaserdem/readme.md
new file mode 100644
index 000000000..68a05b030
--- /dev/null
+++ b/keyboards/xd75/keymaps/bbaserdem/readme.md
@@ -0,0 +1,12 @@
+# XD75RE Setup
+
+This layout is the xd75re layout, inspired by my planck keymap.
+Contains some code from the original keymap here, but had to be modded.
+
+# Make
+
+Take the board into reset mode, then
+```
+make xd75:bbaserdem:dfu
+```
+Either sudo it or set permissions in udev.
diff --git a/keyboards/xd75/keymaps/bbaserdem/rules.mk b/keyboards/xd75/keymaps/bbaserdem/rules.mk
new file mode 100644
index 000000000..4839c644f
--- /dev/null
+++ b/keyboards/xd75/keymaps/bbaserdem/rules.mk
@@ -0,0 +1,10 @@
+# Build options
+BACKLIGHT_ENABLE = yes # Switch LEDs
+MOUSEKEY_ENABLE = yes # Emulates mouse key using keypresses
+RGBLIGHT_ENABLE = no # LED strips
+TAP_DANCE_ENABLE = no # Use multi-tap features
+AUDIO_ENABLE = no # Audio stuff
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif