aboutsummaryrefslogtreecommitdiff
path: root/keyboards/noxary/268/keymaps/iso/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/noxary/268/keymaps/iso/keymap.c')
-rw-r--r--keyboards/noxary/268/keymaps/iso/keymap.c103
1 files changed, 103 insertions, 0 deletions
diff --git a/keyboards/noxary/268/keymaps/iso/keymap.c b/keyboards/noxary/268/keymaps/iso/keymap.c
new file mode 100644
index 000000000..5d6987ce7
--- /dev/null
+++ b/keyboards/noxary/268/keymaps/iso/keymap.c
@@ -0,0 +1,103 @@
1#include QMK_KEYBOARD_H
2
3// Helpful defines
4#define _______ KC_TRNS
5
6// Each layer gets a name for readability, which is then used in the keymap matrix below.
7// The underscores don't mean anything - you can have a layer called STUFF or any other name.
8// Layer names don't all need to be of the same length, obviously, and you can also skip them
9// entirely and just use numbers.
10#define _BL 0
11#define _FL1 1
12
13const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
14 /* _BL: Base Layer (Default)
15 * ,----------------------------------------------------------------.
16 * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| BSpc| Grv|
17 * |----------------------------------------------------------------|
18 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Enter| Del|
19 * |------------------------------------------------------. |----|
20 * |Caps | A| S| D| F| G| H| J| K| L| ;| '| #| |PgUp|
21 * |----------------------------------------------------------------|
22 * |Sft | \| Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
23 * |----------------------------------------------------------------|
24 * |Ctrl|Win |Alt | Space | Alt| Fn|▓|Lef|Dow|Rght|
25 * `----------------------------------------------------------------'
26 */
27 [_BL] = LAYOUT_iso(
28 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_BSPC, KC_GRV,
29 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_DEL,
30 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_NUHS, KC_ENT, KC_PGUP,
31 KC_LSFT, KC_NUBS, 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_PGDN,
32 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL1), KC_LEFT, KC_DOWN, KC_RGHT
33 ),
34
35 /* _FL1: Function Layer 1
36 * ,----------------------------------------------------------------.
37 * | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| PScr| |
38 * |----------------------------------------------------------------|
39 * | | | | |RST| | | | | | | | | | Ins|
40 * |------------------------------------------------------. |----|
41 * | | | | | | | | | | | | | | |Home|
42 * |----------------------------------------------------------------|
43 * | | | | | | | | | |Bl-|Bl+| |Mute |Vol+| End|
44 * |----------------------------------------------------------------|
45 * | | | | BL_Toggle | | |▓| |Vol-| |
46 * `----------------------------------------------------------------'
47 */
48 [_FL1] = LAYOUT_iso(
49 KC_GRV, 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_PSCR, _______,
50 _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
52 _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_DEC, BL_INC, _______, KC_MUTE, KC_VOLU, KC_END,
53 _______, _______, _______, BL_TOGG, _______, _______, _______, KC_VOLD, _______
54 ),
55
56};
57
58
59void matrix_init_user(void) {
60}
61
62void matrix_scan_user(void) {
63}
64
65bool process_record_user(uint16_t keycode, keyrecord_t *record) {
66 return true;
67}
68
69void led_set_user(uint8_t usb_led) {
70
71 if (usb_led & (1 << USB_LED_NUM_LOCK)) {
72
73 } else {
74
75 }
76
77 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
78 DDRB |= (1 << 6);
79 PORTB |= (1 << 6);
80 } else {
81 DDRB &= ~(1 << 6);
82 PORTB &= ~(1 << 6);
83 }
84
85 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
86
87 } else {
88
89 }
90
91 if (usb_led & (1 << USB_LED_COMPOSE)) {
92
93 } else {
94
95 }
96
97 if (usb_led & (1 << USB_LED_KANA)) {
98
99 } else {
100
101 }
102
103}