aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ivy/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ivy/keymaps/default/keymap.c')
-rw-r--r--keyboards/ivy/keymaps/default/keymap.c46
1 files changed, 46 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
3extern 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
10enum 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
19const 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
44void matrix_init_user(void) {
45
46}