diff options
| author | Sebastiaan Swinkels | 2026-02-10 09:20:34 +0100 |
|---|---|---|
| committer | GitHub | 2026-02-10 09:20:34 +0100 |
| commit | a7f524f2645fff8524922d52f5e9691694395599 (patch) | |
| tree | 707e267168c204c02c5c477b46a0c9caf0f034d4 | |
| parent | 8a6c081c4acbd0993df7019053c2360370f842f2 (diff) | |
Added MK Point65 keyboards and keymaps (#25392)
10 files changed, 621 insertions, 0 deletions
diff --git a/keyboards/mechanicalkeyboards/point65/config.h b/keyboards/mechanicalkeyboards/point65/config.h new file mode 100644 index 0000000000..31ba8c3f90 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/config.h @@ -0,0 +1,24 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 + +/* Double tap the side button to enter bootloader */ +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U + +/* couple of defaults */ +#define RGB_INDICATOR_POS_OFFSET 48 /* Indicator LEDs additional brightness */ diff --git a/keyboards/mechanicalkeyboards/point65/hotswap/hotswap.c b/keyboards/mechanicalkeyboards/point65/hotswap/hotswap.c new file mode 100644 index 0000000000..1da89f6f2d --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap/hotswap.c @@ -0,0 +1,62 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 "quantum.h" + + enum point65_layers { + _QWERTY, + _FUNCTION +}; + +bool rgb_matrix_indicators_kb(void) { + if (!rgb_matrix_indicators_user()){ + return false; + } + + hsv_t hsv = {0, 255, 255}; + + // Light up ESC RGB LED when _FUNCTION layer is accessed + if ((get_highest_layer(layer_state|default_layer_state)) == _FUNCTION){ + hsv.h = 43; + hsv.s = 105; + hsv.v = 255; + + if (hsv.v > rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET) { + hsv.v = rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET; + } + rgb_t rgb = hsv_to_rgb(hsv); + + rgb_matrix_set_color(0, rgb.r, rgb.g, rgb.b); + } + // end layer function + + // capslock indicator + if (host_keyboard_led_state().caps_lock) { + hsv.h = 43; + hsv.s = 105; + hsv.v = 255; + + if (hsv.v > rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET) { + hsv.v = rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET; + } + rgb_t rgb = hsv_to_rgb(hsv); + + rgb_matrix_set_color(1, rgb.r, rgb.g, rgb.b); + } + // end capslock function + + return false; +} diff --git a/keyboards/mechanicalkeyboards/point65/hotswap/keyboard.json b/keyboards/mechanicalkeyboards/point65/hotswap/keyboard.json new file mode 100644 index 0000000000..f988fb0423 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap/keyboard.json @@ -0,0 +1,95 @@ +{ + "keyboard_name": "Point 65 Hotswap", + "matrix_pins": { + "rows": ["GP24", "GP22", "GP21", "GP19", "GP25"] + }, + "rgb_matrix": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 255}, + {"matrix": [2, 0], "x": 0, "y": 32, "flags": 255} + ] + }, + "url": "https://mechanicalkeyboards.com/products/mk-point65-keyboard-kit?variant=49803723735340", + "usb": { + "pid": "0xC0F5" + }, + "ws2812": { + "pin": "GP23" + }, + "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_tsangan"], + "layout_aliases": { + "LAYOUT_all": "LAYOUT_65_ansi_blocker" + }, + "layouts": { + "LAYOUT_65_ansi_blocker_tsangan": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 15], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 15], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 15], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 1], "x": 2.25, "y": 3}, + {"matrix": [3, 2], "x": 3.25, "y": 3}, + {"matrix": [3, 3], "x": 4.25, "y": 3}, + {"matrix": [3, 4], "x": 5.25, "y": 3}, + {"matrix": [3, 5], "x": 6.25, "y": 3}, + {"matrix": [3, 6], "x": 7.25, "y": 3}, + {"matrix": [3, 7], "x": 8.25, "y": 3}, + {"matrix": [3, 8], "x": 9.25, "y": 3}, + {"matrix": [3, 9], "x": 10.25, "y": 3}, + {"matrix": [3, 10], "x": 11.25, "y": 3}, + {"matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [3, 15], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"matrix": [4, 5], "x": 4, "y": 4, "w": 7}, + {"matrix": [4, 10], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 13, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4} + ] + } + } +} diff --git a/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default/keymap.c b/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default/keymap.c new file mode 100644 index 0000000000..8441ae3830 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 + +enum point65_layers { + _QWERTY, + _FUNCTION +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_QWERTY] = LAYOUT_all( + 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_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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FUNCTION), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [_FUNCTION] = LAYOUT_all( + 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_DEL, KC_NO, + NK_TOGG, RM_TOGG, RM_VALU, KC_NO, RM_HUEU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, RM_PREV, RM_VALD, RM_NEXT, RM_HUED, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_MPLY, KC_VOLU, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT + ) +}; diff --git a/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default_7u/keymap.c b/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default_7u/keymap.c new file mode 100644 index 0000000000..b290fa0ac6 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap/keymaps/default_7u/keymap.c @@ -0,0 +1,39 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 + +enum point65_layers { + _QWERTY, + _FUNCTION +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_QWERTY] = LAYOUT_65_ansi_blocker_tsangan( + 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_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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FUNCTION), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [_FUNCTION] = LAYOUT_65_ansi_blocker_tsangan( + 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_DEL, KC_NO, + NK_TOGG, RM_TOGG, RM_VALU, KC_NO, RM_HUEU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, RM_PREV, RM_VALD, RM_NEXT, RM_HUED, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_MPLY, KC_VOLU, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT + ) +}; diff --git a/keyboards/mechanicalkeyboards/point65/hotswap_rgb/hotswap_rgb.c b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/hotswap_rgb.c new file mode 100644 index 0000000000..ec2e9f28ba --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/hotswap_rgb.c @@ -0,0 +1,62 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 "quantum.h" + + enum point65_layers { + _QWERTY, + _FUNCTION +}; + +bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) { + if (!rgb_matrix_indicators_user()){ + return false; + } + + hsv_t hsv = {0, 255, 255}; + + // Light up ESC RGB LED when _FUNCTION layer is accessed + if ((get_highest_layer(layer_state|default_layer_state)) == _FUNCTION){ + hsv.h = 43; + hsv.s = 105; + hsv.v = 255; + + if (hsv.v > rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET) { + hsv.v = rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET; + } + rgb_t rgb = hsv_to_rgb(hsv); + + rgb_matrix_set_color(0, rgb.r, rgb.g, rgb.b); + } + // end layer function + + // capslock indicator + if (host_keyboard_led_state().caps_lock) { + hsv.h = 43; + hsv.s = 105; + hsv.v = 255; + + if (hsv.v > rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET) { + hsv.v = rgb_matrix_get_val() + RGB_INDICATOR_POS_OFFSET; + } + rgb_t rgb = hsv_to_rgb(hsv); + + rgb_matrix_set_color(30, rgb.r, rgb.g, rgb.b); + } + // end capslock function + + return false; +} diff --git a/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keyboard.json b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keyboard.json new file mode 100644 index 0000000000..55f206fe12 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keyboard.json @@ -0,0 +1,85 @@ +{ + "keyboard_name": "Point 65 Hotswap RGB", + "matrix_pins": { + "rows": ["GP24", "GP23", "GP22", "GP21", "GP25"] + }, + "rgb_matrix": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 255}, + {"matrix": [0, 1], "x": 15, "y": 0, "flags": 255}, + {"matrix": [0, 2], "x": 30, "y": 0, "flags": 255}, + {"matrix": [0, 3], "x": 45, "y": 0, "flags": 255}, + {"matrix": [0, 4], "x": 60, "y": 0, "flags": 255}, + {"matrix": [0, 5], "x": 75, "y": 0, "flags": 255}, + {"matrix": [0, 6], "x": 89, "y": 0, "flags": 255}, + {"matrix": [0, 7], "x": 104, "y": 0, "flags": 255}, + {"matrix": [0, 8], "x": 119, "y": 0, "flags": 255}, + {"matrix": [0, 9], "x": 134, "y": 0, "flags": 255}, + {"matrix": [0, 10], "x": 149, "y": 0, "flags": 255}, + {"matrix": [0, 11], "x": 164, "y": 0, "flags": 255}, + {"matrix": [0, 12], "x": 179, "y": 0, "flags": 255}, + {"matrix": [0, 13], "x": 201, "y": 0, "flags": 255}, + {"matrix": [0, 15], "x": 224, "y": 0, "flags": 255}, + {"matrix": [1, 15], "x": 224, "y": 16, "flags": 255}, + {"matrix": [1, 13], "x": 205, "y": 16, "flags": 255}, + {"matrix": [1, 12], "x": 187, "y": 16, "flags": 255}, + {"matrix": [1, 11], "x": 172, "y": 16, "flags": 255}, + {"matrix": [1, 10], "x": 157, "y": 16, "flags": 255}, + {"matrix": [1, 9], "x": 142, "y": 16, "flags": 255}, + {"matrix": [1, 8], "x": 127, "y": 16, "flags": 255}, + {"matrix": [1, 7], "x": 112, "y": 16, "flags": 255}, + {"matrix": [1, 6], "x": 97, "y": 16, "flags": 255}, + {"matrix": [1, 5], "x": 82, "y": 16, "flags": 255}, + {"matrix": [1, 4], "x": 67, "y": 16, "flags": 255}, + {"matrix": [1, 3], "x": 52, "y": 16, "flags": 255}, + {"matrix": [1, 2], "x": 37, "y": 16, "flags": 255}, + {"matrix": [1, 1], "x": 23, "y": 16, "flags": 255}, + {"matrix": [1, 0], "x": 4, "y": 16, "flags": 255}, + {"matrix": [2, 0], "x": 6, "y": 32, "flags": 255}, + {"matrix": [2, 1], "x": 26, "y": 32, "flags": 255}, + {"matrix": [2, 2], "x": 41, "y": 32, "flags": 255}, + {"matrix": [2, 3], "x": 56, "y": 32, "flags": 255}, + {"matrix": [2, 4], "x": 71, "y": 32, "flags": 255}, + {"matrix": [2, 5], "x": 86, "y": 32, "flags": 255}, + {"matrix": [2, 6], "x": 101, "y": 32, "flags": 255}, + {"matrix": [2, 7], "x": 116, "y": 32, "flags": 255}, + {"matrix": [2, 8], "x": 131, "y": 32, "flags": 255}, + {"matrix": [2, 9], "x": 145, "y": 32, "flags": 255}, + {"matrix": [2, 10], "x": 160, "y": 32, "flags": 255}, + {"matrix": [2, 11], "x": 175, "y": 32, "flags": 255}, + {"matrix": [2, 12], "x": 200, "y": 32, "flags": 255}, + {"matrix": [2, 15], "x": 224, "y": 32, "flags": 255}, + {"matrix": [3, 15], "x": 224, "y": 48, "flags": 255}, + {"matrix": [3, 14], "x": 209, "y": 48, "flags": 255}, + {"matrix": [3, 11], "x": 188, "y": 48, "flags": 255}, + {"matrix": [3, 10], "x": 168, "y": 48, "flags": 255}, + {"matrix": [3, 9], "x": 153, "y": 48, "flags": 255}, + {"matrix": [3, 8], "x": 138, "y": 48, "flags": 255}, + {"matrix": [3, 7], "x": 123, "y": 48, "flags": 255}, + {"matrix": [3, 6], "x": 108, "y": 48, "flags": 255}, + {"matrix": [3, 5], "x": 93, "y": 48, "flags": 255}, + {"matrix": [3, 4], "x": 78, "y": 48, "flags": 255}, + {"matrix": [3, 3], "x": 63, "y": 48, "flags": 255}, + {"matrix": [3, 2], "x": 49, "y": 48, "flags": 255}, + {"matrix": [3, 1], "x": 34, "y": 48, "flags": 255}, + {"matrix": [3, 0], "x": 9, "y": 48, "flags": 255}, + {"matrix": [4, 0], "x": 2, "y": 64, "flags": 255}, + {"matrix": [4, 1], "x": 20, "y": 64, "flags": 255}, + {"matrix": [4, 2], "x": 39, "y": 64, "flags": 255}, + {"matrix": [4, 5], "x": 95, "y": 64, "flags": 255}, + {"matrix": [4, 9], "x": 151, "y": 64, "flags": 255}, + {"matrix": [4, 10], "x": 170, "y": 64, "flags": 255}, + {"matrix": [4, 13], "x": 194, "y": 64, "flags": 255}, + {"matrix": [4, 14], "x": 209, "y": 64, "flags": 255}, + {"matrix": [4, 15], "x": 224, "y": 64, "flags": 255} + ] + }, + "url": "https://mechanicalkeyboards.com/products/mk-point65-keyboard-kit?variant=49803723538732", + "usb": { + "pid": "0xC0F6" + }, + "ws2812": { + "pin": "GP19" + }, + "community_layouts": ["65_ansi_blocker"] +} diff --git a/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keymaps/default/keymap.c b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keymaps/default/keymap.c new file mode 100644 index 0000000000..e11e75c1f9 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/hotswap_rgb/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* Copyright 2024 Sebastiaan Swinkels @ BeanBoards <sebastiaan.swinkels@googlemail.com> + * + * 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 + +enum point65_layers { + _QWERTY, + _FUNCTION +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_QWERTY] = LAYOUT_65_ansi_blocker( + 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_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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FUNCTION), KC_LEFT, KC_DOWN, KC_RIGHT + ), + [_FUNCTION] = LAYOUT_65_ansi_blocker( + 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_DEL, KC_NO, + NK_TOGG, RM_TOGG, RM_VALU, KC_NO, RM_HUEU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, RM_PREV, RM_VALD, RM_NEXT, RM_HUED, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_MPLY, KC_VOLU, KC_TRNS, + KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT + ) +}; diff --git a/keyboards/mechanicalkeyboards/point65/info.json b/keyboards/mechanicalkeyboards/point65/info.json new file mode 100644 index 0000000000..c1ab9322a7 --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/info.json @@ -0,0 +1,145 @@ +{ + "manufacturer": "Mechanical Keyboards", + "maintainer": "C44Supra", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["GP28", "GP27", "GP26", "GP29", "GP0", "GP11", "GP10", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1"] + }, + "processor": "RP2040", + "rgb_matrix": { + "animations": { + "alphas_mods": true, + "band_pinwheel_sat": true, + "band_pinwheel_val": true, + "band_sat": true, + "band_spiral_sat": true, + "band_spiral_val": true, + "band_val": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "cycle_up_down": true, + "digital_rain": true, + "dual_beacon": true, + "gradient_left_right": true, + "gradient_up_down": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "jellybean_raindrops": true, + "multisplash": true, + "pixel_flow": true, + "pixel_fractal": true, + "pixel_rain": true, + "rainbow_beacon": true, + "rainbow_moving_chevron": true, + "rainbow_pinwheels": true, + "raindrops": true, + "solid_multisplash": true, + "solid_reactive": true, + "solid_reactive_cross": true, + "solid_reactive_multicross": true, + "solid_reactive_multinexus": true, + "solid_reactive_multiwide": true, + "solid_reactive_nexus": true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_splash": true, + "splash": true, + "typing_heatmap": true + }, + "driver": "ws2812", + "max_brightness": 128 + }, + "usb": { + "device_version": "1.0.0", + "vid": "0x4242" + }, + "ws2812": { + "driver": "vendor" + }, + "layouts": { + "LAYOUT_65_ansi_blocker": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 15], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 15], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 15], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 1], "x": 2.25, "y": 3}, + {"matrix": [3, 2], "x": 3.25, "y": 3}, + {"matrix": [3, 3], "x": 4.25, "y": 3}, + {"matrix": [3, 4], "x": 5.25, "y": 3}, + {"matrix": [3, 5], "x": 6.25, "y": 3}, + {"matrix": [3, 6], "x": 7.25, "y": 3}, + {"matrix": [3, 7], "x": 8.25, "y": 3}, + {"matrix": [3, 8], "x": 9.25, "y": 3}, + {"matrix": [3, 9], "x": 10.25, "y": 3}, + {"matrix": [3, 10], "x": 11.25, "y": 3}, + {"matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [3, 15], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 13, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4} + ] + } + } +} diff --git a/keyboards/mechanicalkeyboards/point65/readme.md b/keyboards/mechanicalkeyboards/point65/readme.md new file mode 100644 index 0000000000..7a50f6793d --- /dev/null +++ b/keyboards/mechanicalkeyboards/point65/readme.md @@ -0,0 +1,31 @@ +# Mechanical Keyboards Point65 + + +## Description +A 65% keyboard by [Mechanical Keyboards](https://mechanicalkeyboards.com) available as either multi layout hotswap, or hotswap with RGB per key backlight. + +* Keyboard Maintainer: [C44Supra](https://github.com/C44Supra) +* Hardware Supported: MK Point65 hotswap, MK Point65 hotswap RGB +* Hardware Availability: [MK Point65 Keyboard Kit](https://mechanicalkeyboards.com/products/mk-point65-keyboard-kit) + +## Firmware building +**Hotswap with 6.25U layout:** + + make mechanicalkeyboards/point65/hotswap:default + +**Hotswap with 7U layout:** + + make mechanicalkeyboards/point65/hotswap:default_7u + +**Hotswap RGB:** + + make mechanicalkeyboards/point65/hotswap_rgb:default + +## Bootloader and Flashing: +The keyboard can be flashed with new firmware by entering the bootloader in one of the following ways: +- Bootmagic reset: unplug the keyboard, press and hold the top left key, plug the keyboard back in, and then release the top left key +- Physical reset button: Remove the space bar and double press the reset button twice in short succession + +Once the keyboard enters bootloader mode, it will present itself as a removable device called `RPI-RP2`. Copy / drag the new firmware file to the `RPI-RP2` drive to flash the new firmware onto the keyboard. + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
\ No newline at end of file |