diff options
Diffstat (limited to 'keyboards/ivy/keymaps/default')
| -rw-r--r-- | keyboards/ivy/keymaps/default/keymap.c | 46 | ||||
| -rw-r--r-- | keyboards/ivy/keymaps/default/rules.mk | 22 |
2 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/ivy/keymaps/default/keymap.c b/keyboards/ivy/keymaps/default/keymap.c new file mode 100644 index 000000000..9a95ba820 --- /dev/null +++ b/keyboards/ivy/keymaps/default/keymap.c | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | extern keymap_config_t keymap_config; | ||
| 4 | |||
| 5 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 6 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 7 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 8 | // entirely and just use numbers. | ||
| 9 | |||
| 10 | enum pad_layers { | ||
| 11 | _L1, | ||
| 12 | _FUNC | ||
| 13 | }; | ||
| 14 | |||
| 15 | // Defines for task manager and such | ||
| 16 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 17 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | /* Layer 1 | ||
| 22 | * ,------. | ||
| 23 | * | 1 | | ||
| 24 | * |------| | ||
| 25 | * | 2 | | ||
| 26 | * |------| | ||
| 27 | * | FN | | ||
| 28 | * `------' | ||
| 29 | */ | ||
| 30 | [_L1] = LAYOUT( \ | ||
| 31 | KC_1, \ | ||
| 32 | KC_2, \ | ||
| 33 | MO(_FUNC) \ | ||
| 34 | ), | ||
| 35 | |||
| 36 | [_FUNC] = LAYOUT( \ | ||
| 37 | CALTDEL, \ | ||
| 38 | TSKMGR, \ | ||
| 39 | _______ \ | ||
| 40 | ) | ||
| 41 | |||
| 42 | }; | ||
| 43 | |||
| 44 | void matrix_init_user(void) { | ||
| 45 | |||
| 46 | } | ||
diff --git a/keyboards/ivy/keymaps/default/rules.mk b/keyboards/ivy/keymaps/default/rules.mk new file mode 100644 index 000000000..cd169fbfd --- /dev/null +++ b/keyboards/ivy/keymaps/default/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | |||
| 2 | |||
| 3 | # Build Options | ||
| 4 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 5 | # the appropriate keymap folder that will get included automatically | ||
| 6 | # | ||
| 7 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 8 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 9 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 10 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 11 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 12 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 13 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 14 | MIDI_ENABLE = no # MIDI controls | ||
| 15 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 16 | UNICODE_ENABLE = no # Unicode | ||
| 17 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 18 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 19 | |||
| 20 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 21 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 22 | |||
