diff options
-rw-r--r-- | keyboards/feker/ik75/config.h | 108 | ||||
-rw-r--r-- | keyboards/feker/ik75/ik75.c | 191 | ||||
-rw-r--r-- | keyboards/feker/ik75/ik75.h | 56 | ||||
-rw-r--r-- | keyboards/feker/ik75/info.json | 105 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/bkzshen/keymap.c | 224 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/bkzshen/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/default/keymap.c | 166 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/default/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/via/keymap.c | 224 | ||||
-rw-r--r-- | keyboards/feker/ik75/keymaps/via/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/feker/ik75/readme.md | 25 | ||||
-rw-r--r-- | keyboards/feker/ik75/rules.mk | 29 |
12 files changed, 1138 insertions, 0 deletions
diff --git a/keyboards/feker/ik75/config.h b/keyboards/feker/ik75/config.h new file mode 100644 index 0000000000..541fb86b73 --- /dev/null +++ b/keyboards/feker/ik75/config.h @@ -0,0 +1,108 @@ +/* Copyright 2022 Feker + * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 6 +#define MATRIX_COLS 16 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, F0 } +#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, B7, D2, D3, D5, D4, D6, D7, B4, B5, B6, E2 } + +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION ROW2COL + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + +#ifdef ENCODER_ENABLE + /* Encoder pins */ + #define ENCODERS_PAD_A { C6 } + #define ENCODERS_PAD_B { C7 } + + /* Encoder config */ + #define ENCODER_RESOLUTION 2 +#endif + +#ifdef RGB_MATRIX_ENABLE + #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 + #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS + #define RGB_MATRIX_KEYPRESSES + #define RGB_MATRIX_FRAMEBUFFER_EFFECTS + + /* RGB Matrix config */ + #define DRIVER_ADDR_1 0b1011111 + #define DRIVER_ADDR_2 0b1010000 + #define DRIVER_COUNT 2 + #define DRIVER_1_LED_TOTAL 63 + #define DRIVER_2_LED_TOTAL 64 + + /* RGB Matrix effect */ + #define ENABLE_RGB_MATRIX_ALPHAS_MODS + #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN + #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_BREATHING + #define ENABLE_RGB_MATRIX_BAND_SAT + #define ENABLE_RGB_MATRIX_BAND_VAL + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN + #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_DUAL_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_HUE_BREATHING + #define ENABLE_RGB_MATRIX_HUE_PENDULUM + #define ENABLE_RGB_MATRIX_HUE_WAVE + #define ENABLE_RGB_MATRIX_PIXEL_RAIN + #define ENABLE_RGB_MATRIX_PIXEL_FLOW + #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL + + #define ENABLE_RGB_MATRIX_TYPING_HEATMAP + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN + + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH +#endif diff --git a/keyboards/feker/ik75/ik75.c b/keyboards/feker/ik75/ik75.c new file mode 100644 index 0000000000..58464e1934 --- /dev/null +++ b/keyboards/feker/ik75/ik75.c @@ -0,0 +1,191 @@ +/* Copyright 2022 Feker + * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "ik75.h" + +#ifdef RGB_MATRIX_ENABLE +const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +/* Refer to IS31 manual for these locations + * driver + * | G location + * | | B location + * | | | R location + * | | | | */ + {0, A_1, C_1, B_1}, // 0, `~, K10 + {0, A_2, C_2, B_2}, // 1, 1!, K11 + {0, A_3, C_3, B_3}, // 2, 2@, K12 + {0, A_4, C_4, B_4}, // 3, 3#, K13 + {0, A_5, C_5, B_5}, // 4, 4$, K14 + {0, A_6, C_6, B_6}, // 5, 5%, K15 + {0, A_7, C_7, B_7}, // 6, 6^, K16 + {0, A_8, C_8, B_8}, // 7, 7&, K17 + {0, A_9, C_9, B_9}, // 8, 8*, K18 + {0, A_10, C_10, B_10}, // 9, 9(, K19 + {0, A_11, C_11, B_11}, // 10, 0), K1A + {0, A_12, C_12, B_12}, // 11, -_, K1B + {0, A_13, C_13, B_13}, // 12, =+, K1C + {0, A_14, C_14, B_14}, // 13, Backspace, K1D + {0, A_15, C_15, B_15}, // 14, Left Alt, K52 + {0, A_16, C_16, B_16}, // 15, Space, K56 + + {0, D_1, F_1, E_1}, // 16, Tab, K20 + {0, D_2, F_2, E_2}, // 17, Q, K21 + {0, D_3, F_3, E_3}, // 18, W, K22 + {0, D_4, F_4, E_4}, // 19, E, K23 + {0, D_5, F_5, E_5}, // 20, R, K24 + {0, D_6, F_6, E_6}, // 21, T, K25 + {0, D_7, F_7, E_7}, // 22, Y, K26 + {0, D_8, F_8, E_8}, // 23, U, K27 + {0, D_9, F_9, E_9}, // 24, I, K28 + {0, D_10, F_10, E_10}, // 25, O, K29 + {0, D_11, F_11, E_11}, // 26, P, K2A + {0, D_12, F_12, E_12}, // 27, [{, K2B + {0, D_13, F_13, E_13}, // 28, ]}, K2C + {0, D_14, F_14, E_14}, // 29, \|, K2D + {0, D_15, F_15, E_15}, // 30, Right Ctrl, K5C + {0, D_16, F_16, E_16}, // 31, Function, K5A + + {0, G_1, I_1, H_1}, // 32, Caps Lock, K30 + {0, G_2, I_2, H_2}, // 33, A, K31 + {0, G_3, I_3, H_3}, // 34, S, K32 + {0, G_4, I_4, H_4}, // 35, D, K33 + {0, G_5, I_5, H_5}, // 36, F, K34 + {0, G_6, I_6, H_6}, // 37, G, K35 + {0, G_7, I_7, H_7}, // 38, H, K36 + {0, G_8, I_8, H_8}, // 39, J, K37 + {0, G_9, I_9, H_9}, // 40, K, K38 + {0, G_10, I_10, H_10}, // 41, L, K39 + {0, G_11, I_11, H_11}, // 42, ;:, K3A + {0, G_12, I_12, H_12}, // 43, '", K3B + {0, G_13, I_13, H_13}, // 44, Enter, K3D + {0, G_14, I_14, H_14}, // 45, Up, K4E + {0, G_15, I_15, H_15}, // 46, Num Lock LED + {0, G_16, I_16, H_16}, // 47, Right Alt, K59 + + {0, J_1, L_1, K_1}, // 48, Left Shift, K40 +// {0, J_2, L_2, K_2}, // Unused LED + {0, J_3, L_3, K_3}, // 49, Z, K42 + {0, J_4, L_4, K_4}, // 50, X, K43 + {0, J_5, L_5, K_5}, // 51, C, K44 + {0, J_6, L_6, K_6}, // 52, V, K45 + {0, J_7, L_7, K_7}, // 53, B, K46 + {0, J_8, L_8, K_8}, // 54, N, K47 + {0, J_9, L_9, K_9}, // 55, M, K48 + {0, J_10, L_10, K_10}, // 56, ,<, K49 + {0, J_11, L_11, K_11}, // 57, .>, K4A + {0, J_12, L_12, K_12}, // 58, /?, K4B + {0, J_13, L_13, K_13}, // 59, Right Shift, K4D + {0, J_14, L_14, K_14}, // 60, Left, K5D + {0, J_15, L_15, K_15}, // 61, Down, K5E + {0, J_16, L_16, K_16}, // 62, Right, K5F + + {1, A_1, C_1, B_1}, // 63, Underglow 20 + {1, A_2, C_2, B_2}, // 64, Underglow 19 + {1, A_3, C_3, B_3}, // 65, Underglow 18 + {1, A_4, C_4, B_4}, // 66, Underglow 17 + {1, A_5, C_5, B_5}, // 67, Underglow 16 + {1, A_6, C_6, B_6}, // 68, Underglow 15 + {1, A_7, C_7, B_7}, // 69, Underglow 14 + {1, A_8, C_8, B_8}, // 70, Underglow 13 + {1, A_9, C_9, B_9}, // 71, Underglow 12 + {1, A_10, C_10, B_10}, // 72, Underglow 11 + {1, A_11, C_11, B_11}, // 73, Underglow 10 + {1, A_12, C_12, B_12}, // 74, Underglow 9 + {1, A_13, C_13, B_13}, // 75, Underglow 8 + {1, A_14, C_14, B_14}, // 76, Underglow 7 + {1, A_15, C_15, B_15}, // 77, Underglow 6 + {1, A_16, C_16, B_16}, // 78, Underglow 5 + + {1, D_1, F_1, E_1}, // 79, Esc, K00 + {1, D_2, F_2, E_2}, // 80, F1, K01 + {1, D_3, F_3, E_3}, // 81, F2, K02 + {1, D_4, F_4, E_4}, // 82, F3, K03 + {1, D_5, F_5, E_5}, // 83, F4, K04 + {1, D_6, F_6, E_6}, // 84, F5, K05 + {1, D_7, F_7, E_7}, // 85, F6, K06 + {1, D_8, F_8, E_8}, // 86, F7, K07 + {1, D_9, F_9, E_9}, // 87, F8, K08 + {1, D_10, F_10, E_10}, // 88, F9, K09 + {1, D_11, F_11, E_11}, // 89, F10, K0A + {1, D_12, F_12, E_12}, // 90, F11, K0B + {1, D_13, F_13, E_13}, // 91, F12, K0C + {1, D_14, F_14, E_14}, // 92, Delete, K0D + {1, D_15, F_15, E_15}, // 93, Left Ctrl, K50 + {1, D_16, F_16, E_16}, // 94, Left Windows, K51 + + {1, G_1, I_1, H_1}, // 95, Underglow 21 + {1, G_2, I_2, H_2}, // 96, Underglow 22 + {1, G_3, I_3, H_3}, // 97, Underglow 23 + {1, G_4, I_4, H_4}, // 98, Underglow 24 + {1, G_5, I_5, H_5}, // 99, Knob LED 3, K53 + {1, G_6, I_6, H_6}, // 100, Knob LED 2, K54 + {1, G_7, I_7, H_7}, // 101, Knob LED 1, K4F + {1, G_8, I_8, H_8}, // 102, Insert, K1F + {1, G_9, I_9, H_9}, // 103, Page Up, K3E + {1, G_10, I_10, H_10}, // 104, Caps/Win/Scr LED + {1, G_11, I_11, H_11}, // 105, End, K2F + {1, G_12, I_12, H_12}, // 106, Page Down, K3F + {1, G_13, I_13, H_13}, // 107, Underglow 1 + {1, G_14, I_14, H_14}, // 108, Underglow 2 + {1, G_15, I_15, H_15}, // 109, Underglow 3 + {1, G_16, I_16, H_16}, // 110, Underglow 4 + + {1, J_1, L_1, K_1}, // 111, Underglow 25 + {1, J_2, L_2, K_2}, // 112, Underglow 26 + {1, J_3, L_3, K_3}, // 113, Underglow 27 + {1, J_4, L_4, K_4}, // 114, Underglow 28 + {1, J_5, L_5, K_5}, // 115, Underglow 29 + {1, J_6, L_6, K_6}, // 116, Underglow 30 + {1, J_7, L_7, K_7}, // 117, Underglow 31 + {1, J_8, L_8, K_8}, // 118, Underglow 32 + {1, J_9, L_9, K_9}, // 119, Underglow 33 + {1, J_10, L_10, K_10}, // 120, Underglow 34 + {1, J_11, L_11, K_11}, // 121, Underglow 35 + {1, J_12, L_12, K_12}, // 122, Underglow 36 + {1, J_13, L_13, K_13}, // 123, Underglow 37 + {1, J_14, L_14, K_14}, // 124, Underglow 38 + {1, J_15, L_15, K_15}, // 125, Underglow 39 + {1, J_16, L_16, K_16}, // 126, Underglow 40 +}; + +led_config_t g_led_config = { { + { 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, NO_LED, NO_LED }, + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, NO_LED, 102 }, + { 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, NO_LED, 105 }, + { 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, NO_LED, 44, 103, 106 }, + { 48, NO_LED, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, NO_LED, 59, 45, 101 }, + { 93, 94, 14, NO_LED, NO_LED, NO_LED, 15, NO_LED, NO_LED, 30, 31, NO_LED, 47, 60, 61, 62 } +}, { + {0 , 15}, {14 , 15}, {29 , 15}, {43 , 15}, {58 , 15}, {72 , 15}, {87 , 15}, {101, 15}, {116, 15}, {130, 15}, {145, 15}, {159, 15}, {173, 15}, {195, 15}, {38 , 61}, {92 , 61}, + {4 , 26}, {22 , 26}, {36 , 26}, {51 , 26}, {65 , 26}, {79 , 26}, {94 , 26}, {108, 26}, {123, 26}, {137, 26}, {152, 26}, {166, 26}, {181, 26}, {199, 26}, {173, 61}, {159, 61}, + {5 , 38}, {25 , 38}, {40 , 38}, {54 , 38}, {69 , 38}, {83 , 38}, {98 , 38}, {112, 38}, {126, 38}, {141, 38}, {155, 38}, {170, 38}, {193, 38}, {206, 52}, {210, 12}, {145, 61}, + {9 , 49}, {33 , 49}, {47 , 49}, {61 , 49}, {76 , 49}, {90 , 49}, {105, 49}, {119, 49}, {134, 49}, {148, 49}, {163, 49}, {182, 49}, {191, 64}, {206, 64}, {220, 64}, + {14 , 0}, {28 , 0}, {53 , 0}, {63 , 0}, {74 , 0}, {88 , 0}, {102, 0}, {116, 0}, {130, 0}, {144, 0}, {158, 0}, {172, 0}, {189, 0}, {210, 0}, {224, 0}, {224, 11}, + {0 , 0}, {18 , 0}, {33 , 0}, {47 , 0}, {61 , 0}, {79 , 0}, {94 , 0}, {108, 0}, {123, 0}, {141, 0}, {155, 0}, {170, 0}, {184, 0}, {202, 0}, {2 , 61}, {20 , 61}, + {0 , 0}, {0 , 11}, {0 , 27}, {0 , 37}, {224, 5}, {210, 5}, {217, 0}, {224, 15}, {224, 38}, {210, 18}, {224, 26}, {224, 49}, {224, 56}, {224, 45}, {224, 35}, {224, 24}, + {0 , 48}, {0 , 56}, {0 , 64}, {14 , 64}, {28 , 64}, {49 , 64}, {67 , 64}, {84 , 64}, {98 , 64}, {112, 64}, {126, 64}, {140, 64}, {158, 64}, {172, 64}, {196, 64}, {224, 64}, +}, { + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 8, 1, + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, + 2, 2, 2, 2, 1, 1, 4, 4, 4, 8, 4, 4, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 +} }; +#endif diff --git a/keyboards/feker/ik75/ik75.h b/keyboards/feker/ik75/ik75.h new file mode 100644 index 0000000000..c4e5743bac --- /dev/null +++ b/keyboards/feker/ik75/ik75.h @@ -0,0 +1,56 @@ +/* Copyright 2022 Feker + * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "quantum.h" + +#define XXX KC_NO + +/* + * ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + * │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0A │0B │0C ││0D │ │4F │ + * └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ │1F │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │ │2F │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3D │ │3E │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┤ + * │40 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4D │┌───┐│3F │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┘│4E │└───┘ + * │50 │51 │52 │56 │5C │5A │59 │┌───┼───┼───┐ + * └────┴────┴────┴────────────────────────┴───┴───┴───┘│5D │5E │5F │ + * └───┴───┴───┘ + */ + +#define LAYOUT( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K4F, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ + K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4E, K3F, \ + K50, K51, K52, K56, K5C, K5A, K59, K5D, K5E, K5F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, XXX, XXX }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, XXX, K1F }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \ + { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \ + { K40, XXX, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, XXX, K4D, K4E, K4F }, \ + { K50, K51, K52, XXX, XXX, XXX, K56, XXX, XXX, K59, K5A, XXX, K5C, K5D, K5E, K5F } \ +} diff --git a/keyboards/feker/ik75/info.json b/keyboards/feker/ik75/info.json new file mode 100644 index 0000000000..bdba79703e --- /dev/null +++ b/keyboards/feker/ik75/info.json @@ -0,0 +1,105 @@ +{ + "keyboard_name": "IK75", + "manufacturer": "Feker", + "url": "https://epomaker.com/products/epomaker-feker-ik75-v3-qmk-via", + "maintainer": "Feker", + "usb": { + "vid": "0xF2E7", + "pid": "0x1226", + "device_version": "0.0.1" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"Esc", "x":0, "y":0}, + {"label":"F1", "x":1.25, "y":0}, + {"label":"F2", "x":2.25, "y":0}, + {"label":"F3", "x":3.25, "y":0}, + {"label":"F4", "x":4.25, "y":0}, + {"label":"F5", "x":5.5, "y":0}, + {"label":"F6", "x":6.5, "y":0}, + {"label":"F7", "x":7.5, "y":0}, + {"label":"F8", "x":8.5, "y":0}, + {"label":"F9", "x":9.75, "y":0}, + {"label":"F10", "x":10.75, "y":0}, + {"label":"F11", "x":11.75, "y":0}, + {"label":"F12", "x":12.75, "y":0}, + {"label":"Delete", "x":14, "y":0}, + {"label":"Mute", "x":15.5, "y":0}, + + {"label":"`~", "x":0, "y":1.25}, + {"label":"1!", "x":1, "y":1.25}, + {"label":"2@", "x":2, "y":1.25}, + {"label":"3#", "x":3, "y":1.25}, + {"label":"4$", "x":4, "y":1.25}, + {"label":"5%", "x":5, "y":1.25}, + {"label":"6^", "x":6, "y":1.25}, + {"label":"7&", "x":7, "y":1.25}, + {"label":"8*", "x":8, "y":1.25}, + {"label":"9(", "x":9, "y":1.25}, + {"label":"0)", "x":10, "y":1.25}, + {"label":"-_", "x":11, "y":1.25}, + {"label":"=+", "x":12, "y":1.25}, + {"label":"Backspace", "x":13, "y":1.25, "w":2}, + {"label":"Insert", "x":15.5, "y":1.25}, + + {"label":"Tab", "x":0, "y":2.25, "w":1.5}, + {"label":"Q", "x":1.5, "y":2.25}, + {"label":"W", "x":2.5, "y":2.25}, + {"label":"E", "x":3.5, "y":2.25}, + {"label":"R", "x":4.5, "y":2.25}, + {"label":"T", "x":5.5, "y":2.25}, + {"label":"Y", "x":6.5, "y":2.25}, + {"label":"U", "x":7.5, "y":2.25}, + {"label":"I", "x":8.5, "y":2.25}, + {"label":"O", "x":9.5, "y":2.25}, + {"label":"P", "x":10.5, "y":2.25}, + {"label":"[{", "x":11.5, "y":2.25}, + {"label":"]}", "x":12.5, "y":2.25}, + {"label":"\\|", "x":13.5, "y":2.25, "w":1.5}, + {"label":"End", "x":15.5, "y":2.25}, + + {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, + {"label":"A", "x":1.75, "y":3.25}, + {"label":"S", "x":2.75, "y":3.25}, + {"label":"D", "x":3.75, "y":3.25}, + {"label":"F", "x":4.75, "y":3.25}, + {"label":"G", "x":5.75, "y":3.25}, + {"label":"H", "x":6.75, "y":3.25}, + {"label":"J", "x":7.75, "y":3.25}, + {"label":"K", "x":8.75, "y":3.25}, + {"label":"L", "x":9.75, "y":3.25}, + {"label":";:", "x":10.75, "y":3.25}, + {"label":"'\"", "x":11.75, "y":3.25}, + {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, + {"label":"PgUp", "x":15.5, "y":3.25}, + + {"label":"Shift", "x":0, "y":4.25, "w":2.25}, + {"label":"Z", "x":2.25, "y":4.25}, + {"label":"X", "x":3.25, "y":4.25}, + {"label":"C", "x":4.25, "y":4.25}, + {"label":"V", "x":5.25, "y":4.25}, + {"label":"B", "x":6.25, "y":4.25}, + {"label":"N", "x":7.25, "y":4.25}, + {"label":"M", "x":8.25, "y":4.25}, + {"label":",<", "x":9.25, "y":4.25}, + {"label":".>", "x":10.25, "y":4.25}, + {"label":"/?", "x":11.25, "y":4.25}, + {"label":"Shift", "x":12.25, "y":4.25, "w":1.75}, + {"label":"\u2191", "x":14.25, "y":4.5}, + {"label":"PgDn", "x":15.5, "y":4.25}, + + {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, + {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, + {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, + {"label":"Space", "x":3.75, "y":5.25, "w":6.25}, + {"label":"Alt", "x":10, "y":5.25}, + {"label":"Fn", "x":11, "y":5.25}, + {"label":"Ctrl", "x":12, "y":5.25}, + {"label":"\u2190", "x":13.25, "y":5.5}, + {"label":"\u2193", "x":14.25, "y":5.5}, + {"label":"\u2192", "x":15.25, "y":5.5} + ] + } + } +} diff --git a/keyboards/feker/ik75/keymaps/bkzshen/keymap.c b/keyboards/feker/ik75/keymaps/bkzshen/keymap.c new file mode 100644 index 0000000000..95d41853f9 --- /dev/null +++ b/keyboards/feker/ik75/keymaps/bkzshen/keymap.c @@ -0,0 +1,224 @@ +/* Copyright 2022 Feker + * Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +enum layer_names { + _BASE, + _FN, + _FN1, + _FN2, +}; + +// enum layer_keycodes { }; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* + ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + │Esc││F1 │F2 │F3 │F4 ││F5 │F6 │F7 │F8 ││F9 │F10│F11│F12││Del│ │Mut│ + └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Bckspc│ │Hom│ + ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + │ Tab │ q │ w │ e │ r │ t │ y │ u │ i │ o │ p │ [ │ ] │ \ │ │End│ + ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + │ Caps │ a │ s │ d │ f │ g │ h │ j │ k │ l │ ; │ ' │ Enter │ │PgU│ + ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┤ + │ LShift │ z │ x │ c │ v │ b │ n │ m │ , │ . │ / │ RSft │┌───┐│PgD│ + ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┘│ ↑ │└───┘ + │LCrl│GUI │LAlt│ Space │RAt│Fn │Rcl│┌───┼───┼───┐ + └────┴────┴────┴────────────────────────┴───┴───┴───┘│ ← │ ↓ │ → │ + └───┴───┴───┘ + ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + │ ││ │ │ │ ││ │ │ │ ││ │ │ │ ││ │ │ │ + └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + │ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │ │ │ + ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + │ │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ { │ } │ | │ │ │ + ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ : │ " │ │ │ │ + ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┤ + │ LShift │ Z │ X │ C │ V │ B │ N │ M │ < │ > │ ? │ RSft │┌───┐│ │ + ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┘│ │└───┘ + │ │ │ │ │ │ │ │┌───┼───┼───┐ + └────┴────┴────┴────────────────────────┴───┴───┴───┘│ │ │ │ + └───┴───┴───┘ +*/ + /* Row: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 */ + [_BASE] = LAYOUT( + KC_ESC, 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_MUTE, + KC_GRV, 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_HOME, + 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_END, + 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_PGUP, + 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_PGDN, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT + ), + +/* + ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + │Rst││Mcm│Hom│Cal│Sel││Prv│Nxt│Ply│Stp││Mut│VoD│VoU│Mai││Ins│ │Tog│ + └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + │NKO│ │ │ │ │ │ │ │ │ │ │Spd│Spi│ │ │Mod│ + ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + │ │ │ │ │ │ │ │ │ │ │Prt│ │ │ │ │Hui│ + ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + │ │ │Scr│ │ │ │ │ │ │ │ │ │ │ │Sai│ + ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┤ + │ │ │ │ │ │ │Num│ │ │ │ │ │┌───┐│Sad│ + ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─────┘│Vai│└───┘ + │ │GTog│ │ │ │ │ ┌───┼───┼───┐ + └────┴────┴────┴────────────────────────┴────┴────┘ │ │Vad│ │ + └───┴───┴───┘ +*/ + /* Row: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 */ + [_FN] = LAYOUT( + QK_BOOT, KC_MYCM, KC_WHOM, KC_CALC, KC_SLCT, KC_MPRV, KC_MNXT, KC_MPLY, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_MAIL, KC_INS, RGB_TOG, + NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPD, RGB_SPI, _______, RGB_MOD, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_HUI, + _______, _______, KC_SCRL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, + _______, _______, _______, _______, _______, _______, KC_NUM, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAD, + _______, GUI_TOG, _______, _______, _______, _______, _______, _______, RGB_VAD, _______ + ), + +/* + ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + │ ││ │ │ │ ││ │ │ │ ││ │ │ │ ││ │ │ │ + └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┤ + │ │ │ │ │ │ │ │ │ │ │ │ │┌───┐│ │ + ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─────┘│ │└───┘ + │ │ │ │ │ │ │ ┌───┼───┼───┐ + └────┴────┴────┴────────────────────────┴────┴────┘ │ │ │ │ + └───┴───┴───┘ +*/ + /* Row: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 */ + [_FN1] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + +/* + ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┐ + │ ││ │ │ │ ││ │ │ │ ││ │ │ │ ││ │ │ │ + └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┘ + ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ ┌───┐ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ ├───┤ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┤ + │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├─ |