This commit is contained in:
Sebastiaan Swinkels 2025-07-15 14:42:18 +00:00 committed by GitHub
commit d817209fc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 605 additions and 0 deletions

View File

@ -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 */

View File

@ -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": [
{"label": "KC_ESC", "matrix": [0, 0], "x": 0, "y": 0, "w": 1},
{"label": "KC_1", "matrix": [0, 1], "x": 1, "y": 0, "w": 1},
{"label": "KC_2", "matrix": [0, 2], "x": 2, "y": 0, "w": 1},
{"label": "KC_3", "matrix": [0, 3], "x": 3, "y": 0, "w": 1},
{"label": "KC_4", "matrix": [0, 4], "x": 4, "y": 0, "w": 1},
{"label": "KC_5", "matrix": [0, 5], "x": 5, "y": 0, "w": 1},
{"label": "KC_6", "matrix": [0, 6], "x": 6, "y": 0, "w": 1},
{"label": "KC_7", "matrix": [0, 7], "x": 7, "y": 0, "w": 1},
{"label": "KC_8", "matrix": [0, 8], "x": 8, "y": 0, "w": 1},
{"label": "KC_9", "matrix": [0, 9], "x": 9, "y": 0, "w": 1},
{"label": "KC_0", "matrix": [0, 10], "x": 10, "y": 0, "w": 1},
{"label": "KC_MINUS", "matrix": [0, 11], "x": 11, "y": 0, "w": 1},
{"label": "KC_EQUAL", "matrix": [0, 12], "x": 12, "y": 0, "w": 1},
{"label": "KC_BACKSPACE", "matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"label": "KC_HOME", "matrix": [0, 15], "x": 15, "y": 0, "w": 1},
{"label": "KC_TAB", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"label": "KC_Q", "matrix": [1, 1], "x": 1.5, "y": 1, "w": 1},
{"label": "KC_W", "matrix": [1, 2], "x": 2.5, "y": 1, "w": 1},
{"label": "KC_E", "matrix": [1, 3], "x": 3.5, "y": 1, "w": 1},
{"label": "KC_R", "matrix": [1, 4], "x": 4.5, "y": 1, "w": 1},
{"label": "KC_T", "matrix": [1, 5], "x": 5.5, "y": 1, "w": 1},
{"label": "KC_Y", "matrix": [1, 6], "x": 6.5, "y": 1, "w": 1},
{"label": "KC_U", "matrix": [1, 7], "x": 7.5, "y": 1, "w": 1},
{"label": "KC_I", "matrix": [1, 8], "x": 8.5, "y": 1, "w": 1},
{"label": "KC_O", "matrix": [1, 9], "x": 9.5, "y": 1, "w": 1},
{"label": "KC_P", "matrix": [1, 10], "x": 10.5, "y": 1, "w": 1},
{"label": "KC_LEFT_BRACKET", "matrix": [1, 11], "x": 11.5, "y": 1, "w": 1},
{"label": "KC_RIGHT_BRACKET", "matrix": [1, 12], "x": 12.5, "y": 1, "w": 1},
{"label": "KC_BACKSLASH", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
{"label": "KC_PGUP", "matrix": [1, 15], "x": 15, "y": 1, "w": 1},
{"label": "KC_CAPS", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"label": "KC_A", "matrix": [2, 1], "x": 1.75, "y": 2, "w": 1},
{"label": "KC_S", "matrix": [2, 2], "x": 2.75, "y": 2, "w": 1},
{"label": "KC_D", "matrix": [2, 3], "x": 3.75, "y": 2, "w": 1},
{"label": "KC_F", "matrix": [2, 4], "x": 4.75, "y": 2, "w": 1},
{"label": "KC_G", "matrix": [2, 5], "x": 5.75, "y": 2, "w": 1},
{"label": "KC_H", "matrix": [2, 6], "x": 6.75, "y": 2, "w": 1},
{"label": "KC_J", "matrix": [2, 7], "x": 7.75, "y": 2, "w": 1},
{"label": "KC_K", "matrix": [2, 8], "x": 8.75, "y": 2, "w": 1},
{"label": "KC_L", "matrix": [2, 9], "x": 9.75, "y": 2, "w": 1},
{"label": "KC_SCLN", "matrix": [2, 10], "x": 10.75, "y": 2, "w": 1},
{"label": "KC_QUOT", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1},
{"label": "KC_ENTER", "matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
{"label": "KC_PGDN", "matrix": [2, 15], "x": 15, "y": 2, "w": 1},
{"label": "KC_LSFT", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"label": "KC_Z", "matrix": [3, 1], "x": 2.25, "y": 3, "w": 1},
{"label": "KC_X", "matrix": [3, 2], "x": 3.25, "y": 3, "w": 1},
{"label": "KC_C", "matrix": [3, 3], "x": 4.25, "y": 3, "w": 1},
{"label": "KC_V", "matrix": [3, 4], "x": 5.25, "y": 3, "w": 1},
{"label": "KC_B", "matrix": [3, 5], "x": 6.25, "y": 3, "w": 1},
{"label": "KC_N", "matrix": [3, 6], "x": 7.25, "y": 3, "w": 1},
{"label": "KC_M", "matrix": [3, 7], "x": 8.25, "y": 3, "w": 1},
{"label": "KC_COMM", "matrix": [3, 8], "x": 9.25, "y": 3, "w": 1},
{"label": "KC_DOT", "matrix": [3, 9], "x": 10.25, "y": 3, "w": 1},
{"label": "KC_SLSH", "matrix": [3, 10], "x": 11.25, "y": 3, "w": 1},
{"label": "KC_RSFT", "matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75},
{"label": "KC_UP", "matrix": [3, 14], "x": 14, "y": 3, "w": 1},
{"label": "KC_END", "matrix": [3, 15], "x": 15, "y": 3, "w": 1},
{"label": "KC_LCTL", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
{"label": "KC_LGUI", "matrix": [4, 1], "x": 1.5, "y": 4, "w": 1},
{"label": "KC_LALT", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5},
{"label": "KC_SPC", "matrix": [4, 5], "x": 4, "y": 4, "w": 7},
{"label": "_FN", "matrix": [4, 10], "x": 11, "y": 4, "w": 1.5},
{"label": "KC_LEFT", "matrix": [4, 13], "x": 13, "y": 4, "w": 1},
{"label": "KC_DOWN", "matrix": [4, 14], "x": 14, "y": 4, "w": 1},
{"label": "KC_RGHT", "matrix": [4, 15], "x": 15, "y": 4, "w": 1}
]
}
}
}

View File

@ -0,0 +1,75 @@
/* 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
)
};
bool rgb_matrix_indicators_user(void) {
HSV 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 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 rgb = hsv_to_rgb(hsv);
rgb_matrix_set_color(1, rgb.r, rgb.g, rgb.b);
}
// end capslock function
return false;
}

View File

@ -0,0 +1,75 @@
/* 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
)
};
bool rgb_matrix_indicators_user(void) {
HSV 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 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 rgb = hsv_to_rgb(hsv);
rgb_matrix_set_color(1, rgb.r, rgb.g, rgb.b);
}
// end capslock function
return false;
}

View File

@ -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"]
}

View File

@ -0,0 +1,75 @@
/* 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 reformortho_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
)
};
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
HSV 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 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 rgb = hsv_to_rgb(hsv);
rgb_matrix_set_color(30, rgb.r, rgb.g, rgb.b);
}
// end capslock function
return false;
}

View File

@ -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": [
{"label": "KC_ESC", "matrix": [0, 0], "x": 0, "y": 0, "w": 1},
{"label": "KC_1", "matrix": [0, 1], "x": 1, "y": 0, "w": 1},
{"label": "KC_2", "matrix": [0, 2], "x": 2, "y": 0, "w": 1},
{"label": "KC_3", "matrix": [0, 3], "x": 3, "y": 0, "w": 1},
{"label": "KC_4", "matrix": [0, 4], "x": 4, "y": 0, "w": 1},
{"label": "KC_5", "matrix": [0, 5], "x": 5, "y": 0, "w": 1},
{"label": "KC_6", "matrix": [0, 6], "x": 6, "y": 0, "w": 1},
{"label": "KC_7", "matrix": [0, 7], "x": 7, "y": 0, "w": 1},
{"label": "KC_8", "matrix": [0, 8], "x": 8, "y": 0, "w": 1},
{"label": "KC_9", "matrix": [0, 9], "x": 9, "y": 0, "w": 1},
{"label": "KC_0", "matrix": [0, 10], "x": 10, "y": 0, "w": 1},
{"label": "KC_MINUS", "matrix": [0, 11], "x": 11, "y": 0, "w": 1},
{"label": "KC_EQUAL", "matrix": [0, 12], "x": 12, "y": 0, "w": 1},
{"label": "KC_BSPC", "matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"label": "KC_HOME", "matrix": [0, 15], "x": 15, "y": 0, "w": 1},
{"label": "KC_TAB", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
{"label": "KC_Q", "matrix": [1, 1], "x": 1.5, "y": 1, "w": 1},
{"label": "KC_W", "matrix": [1, 2], "x": 2.5, "y": 1, "w": 1},
{"label": "KC_E", "matrix": [1, 3], "x": 3.5, "y": 1, "w": 1},
{"label": "KC_R", "matrix": [1, 4], "x": 4.5, "y": 1, "w": 1},
{"label": "KC_T", "matrix": [1, 5], "x": 5.5, "y": 1, "w": 1},
{"label": "KC_Y", "matrix": [1, 6], "x": 6.5, "y": 1, "w": 1},
{"label": "KC_U", "matrix": [1, 7], "x": 7.5, "y": 1, "w": 1},
{"label": "KC_I", "matrix": [1, 8], "x": 8.5, "y": 1, "w": 1},
{"label": "KC_O", "matrix": [1, 9], "x": 9.5, "y": 1, "w": 1},
{"label": "KC_P", "matrix": [1, 10], "x": 10.5, "y": 1, "w": 1},
{"label": "KC_LEFT_BRACKET", "matrix": [1, 11], "x": 11.5, "y": 1, "w": 1},
{"label": "KC_RIGHT_BRACKET", "matrix": [1, 12], "x": 12.5, "y": 1, "w": 1},
{"label": "KC_BACKSLASH", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
{"label": "KC_PGUP", "matrix": [1, 15], "x": 15, "y": 1, "w": 1},
{"label": "KC_CAPS", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
{"label": "KC_A", "matrix": [2, 1], "x": 1.75, "y": 2, "w": 1},
{"label": "KC_S", "matrix": [2, 2], "x": 2.75, "y": 2, "w": 1},
{"label": "KC_D", "matrix": [2, 3], "x": 3.75, "y": 2, "w": 1},
{"label": "KC_F", "matrix": [2, 4], "x": 4.75, "y": 2, "w": 1},
{"label": "KC_G", "matrix": [2, 5], "x": 5.75, "y": 2, "w": 1},
{"label": "KC_H", "matrix": [2, 6], "x": 6.75, "y": 2, "w": 1},
{"label": "KC_J", "matrix": [2, 7], "x": 7.75, "y": 2, "w": 1},
{"label": "KC_K", "matrix": [2, 8], "x": 8.75, "y": 2, "w": 1},
{"label": "KC_L", "matrix": [2, 9], "x": 9.75, "y": 2, "w": 1},
{"label": "KC_SCLN", "matrix": [2, 10], "x": 10.75, "y": 2, "w": 1},
{"label": "KC_QUOT", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1},
{"label": "KC_ENTER", "matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
{"label": "KC_PGDN", "matrix": [2, 15], "x": 15, "y": 2, "w": 1},
{"label": "KC_LSFT", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
{"label": "KC_Z", "matrix": [3, 1], "x": 2.25, "y": 3, "w": 1},
{"label": "KC_X", "matrix": [3, 2], "x": 3.25, "y": 3, "w": 1},
{"label": "KC_C", "matrix": [3, 3], "x": 4.25, "y": 3, "w": 1},
{"label": "KC_V", "matrix": [3, 4], "x": 5.25, "y": 3, "w": 1},
{"label": "KC_B", "matrix": [3, 5], "x": 6.25, "y": 3, "w": 1},
{"label": "KC_N", "matrix": [3, 6], "x": 7.25, "y": 3, "w": 1},
{"label": "KC_M", "matrix": [3, 7], "x": 8.25, "y": 3, "w": 1},
{"label": "KC_COMM", "matrix": [3, 8], "x": 9.25, "y": 3, "w": 1},
{"label": "KC_DOT", "matrix": [3, 9], "x": 10.25, "y": 3, "w": 1},
{"label": "KC_SLSH", "matrix": [3, 10], "x": 11.25, "y": 3, "w": 1},
{"label": "KC_RSFT", "matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75},
{"label": "KC_UP", "matrix": [3, 14], "x": 14, "y": 3, "w": 1},
{"label": "KC_END", "matrix": [3, 15], "x": 15, "y": 3, "w": 1},
{"label": "KC_LCTL", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
{"label": "KC_LGUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
{"label": "KC_LALT", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
{"label": "KC_SPC", "matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
{"label": "KC_RALT", "matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
{"label": "_FN", "matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
{"label": "KC_LEFT", "matrix": [4, 13], "x": 13, "y": 4, "w": 1},
{"label": "KC_DOWN", "matrix": [4, 14], "x": 14, "y": 4, "w": 1},
{"label": "KC_RGHT", "matrix": [4, 15], "x": 15, "y": 4, "w": 1}
]
}
}
}

View File

@ -0,0 +1,31 @@
# Mechanical Keyboards Point65
![Mechanical Keyboards Point65](https://i.imgur.com/lTEwGBR.png)
## 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).