mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-30 23:15:51 +00:00
ee9a7aba39
* add not-so-minidox handwire keyboard * corrected keymap * multiple adjustments to not_so_minidox keyboard * remove I2C master left define * update default layer set function * move solenoid code into userspace * minor adjustments to config.h * update keymaps to utilize userspace * move features and config to userspace, correct build issue * correct solenoid pin * adjust defaults for solenoid pin and enable * default solenoid to on for not_so_minidox * disable RGBLIGHT_SLEEP for xd75 * tweaking solenoid enable/disable in userspace and keymaps
81 lines
5.4 KiB
C
81 lines
5.4 KiB
C
#include QMK_KEYBOARD_H
|
|
#include "mtdjr.h"
|
|
|
|
extern keymap_config_t keymap_config;
|
|
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
/* Qwerty
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Esc/~ | A | S | D | F | G | | H | J | K | L | ; | '/" |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | Shift| Z | X | C | V | B | | N | M | , | . | / |Enter |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | Left | Up | Down |Right |
|
|
* `-----------------------------------------' '-----------------------------------------'
|
|
*/
|
|
[_QWERTY] = LAYOUT( \
|
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \
|
|
KC_EXC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \
|
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \
|
|
ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT \
|
|
),
|
|
|
|
/* Lower
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
* | ~ | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | | | [ | ] | { | } | | | 4 | 5 | 6 | * | \ |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Shift | | | copy |insert| | | | 1 | 2 | 3 | + | - |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | 0 | . | = | _ |
|
|
* `-----------------------------------------' '-----------------------------------------'
|
|
*/
|
|
[_LOWER] = LAYOUT( \
|
|
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, \
|
|
XXXXXXX, XXXXXXX, KC_LBRC, KC_RBRC, KC_LCBR, KC_RCBR, XXXXXXX, KC_4, KC_5, KC_6, KC_ASTR, KC_BSLS, \
|
|
_______, XXXXXXX, XXXXXXX, KC_XCPY, KC_XINS, XXXXXXX, XXXXXXX, KC_1, KC_2, KC_3, KC_PLUS, KC_MINS, \
|
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, KC_EQL, KC_UNDS \
|
|
),
|
|
|
|
|
|
/* Raise
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
* | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Bksp |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | | | | | | | | | | | | \ | | |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Shift | | | | | | | | | | | | |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | Next | Vol- | Vol+ | Play |
|
|
* `-----------------------------------------' '-----------------------------------------'
|
|
*/
|
|
[_RAISE] = LAYOUT( \
|
|
KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \
|
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BSLS, KC_PIPE,\
|
|
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY \
|
|
),
|
|
|
|
/* Adjust (Lower + Raise)
|
|
* ,-----------------------------------------. ,-----------------------------------------.
|
|
* | | Reset| | | | | | ROOT | PPLY | PSEF | | | Del |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | | | |Aud on|Audoff| | | F1 | F2 | F3 | F4 | F5 | F6 |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | | UNDO | CUT | COPY |PASTE | | | F7 | F8 | F9 | F10 | F11 | F12 |
|
|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
|
* | | | | | | | | | | Home | | | End |
|
|
* `-----------------------------------------' '-----------------------------------------'
|
|
*/
|
|
[_ADJUST] = LAYOUT( \
|
|
KC_STOG, KC_ROOT, KC_PPLY, KC_PSEF, _______, _______, RESET, _______, _______, _______, _______, KC_DEL, \
|
|
_______, _______, _______, AU_ON, AU_OFF, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, \
|
|
_______, KC_UNDO, KC_CUT, KC_XCPY, KC_XINS, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \
|
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, _______, KC_END \
|
|
)
|
|
}; |