summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorEvan <ewilliamsdrums@gmail.com>2018-04-21 13:37:26 -0700
committerDrashna Jaelre <drashna@live.com>2018-04-21 13:37:26 -0700
commit3c224bffc87b90b4c676a229c8beb902c7107ea8 (patch)
treec2a16256a9a8cb811d04d5c1d7ca39f8364b0a24 /keyboards
parent5ca9aecfb4cb09cc002a5256939098132a40015f (diff)
Add personal Tada68 Keymap (#2633)
* Add personal Tada68 keymaps * remove uneccessary tada68 folder * recommit with temp name * remove bad folder name * fix bullet list format * rename to fezzant * remove unnecessary config.h file
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/tada68/keymaps/fezzant/keymap.c124
-rw-r--r--keyboards/tada68/keymaps/fezzant/readme.md8
-rw-r--r--keyboards/tada68/keymaps/fezzant/rules.mk21
3 files changed, 153 insertions, 0 deletions
diff --git a/keyboards/tada68/keymaps/fezzant/keymap.c b/keyboards/tada68/keymaps/fezzant/keymap.c
new file mode 100644
index 0000000000..b151e0b67b
--- /dev/null
+++ b/keyboards/tada68/keymaps/fezzant/keymap.c
@@ -0,0 +1,124 @@
+#include "tada68.h"
+
+// Layers
+
+#define _BL 0
+#define _FL 1
+#define _NUM 2
+#define _BSPC 3
+
+#define _______ KC_TRNS
+#define XXXXXXX KC_NO
+
+// Macros
+// name macros here for keymap reference
+enum {
+ EMAIL_ADD = SAFE_RANGE,
+ OTHER_MACRO
+};
+
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ if(record->event.pressed){
+ switch(keycode) {
+ // copy these lines to define new macro
+ case EMAIL_ADD:
+ SEND_STRING("email@example.com");
+ return false; break;
+ // copy to here
+ case OTHER_MACRO:
+ SEND_STRING("The Other Macro");
+ return false; break;
+ }
+ }
+ return true;
+};
+
+// Keymaps
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Keymap _BL: (Base Layer) Default Layer
+ * .----------------------------------------------------------------.
+ * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |~ ` |
+ * |----------------------------------------------------------------|
+ * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del |
+ * |----------------------------------------------------------------|
+ * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return |Home|
+ * |----------------------------------------------------------------|
+ * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |End |
+ * |----------------------------------------------------------------|
+ * |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lft|Dwn|Rig |
+ * '----------------------------------------------------------------'
+ */
+[_BL] = KEYMAP_ANSI(
+ KC_ESC, 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_BSPACE, KC_GRAVE, \
+ 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_DELETE, \
+ LT(_BSPC,KC_CAPS), 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_HOME, \
+ 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_END, \
+ KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(_FL),KC_RCTRL, KC_LEFT,KC_DOWN,KC_RGHT),
+
+
+ /* Keymap _FL: Function Layer
+ * .-----------------------------------------------------------------.
+ * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Paus |
+ * |-----------------------------------------------------------------|
+ * | | | | | | | | | |BLB|BL-|BL |BL+|Foobr|ToNUM|
+ * |-----------------------------------------------------------------|
+ * |KC_NO | | | | | | | | | | |Mnu| |PgUp |
+ * |-----------------------------------------------------------------|
+ * | | | | | | | | | | | | | |PgDn |
+ * |-----------------------------------------------------------------|
+ * |WinUl|WinLk| | | | | |Nxt|Stp|Prev |
+ * '-----------------------------------------------------------------'
+ */
+[_FL] = KEYMAP_ANSI(
+ _______, KC_F1 ,KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_PAUSE , \
+ _______,_______,_______,_______,_______,_______,_______,_______,_______,BL_BRTG,BL_DEC,BL_TOGG, BL_INC, KC_MAIL,TG(_NUM), \
+ XXXXXXX,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_APPLICATION, _______,KC_PGUP, \
+ _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_BTN1, KC_MS_U, KC_PGDOWN, \
+ MAGIC_UNNO_GUI,MAGIC_NO_GUI,_______, _______, _______,_______,_______,KC_MPRV,KC_MSTP, KC_MNXT),
+
+
+ /* Keymap _NUM: Numpad Layer
+ * .----------------------------------------------------------------.
+ * |Esc| 1 | 2 | 3 | 4 | 5 | 6 |NP7|Np8|Np9| | - | + |Backspc|CALC| 15
+ * |----------------------------------------------------------------|
+ * |Tab |NumL| up| | | |Np4|Np5|Np6| | | / | * | | | 15
+ * |----------------------------------------------------------------|
+ * |To__BL|lft|dwn|rit| | |Np1|Np2|Np3| | | |Enter |Prsc| 14
+ * |----------------------------------------------------------------|
+ * |Shift | Z | X | C | V | |Np.|Np.|Np.| | | |msU|Rclk| 14
+ * |----------------------------------------------------------------|
+ * |Ctrl|Win |Alt | Np0 |Emal| |Lclk|msL|msD|msR | 10
+ * '----------------------------------------------------------------'
+ */
+[_NUM] = KEYMAP_ANSI(
+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_P7, KC_P8, KC_P9,XXXXXXX, KC_KP_MINUS, KC_KP_PLUS, KC_BSPC,KC_CALC, \
+ KC_TAB,KC_NUMLOCK, KC_UP,XXXXXXX,XXXXXXX, XXXXXXX,KC_P4,KC_P5,KC_P6,XXXXXXX,XXXXXXX,KC_PSLS,KC_PAST, XXXXXXX,_______, \
+ TG(_NUM), KC_LEFT, KC_DOWN, KC_RIGHT,XXXXXXX,XXXXXXX,KC_P1,KC_P2,KC_P3,XXXXXXX,XXXXXXX,XXXXXXX, KC_KP_ENTER,KC_PSCREEN, \
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V,XXXXXXX, KC_PDOT, KC_PDOT, KC_PDOT,XXXXXXX,XXXXXXX,XXXXXXX, KC_MS_U, KC_BTN2, \
+ KC_LCTL, KC_LGUI, KC_LALT,KC_P0,EMAIL_ADD,_______,KC_BTN1,KC_MS_L,KC_MS_D, KC_MS_R),
+
+
+ /* Keymap _BSPC: back_SPACE Layer
+ * .----------------------------------------------------------------.
+ * | | | | | | | | | | | | | | | |
+ * |----------------------------------------------------------------|
+ * | | | | | | | | |Up | | | | | | |
+ * |----------------------------------------------------------------|
+ * | | | | | | | |Lft|Dwn|Rig|End| | | |
+ * |----------------------------------------------------------------|
+ * | | | | | | | | | | | | | | |
+ * |----------------------------------------------------------------|
+ * | | | | Backspace | |NO | | | | |
+ * '----------------------------------------------------------------'
+ */
+[_BSPC] = KEYMAP_ANSI(
+ _______, _______ ,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
+ _______,_______,_______,_______,_______,_______,_______,_______,KC_UP,_______,_______,_______, _______, _______,_______, \
+ _______,_______,_______,_______,_______,_______,_______,KC_LEFT,KC_DOWN,KC_RIGHT,KC_END,_______, _______,_______, \
+ _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, _______, _______, \
+ _______,_______,_______, KC_BSPACE, _______,XXXXXXX,_______,_______,_______, _______)
+
+
+};
diff --git a/keyboards/tada68/keymaps/fezzant/readme.md b/keyboards/tada68/keymaps/fezzant/readme.md
new file mode 100644
index 0000000000..08a9433eeb
--- /dev/null
+++ b/keyboards/tada68/keymaps/fezzant/readme.md
@@ -0,0 +1,8 @@
+## Fezzant's Tada68 keymap
+
+Includes easy copy-paste macro creation for strings or combo keypresses.
+
+* Layer 0: Mostly-standard base layer, with home/end replacing pgup/pgdn.
+* Layer 1: Momentary function layer, with some added buttons.
+* Layer 2: Toggle numpad layer, with a layout conducive to spreadsheets and calculations
+* Layer 3: Momentary function layer to put backspace on spacebar, with arrow keys on right hand homerow area.
diff --git a/keyboards/tada68/keymaps/fezzant/rules.mk b/keyboards/tada68/keymaps/fezzant/rules.mk
new file mode 100644
index 0000000000..f2439cc7d1
--- /dev/null
+++ b/keyboards/tada68/keymaps/fezzant/rules.mk
@@ -0,0 +1,21 @@
+# Build Options
+# change to "no" to disable the options, or define them in the Makefile in
+# the appropriate keymap folder that will get included automatically
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
+CONSOLE_ENABLE = no # Console for debug(+400)
+COMMAND_ENABLE = yes # Commands for debug and configuration
+NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+MIDI_ENABLE = no # MIDI controls
+AUDIO_ENABLE = no # Audio output on port C6
+UNICODE_ENABLE = yes # Unicode
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif