diff options
Diffstat (limited to 'keyboards/keebsforall')
26 files changed, 1278 insertions, 84 deletions
diff --git a/keyboards/keebsforall/coarse60/rules.mk b/keyboards/keebsforall/coarse60/rules.mk index 803f9f9e5e..3c7ef02d4b 100644 --- a/keyboards/keebsforall/coarse60/rules.mk +++ b/keyboards/keebsforall/coarse60/rules.mk @@ -12,10 +12,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover +NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebsforall/freebird60/rules.mk b/keyboards/keebsforall/freebird60/rules.mk index 9906266f48..1275531ef6 100644 --- a/keyboards/keebsforall/freebird60/rules.mk +++ b/keyboards/keebsforall/freebird60/rules.mk @@ -12,10 +12,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = no # USB Nkey Rollover +NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/keebsforall/freebirdnp/lite/config.h b/keyboards/keebsforall/freebirdnp/lite/config.h new file mode 100644 index 0000000000..317132eff3 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/config.h @@ -0,0 +1,55 @@ +/* +Copyright 2021 ELliot Powell + +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" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x6B66 +#define PRODUCT_ID 0x1013 +#define DEVICE_VER 0x0001 +#define MANUFACTURER KeebsForAll +#define PRODUCT Freebird Numpad Lite + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 4 + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * +*/ +#define MATRIX_ROW_PINS { B7, B6, B5, B4, B3 } +#define MATRIX_COL_PINS { C7, B2, B1, B0 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +/* number of backlight levels */ + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/keebsforall/freebirdnp/lite/info.json b/keyboards/keebsforall/freebirdnp/lite/info.json new file mode 100644 index 0000000000..1553264e08 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/info.json @@ -0,0 +1,204 @@ +{ + "keyboard_name": "FreebirdNP Lite", + "url": "https://keebsforall.com/products/fb-numpad-lite", + "maintainer": "e11i0t23", + "manufacturer": "KeebsForAll", + "layouts": { + "LAYOUT_numpad_5x4": { + "layout": [ + { + "label": "Num Lock", + "x": 0, + "y": 0 + }, + { + "label": "/", + "x": 1, + "y": 0 + }, + { + "label": "*", + "x": 2, + "y": 0 + }, + { + "label": "-", + "x": 3, + "y": 0 + }, + { + "label": "7", + "x": 0, + "y": 1 + }, + { + "label": "8", + "x": 1, + "y": 1 + }, + { + "label": "9", + "x": 2, + "y": 1 + }, + { + "label": "4", + "x": 0, + "y": 2 + }, + { + "label": "5", + "x": 1, + "y": 2 + }, + { + "label": "6", + "x": 2, + "y": 2 + }, + { + "label": "+", + "x": 3, + "y": 1, + "h": 2 + }, + { + "label": "1", + "x": 0, + "y": 3 + }, + { + "label": "2", + "x": 1, + "y": 3 + }, + { + "label": "3", + "x": 2, + "y": 3 + }, + { + "label": "0", + "x": 0, + "y": 4, + "w": 2 + }, + { + "label": ".", + "x": 2, + "y": 4 + }, + { + "label": "Enter", + "x": 3, + "y": 3, + "h": 2 + } + ] + }, + "LAYOUT_ortho_5x4": { + "layout": [ + { + "label": "Num Lock", + "x": 0, + "y": 0 + }, + { + "label": "/", + "x": 1, + "y": 0 + }, + { + "label": "*", + "x": 2, + "y": 0 + }, + { + "label": "-", + "x": 3, + "y": 0 + }, + { + "label": "7", + "x": 0, + "y": 1 + }, + { + "label": "8", + "x": 1, + "y": 1 + }, + { + "label": "9", + "x": 2, + "y": 1 + }, + { + "label": "+", + "x": 3, + "y": 1 + }, + { + "label": "4", + "x": 0, + "y": 2 + }, + { + "label": "5", + "x": 1, + "y": 2 + }, + { + "label": "6", + "x": 2, + "y": 2 + }, + { + "label": "+", + "x": 3, + "y": 2 + }, + { + "label": "1", + "x": 0, + "y": 3 + }, + { + "label": "2", + "x": 1, + "y": 3 + }, + { + "label": "3", + "x": 2, + "y": 3 + }, + { + "label": "Enter", + "x": 3, + "y": 3 + }, + { + "label": "0", + "x": 0, + "y": 4 + }, + { + "label": "00", + "x": 1, + "y": 4 + }, + { + "label": ".", + "x": 2, + "y": 4 + }, + { + "label": "Enter", + "x": 3, + "y": 4 + } + ] + } + } +} diff --git a/keyboards/keebsforall/freebirdnp/lite/keymaps/default/keymap.c b/keyboards/keebsforall/freebirdnp/lite/keymaps/default/keymap.c new file mode 100644 index 0000000000..3d7f4026f8 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/keymaps/default/keymap.c @@ -0,0 +1,32 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_numpad_5x4( + TG(1), KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT ), + +[1] = LAYOUT_numpad_5x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, KC_NO, KC_RGHT, KC_TRNS, + KC_END, KC_DOWN, KC_PGDN, + KC_INS, KC_DEL, KC_TRNS), +}; diff --git a/keyboards/keebsforall/freebirdnp/lite/keymaps/via/keymap.c b/keyboards/keebsforall/freebirdnp/lite/keymaps/via/keymap.c new file mode 100644 index 0000000000..712b01dcfa --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/keymaps/via/keymap.c @@ -0,0 +1,46 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_ortho_5x4( /* Base */ + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, KC_PPLS, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, KC_PENT, + KC_P0, KC_P0, KC_PDOT, KC_PENT), + +[1] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + +[2] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + +[3] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), +}; diff --git a/keyboards/keebsforall/freebirdnp/lite/keymaps/via/rules.mk b/keyboards/keebsforall/freebirdnp/lite/keymaps/via/rules.mk new file mode 100755 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/keebsforall/freebirdnp/lite/lite.c b/keyboards/keebsforall/freebirdnp/lite/lite.c new file mode 100644 index 0000000000..4d424c17da --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/lite.c @@ -0,0 +1,16 @@ +/* Copyright 2021 Elliot Powell + * + * 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 "lite.h" diff --git a/keyboards/keebsforall/freebirdnp/lite/lite.h b/keyboards/keebsforall/freebirdnp/lite/lite.h new file mode 100644 index 0000000000..7f8cbdeeb0 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/lite.h @@ -0,0 +1,48 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +#define LAYOUT_numpad_5x4( \ + K00, K01, K02, K03, \ + K10, K11, K12, \ + K20, K21, K22, K13, \ + K30, K31, K32, \ + K40, K42, K33 \ +) { \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 }, \ + { K20, K21, K22, XXX }, \ + { K30, K31, K32, K33 }, \ + { K40, XXX, K42, XXX } \ +} + +#define LAYOUT_ortho_5x4( \ + K00, K01, K02, K03, \ + K10, K11, K12, K13, \ + K20, K21, K22, K23, \ + K30, K31, K32, K33, \ + K40, K41, K42, K43 \ +) { \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 }, \ + { K20, K21, K22, K23 }, \ + { K30, K31, K32, K33 }, \ + { K40, K41, K42, K43 } \ +} diff --git a/keyboards/keebsforall/freebirdnp/lite/readme.md b/keyboards/keebsforall/freebirdnp/lite/readme.md new file mode 100644 index 0000000000..e0d0dda059 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/readme.md @@ -0,0 +1,19 @@ +# Freebird Numpad Lite + +A basic numpad build to support the freebird range of products by keebsforall + +* Keyboard Maintainer: [e11i0t23](https://github.com/e11i0t23) +* Hardware Supported: FreebirdNP Lite +* Hardware Availability: [KeebsForAll](https://keebsforall.com) + +Make example for this keyboard (after setting up your build environment): + + make keebsforall/freebirdnp/lite:default + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available + +See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/keebsforall/freebirdnp/lite/rules.mk b/keyboards/keebsforall/freebirdnp/lite/rules.mk new file mode 100644 index 0000000000..9f2621eeb3 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/lite/rules.mk @@ -0,0 +1,20 @@ +# MCU name +MCU = atmega32u2 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output + +LAYOUTS = numpad_5x4 ortho_5x4 diff --git a/keyboards/keebsforall/freebirdnp/pro/config.h b/keyboards/keebsforall/freebirdnp/pro/config.h new file mode 100644 index 0000000000..53ced8ac03 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/config.h @@ -0,0 +1,58 @@ +/* +Copyright 2021 Elliot Powell + +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" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x6B66 +#define PRODUCT_ID 0x1014 +#define DEVICE_VER 0x0001 +#define MANUFACTURER KeebsForAll +#define PRODUCT Freebird Numpad + +/* key matrix size */ +#define MATRIX_ROWS 6 +#define MATRIX_COLS 4 + +#define ENCODERS_PAD_A { D4 } +#define ENCODERS_PAD_B { D5 } + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * +*/ +#define MATRIX_ROW_PINS { D3, B7, B6, B5, B4, B3 } +#define MATRIX_COL_PINS { C7, B2, B1, B0 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +/* number of backlight levels */ + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/keebsforall/freebirdnp/pro/info.json b/keyboards/keebsforall/freebirdnp/pro/info.json new file mode 100644 index 0000000000..ed2a6e0b41 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/info.json @@ -0,0 +1,71 @@ +{ + "keyboard_name": "FreebirdNP Pro", + "url": "https://keebsforall.com/products/fb-numpad-pro", + "maintainer": "e11i0t23", + "manufacturer": "KeebsForAll", + "layouts": { + "LAYOUT_numpad_6x4": { + "layout": [ + {"label":"F1", "x":0, "y":0}, + {"label":"F2", "x":1, "y":0}, + {"label":"F3", "x":2, "y":0}, + {"label":"MUTE", "x":3, "y":0}, + + {"label":"Num Lock", "x":0, "y":1}, + {"label":"/", "x":1, "y":1}, + {"label":"*", "x":2, "y":1}, + {"label":"-", "x":3, "y":1}, + + {"label":"7", "x":0, "y":2}, + {"label":"8", "x":1, "y":2}, + {"label":"9", "x":2, "y":2}, + + {"label":"4", "x":0, "y":3}, + {"label":"5", "x":1, "y":3}, + {"label":"6", "x":2, "y":3}, + {"label":"+", "x":3, "y":2, "h":2}, + + {"label":"1", "x":0, "y":4}, + {"label":"2", "x":1, "y":4}, + {"label":"3", "x":2, "y":4}, + + {"label":"0", "x":0, "y":5, "w":2}, + {"label":".", "x":2, "y":5}, + {"label":"Enter", "x":3, "y":4, "h":2} + ] + }, + "LAYOUT_ortho_6x4": { + "layout": [ + {"label":"F1", "x":0, "y":0}, + {"label":"F2", "x":1, "y":0}, + {"label":"F3", "x":2, "y":0}, + {"label":"MUTE", "x":3, "y":0}, + + {"label":"Num Lock", "x":0, "y":1}, + {"label":"/", "x":1, "y":1}, + {"label":"*", "x":2, "y":1}, + {"label":"-", "x":3, "y":1}, + + {"label":"7", "x":0, "y":2}, + {"label":"8", "x":1, "y":2}, + {"label":"9", "x":2, "y":2}, + {"label":"+", "x":3, "y":2}, + + {"label":"4", "x":0, "y":3}, + {"label":"5", "x":1, "y":3}, + {"label":"6", "x":2, "y":3}, + {"label":"+", "x":3, "y":3}, + + {"label":"1", "x":0, "y":4}, + {"label":"2", "x":1, "y":4}, + {"label":"3", "x":2, "y":4}, + {"label":"Enter", "x":3, "y":4}, + + {"label":"0", "x":0, "y":5}, + {"label":"00", "x":1, "y":5}, + {"label":".", "x":2, "y":5}, + {"label":"Enter", "x":3, "y":5} + ] + } + } +} diff --git a/keyboards/keebsforall/freebirdnp/pro/keymaps/default/keymap.c b/keyboards/keebsforall/freebirdnp/pro/keymaps/default/keymap.c new file mode 100644 index 0000000000..db6b1faf53 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/keymaps/default/keymap.c @@ -0,0 +1,45 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_numpad_6x4( + KC_F1, KC_F2, KC_F3, KC_MUTE, + TG(1), KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT ), + +[1] = LAYOUT_numpad_6x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, KC_NO, KC_RGHT, KC_TRNS, + KC_END, KC_DOWN, KC_PGDN, + KC_INS, KC_DEL, KC_TRNS), +}; + +bool encoder_update_user(uint8_t index, bool clockwise) { + if (index == 0) { + if (clockwise) { + tap_code(KC_VOLU); + } else { + tap_code(KC_VOLD); + } + } + return false; +} diff --git a/keyboards/keebsforall/freebirdnp/pro/keymaps/via/keymap.c b/keyboards/keebsforall/freebirdnp/pro/keymaps/via/keymap.c new file mode 100644 index 0000000000..e08edb6182 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/keymaps/via/keymap.c @@ -0,0 +1,51 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_ortho_6x4( /* Base */ + KC_F1, KC_F2, KC_F3, KC_MUTE, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, KC_PPLS, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, KC_PENT, + KC_P0, KC_P0, KC_PDOT, KC_PENT), + +[1] = LAYOUT_ortho_6x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + +[2] = LAYOUT_ortho_6x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), + +[3] = LAYOUT_ortho_6x4( /* Empty for Dynamic keymap */ + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), +}; + diff --git a/keyboards/keebsforall/freebirdnp/pro/keymaps/via/rules.mk b/keyboards/keebsforall/freebirdnp/pro/keymaps/via/rules.mk new file mode 100755 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/keebsforall/freebirdnp/pro/pro.c b/keyboards/keebsforall/freebirdnp/pro/pro.c new file mode 100644 index 0000000000..dcc72d39b4 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/pro.c @@ -0,0 +1,28 @@ +/* Copyright 2021 Elliot Powell + * + * 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 "pro.h" + +bool encoder_update_kb(uint8_t index, bool clockwise) { + if (!encoder_update_user(index, clockwise)) { return false; } + if (index == 0) { + if (clockwise) { + tap_code(KC_VOLU); + } else { + tap_code(KC_VOLD); + } + } + return false; +} diff --git a/keyboards/keebsforall/freebirdnp/pro/pro.h b/keyboards/keebsforall/freebirdnp/pro/pro.h new file mode 100644 index 0000000000..41b241bee1 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/pro.h @@ -0,0 +1,52 @@ +/* Copyright 2021 Elliot Powell + * + * 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 + +#define LAYOUT_numpad_6x4( \ + KF0, KF1, KF2, KF3, \ + K00, K01, K02, K03, \ + K10, K11, K12, \ + K20, K21, K22, K13, \ + K30, K31, K32, \ + K40, K42, K33 \ +) { \ + { KF0, KF1, KF2, KF3 }, \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 }, \ + { K20, K21, K22, XXX }, \ + { K30, K31, K32, K33 }, \ + { K40, XXX, K42, XXX } \ +} + +#define LAYOUT_ortho_6x4( \ + KF0, KF1, KF2, KF3, \ + K00, K01, K02, K03, \ + K10, K11, K12, K13, \ + K20, K21, K22, K23, \ + K30, K31, K32, K33, \ + K40, K41, K42, K43 \ +) { \ + { KF0, KF1, KF2, KF3 }, \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 }, \ + { K20, K21, K22, K23 }, \ + { K30, K31, K32, K33 }, \ + { K40, K41, K42, K43 } \ +} diff --git a/keyboards/keebsforall/freebirdnp/pro/readme.md b/keyboards/keebsforall/freebirdnp/pro/readme.md new file mode 100644 index 0000000000..3b06a72d11 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/readme.md @@ -0,0 +1,21 @@ +# Freebird Numpad Pro + +A basic numpad build to support the freebird range of products by keebsforall + +Pro Model features an Frow and Encoder + +* Keyboard Maintainer: [e11i0t23](https://github.com/e11i0t23) +* Hardware Supported: FreebirdNP Pro +* Hardware Availability: [KeebsForAll](https://keebsforall.com) + +Make example for this keyboard (after setting up your build environment): + + make keebsforall/freebirdnp/pro:default + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top left key and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available + +See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/keebsforall/freebirdnp/pro/rules.mk b/keyboards/keebsforall/freebirdnp/pro/rules.mk new file mode 100644 index 0000000000..fae02c7844 --- /dev/null +++ b/keyboards/keebsforall/freebirdnp/pro/rules.mk @@ -0,0 +1,21 @@ +# MCU name +MCU = atmega32u2 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +ENCODER_ENABLE = yes + +LAYOUTS = numpad_6x4 ortho_6x4 diff --git a/keyboards/keebsforall/freebirdtkl/freebirdtkl.h b/keyboards/keebsforall/freebirdtkl/freebirdtkl.h index d091109d05..0064172732 100644 --- a/keyboards/keebsforall/freebirdtkl/freebirdtkl.h +++ b/keyboards/keebsforall/freebirdtkl/freebirdtkl.h @@ -20,31 +20,27 @@ #define kxx KC_NO -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. +/* + * ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┬───┬───┐ + * │00 ││01 │02 │03 │04 ││05 │06 │07 │08 ││09 │0a │0b │0c ││0d │ │0e │0f │0g │ + * └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┴───┴───┘ + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┐ ┌───────┐ + * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │3d │ │1e │1f │1g │ │1d │ 2u Backspace + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ├───┼───┼───┤ └───────┘ + * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ │2e │2f │2g │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ └───┴───┴───┘ + * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ ┌───┐ ┌──────────┐ + * │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4a │4b │4d │ │4f │ │4b │ 2.75u RShift + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤ ┌───┼───┼───┐ └──────────┘ + * │50 │52 │53 │55 │58 │59 │5a │5b │ │5e │5f │5g │ + * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ └───┴───┴───┘ + * ┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ + * │50 │52 │53 │55 │59 │5a │5b │ Tsangan/WKL + * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ */ -#define LAYOUT_all( \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k3d, k1e, k1f, k1g, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ - k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4d, k4f, \ - k50, k52, k53, k55, k58, k59, k5a, k5b, k5e, k5f, k5g \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, kxx, kxx, kxx }, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, kxx, k4d, kxx, k4f, kxx }, \ - { k50, kxx, k52, k53, kxx, k55, kxx, kxx, k58, k59, k5a, k5b, kxx, kxx, k5e, k5f, k5g } \ -} -#define LAYOUT_ansi( \ +#define LAYOUT_tkl_f13_ansi( \ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, \ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \ @@ -60,7 +56,39 @@ { k50, kxx, k52, k53, kxx, k55, kxx, kxx, k58, k59, k5a, k5b, kxx, kxx, k5e, k5f, k5g } \ } -#define LAYOUT_tsangan( \ +#define LAYOUT_tkl_f13_ansi_split_bs_rshift( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k3d, k1e, k1f, k1g, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \ + k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ + k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4d, k4f, \ + k50, k52, k53, k55, k58, k59, k5a, k5b, k5e, k5f, k5g \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g }, \ + { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, kxx, kxx, kxx }, \ + { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, kxx, k4d, kxx, k4f, kxx }, \ + { k50, kxx, k52, k53, kxx, k55, kxx, kxx, k58, k59, k5a, k5b, kxx, kxx, k5e, k5f, k5g } \ +} + +#define LAYOUT_tkl_f13_ansi_tsangan( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \ + k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ + k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4f, \ + k50, k52, k53, k55, k59, k5a, k5b, k5e, k5f, k5g \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g }, \ + { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, kxx, kxx, kxx, kxx }, \ + { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, kxx, kxx, kxx, k4f, kxx }, \ + { k50, kxx, k52, k53, kxx, k55, kxx, kxx, kxx, k59, k5a, k5b, kxx, kxx, k5e, k5f, k5g } \ +} + +#define LAYOUT_tkl_f13_ansi_tsangan_split_bs_rshift( \ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k3d, k1e, k1f, k1g, \ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \ diff --git a/keyboards/keebsforall/freebirdtkl/info.json b/keyboards/keebsforall/freebirdtkl/info.json index aedf8777af..0c21d22393 100644 --- a/keyboards/keebsforall/freebirdtkl/info.json +++ b/keyboards/keebsforall/freebirdtkl/info.json @@ -2,15 +2,401 @@ "keyboard_name": "FreebirdTKL", "url": "https://keebsforall.com", "maintainer": "KnoblesseOblige", + "layout_aliases": { + "LAYOUT_ansi": "LAYOUT_tkl_f13_ansi", + "LAYOUT_tsangan": "LAYOUT_tkl_f13_ansi_tsangan_split_bs_rshift", + "LAYOUT_all": "LAYOUT_tkl_f13_ansi_split_bs_rshift" + }, "layouts": { - "LAYOUT_ansi": { - "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1.25, "y":0}, {"label":"0,2", "x":2.25, "y":0}, {"label":"0,3", "x":3.25, "y":0}, {"label":"0,4", "x":4.25, "y":0}, {"label":"0,5", "x":5.5, "y":0}, {"label":"0,6", "x":6.5, "y":0}, {"label":"0,7", "x":7.5, "y":0}, {"label":"0,8", "x":8.5, "y":0}, {"label":"0,9", "x":9.75, "y":0}, {"label":"0,10", "x":10.75, "y":0}, {"label":"0,11", "x":11.75, "y":0}, {"label":"0,12", "x":12.75, "y":0}, {"label":"0,13", "x":14, "y":0}, {"label":"0,14", "x":15.25, "y":0}, {"label":"0,15", "x":16.25, "y":0}, {"label":"0,16", "x":17.25, "y":0}, {"label":"1,0", "x":0, "y":1.25}, {"label":"1,1", "x":1, "y":1.25}, {"label":"1,2", "x":2, "y":1.25}, {"label":"1,3", "x":3, "y":1.25}, {"label":"1,4", "x":4, "y":1.25}, {"label":"1,5", "x":5, "y":1.25}, {"label":"1,6", "x":6, "y":1.25}, {"label":"1,7", "x":7, "y":1.25}, {"label":"1,8", "x":8, "y":1.25}, {"label":"1,9", "x":9, "y":1.25}, {"label":"1,10", "x":10, "y":1.25}, {"label":"1,11", "x":11, "y":1.25}, {"label":"1,12", "x":12, "y":1.25}, {"label":"1,13", "x":13, "y":1.25, "w":2}, {"label":"1,14", "x":15.25, "y":1.25}, {"label":"1,15", "x":16.25, "y":1.25}, {"label":"1,16", "x":17.25, "y":1.25}, {"label":"2,0", "x":0, "y":2.25, "w":1.5}, {"label":"2,1", "x":1.5, "y":2.25}, {"label":"2,2", "x":2.5, "y":2.25}, {"label":"2,3", "x":3.5, "y":2.25}, {"label":"2,4", "x":4.5, "y":2.25}, {"label":"2,5", "x":5.5, "y":2.25}, {"label":"2,6", "x":6.5, "y":2.25}, {"label":"2,7", "x":7.5, "y":2.25}, {"label":"2,8", "x":8.5, "y":2.25}, {"label":"2,9", "x":9.5, "y":2.25}, {"label":"2,10", "x":10.5, "y":2.25}, {"label":"2,11", "x":11.5, "y":2.25}, {"label":"2,12", "x":12.5, "y":2.25}, {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, {"label":"2,14", "x":15.25, "y":2.25}, {"label":"2,15", "x":16.25, "y":2.25}, {"label":"2,16", "x":17.25, "y":2.25}, {"label":"3,0", "x":0, "y":3.25, "w":1.75}, {"label":"3,1", "x":1.75, "y":3.25}, {"label":"3,2", "x":2.75, "y":3.25}, {"label":"3,3", "x":3.75, "y":3.25}, {"label":"3,4", "x":4.75, "y":3.25}, {"label":"3,5", "x":5.75, "y":3.25}, {"label":"3,6", "x":6.75, "y":3.25}, {"label":"3,7", "x":7.75, "y":3.25}, {"label":"3,8", "x":8.75, "y":3.25}, {"label":"3,9", "x":9.75, "y":3.25}, {"label":"3,10", "x":10.75, "y":3.25}, {"label":"3,11", "x":11.75, "y":3.25}, {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, {"label":"4,0", "x":0, "y":4.25, "w":2.25}, {"label":"4,1", "x":2.25, "y":4.25}, {"label":"4,2", "x":3.25, "y":4.25}, {"label":"4,3", "x":4.25, "y":4.25}, {"label":"4,4", "x":5.25, "y":4.25}, {"label":"4,5", "x":6.25, "y":4.25}, {"label":"4,6", "x":7.25, "y":4.25}, {"label":"4,7", "x":8.25, "y":4.25}, {"label":"4,8", "x":9.25, "y":4.25}, {"label":"4,9", "x":10.25, "y":4.25}, {"label":"4,10", "x":11.25, "y":4.25}, {"label":"4,11", "x":12.25, "y":4.25, "w":2.75}, {"label":"4,15", "x":16.25, "y":4.25}, {"label":"5,0", "x":0, "y":5.25, "w":1.25}, {"label":"5,2", "x":1.25, "y":5.25, "w":1.25}, {"label":"5,3", "x":2.5, "y":5.25, "w":1.25}, {"label":"5,5", "x":3.75, "y":5.25, "w":6.25}, {"label":"5,8", "x":10, "y":5.25, "w":1.25}, {"label":"5,9", "x":11.25, "y":5.25, "w":1.25}, {"label":"5,10", "x":12.5, "y":5.25, "w":1.25}, {"label":"5,11", "x":13.75, "y":5.25, "w":1.25}, {"label":"5,14", "x":15.25, "y":5.25}, {"label":"5,15", "x":16.25, "y":5.25}, {"label":"5,16", "x":17.25, "y":5.25}] + "LAYOUT_tkl_f13_ansi": { + "layout": [ + {"label":"0,0", "x":0, "y":0}, + {"label":"0,1", "x":1.25, "y":0}, + {"label":"0,2", "x":2.25, "y":0}, + {"label":"0,3", "x":3.25, "y":0}, + {"label":"0,4", "x":4.25, "y":0}, + {"label":"0,5", "x":5.5, "y":0}, + {"label":"0,6", "x":6.5, "y":0}, + {"label":"0,7", "x":7.5, "y":0}, + {"label":"0,8", "x":8.5, "y":0}, + {"label":"0,9", "x":9.75, "y":0}, + {"label":"0,10", "x":10.75, "y":0}, + {"label":"0,11", "x":11.75, "y":0}, + {"label":"0,12", "x":12.75, "y":0}, + {"label":"0,13", "x":14, "y":0}, + {"label":"0,14", "x":15.25, "y":0}, + {"label":"0,15", "x":16.25, "y":0}, + {"label":"0,16", "x":17.25, "y":0}, + + {"label":"1,0", "x":0, "y":1.25}, + {"label":"1,1", "x":1, "y":1.25}, + {"label":"1,2", "x":2, "y":1.25}, + {"label":"1,3", "x":3, "y":1.25}, + {"label":"1,4", "x":4, "y":1.25}, + {"label":"1,5", "x":5, "y":1.25}, + {"label":"1,6", "x":6, "y":1.25}, + {"label":"1,7", "x":7, "y":1.25}, + {"label":"1,8", "x":8, "y":1.25}, + {"label":"1,9", "x":9, "y":1.25}, + {"label":"1,10", "x":10, "y":1.25}, + {"label":"1,11", "x":11, "y":1.25}, + {"label":"1,12", "x":12, "y":1.25}, + {"label":"1,13", "x":13, "y":1.25, "w":2}, + {"label":"1,14", "x":15.25, "y":1.25}, + {"label":"1,15", "x":16.25, "y":1.25}, + {"label":"1,16", "x":17.25, "y":1.25}, + + {"label":"2,0", "x":0, "y":2.25, "w":1.5}, + {"label":"2,1", "x":1.5, "y":2.25}, + {"label":"2,2", "x":2.5, "y":2.25}, + {"label":"2,3", "x":3.5, "y":2.25}, + {"label":"2,4", "x":4.5, "y":2.25}, + {"label":"2,5", "x":5.5, "y":2.25}, + {"label":"2,6", "x":6.5, "y":2.25}, + {"label":"2,7", "x":7.5, "y":2.25}, + {"label":"2,8", "x":8.5, "y":2.25}, + {"label":"2,9", "x":9.5, "y":2.25}, + {"label":"2,10", "x":10.5, "y":2.25}, + {"label":"2,11", "x":11.5, "y":2.25}, + {"label":"2,12", "x":12.5, "y":2.25}, + {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, + {"label":"2,14", "x":15.25, "y":2.25}, + {"label":"2,15", "x":16.25, "y":2.25}, + {"label":"2,16", "x":17.25, "y":2.25}, + + {"label":"3,0", "x":0, "y":3.25, "w":1.75}, + {"label":"3,1", "x":1.75, "y":3.25}, + {"label":"3,2", "x":2.75, "y":3.25}, + {"label":"3,3", "x":3.75, "y":3.25}, + {"label":"3,4", "x":4.75, "y":3.25}, + {"label":"3,5", "x":5.75, "y":3.25}, + {"label":"3,6", "x":6.75, "y":3.25}, + {"label":"3,7", "x":7.75, "y":3.25}, + {"label":"3,8", "x":8.75, "y":3.25}, + {"label":"3,9", "x":9.75, "y":3.25}, + {"label":"3,10", "x":10.75, "y":3.25}, + {"label":"3,11", "x":11.75, "y":3.25}, + {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, + + {"label":"4,0", "x":0, "y":4.25, "w":2.25}, + {"label":"4,1", "x":2.25, "y":4.25}, + {"label":"4,2", "x":3.25, "y":4.25}, + {"label":"4,3", "x":4.25, "y":4.25}, + {"label":"4,4", "x":5.25, "y":4.25}, + {"label":"4,5", "x":6.25, "y":4.25}, + {"label":"4,6", "x":7.25, "y":4.25}, + {"label":"4,7", "x":8.25, "y":4.25}, + {"label":"4,8", "x":9.25, "y":4.25}, + {"label":"4,9", "x":10.25, "y":4.25}, + {"label":"4,10", "x":11.25, "y":4.25}, + {"label":"4,11", "x":12.25, "y":4.25, "w":2.75}, + {"label":"4,15", "x":16.25, "y":4.25}, + + {"label":"5,0", "x":0, "y":5.25, "w":1.25}, + {"label":"5,2", "x":1.25, "y":5.25, "w":1.25}, + {"label":"5,3", "x":2.5, "y":5.25, "w":1.25}, + {"label":"5,5", "x":3.75, "y":5.25, "w":6.25}, + {"label":"5,8", "x":10, "y":5.25, "w":1.25}, + {"label":"5,9", "x":11.25, "y":5.25, "w":1.25}, + {"label":"5,10", "x":12.5, "y":5.25, "w":1.25}, + {"label":"5,11", "x":13.75, "y":5.25, "w":1.25}, + {"label":"5,14", "x":15.25, "y":5.25}, + {"label":"5,15", "x":16.25, "y":5.25}, + {"label":"5,16", "x":17.25, "y":5.25} + ] }, - "LAYOUT_tsangan": { - "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1.25, "y":0}, {"label":"0,2", "x":2.25, "y":0}, {"label":"0,3", "x":3.25, "y":0}, {"label":"0,4", "x":4.25, "y":0}, {"label":"0,5", "x":5.5, "y":0}, {"label":"0,6", "x":6.5, "y":0}, {"label":"0,7", "x":7.5, "y":0}, {"label":"0,8", "x":8.5, "y":0}, {"label":"0,9", "x":9.75, "y":0}, {"label":"0,10", "x":10.75, "y":0}, {"label":"0,11", "x":11.75, "y":0}, {"label":"0,12", "x":12.75, "y":0}, {"label":"0,13", "x":14, "y":0}, {"label":"0,14", "x":15.25, "y":0}, {"label":"0,15", "x":16.25, "y":0}, {"label":"0,16", "x":17.25, "y":0}, {"label":"1,0", "x":0, "y":1.25}, {"label":"1,1", "x":1, "y":1.25}, {"label":"1,2", "x":2, "y":1.25}, {"label":"1,3", "x":3, "y":1.25}, {"label":"1,4", "x":4, "y":1.25}, {"label":"1,5", "x":5, "y":1.25}, {"label":"1,6", "x":6, "y":1.25}, {"label":"1,7", "x":7, "y":1.25}, {"label":"1,8", "x":8, "y":1.25}, {"label":"1,9", "x":9, "y":1.25}, {"label":"1,10", "x":10, "y":1.25}, {"label":"1,11", "x":11, "y":1.25}, {"label":"1,12", "x":12, "y":1.25}, {"label":"1,13", "x":13, "y":1.25}, {"label":"3,13", "x":14, "y":1.25}, {"label":"1,14", "x":15.25, "y":1.25}, {"label":"1,15", "x":16.25, "y":1.25}, {"label":"1,16", "x":17.25, "y":1.25}, {"label":"2,0", "x":0, "y":2.25, "w":1.5}, {"label":"2,1", "x":1.5, "y":2.25}, {"label":"2,2", "x":2.5, "y":2.25}, {"label":"2,3", "x":3.5, "y":2.25}, {"label":"2,4", "x":4.5, "y":2.25}, {"label":"2,5", "x":5.5, "y":2.25}, {"label":"2,6", "x":6.5, "y":2.25}, {"label":"2,7", "x":7.5, "y":2.25}, {"label":"2,8", "x":8.5, "y":2.25}, {"label":"2,9", "x":9.5, "y":2.25}, {"label":"2,10", "x":10.5, "y":2.25}, {"label":"2,11", "x":11.5, "y":2.25}, {"label":"2,12", "x":12.5, "y":2.25}, {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, {"label":"2,14", "x":15.25, "y":2.25}, {"label":"2,15", "x":16.25, "y":2.25}, {"label":"2,16", "x":17.25, "y":2.25}, {"label":"3,0", "x":0, "y":3.25, "w":1.75}, {"label":"3,1", "x":1.75, "y":3.25}, {"label":"3,2", "x":2.75, "y":3.25}, {"label":"3,3", "x":3.75, "y":3.25}, {"label":"3,4", "x":4.75, "y":3.25}, {"label":"3,5", "x":5.75, "y":3.25}, {"label":"3,6", "x":6.75, "y":3.25}, {"label":"3,7", "x":7.75, "y":3.25}, {"label":"3,8", "x":8.75, "y":3.25}, {"label":"3,9", "x":9.75, "y":3.25}, {"label":"3,10", "x":10.75, "y":3.25}, {"label":"3,11", "x":11.75, "y":3.25}, {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, {"label":"4,0", "x":0, "y":4.25, "w":2.25}, {"label":"4,1", "x":2.25, "y":4.25}, {"label":"4,2", "x":3.25, "y":4.25}, {"label":"4,3", "x":4.25, "y":4.25}, {"label":"4,4", "x":5.25, "y":4.25}, {"label":"4,5", "x":6.25, "y":4.25}, {"label":"4,6", "x":7.25, "y":4.25}, {"label":"4,7", "x":8.25, "y":4.25}, {"label":"4,8", "x":9.25, "y":4.25}, {"label":"4,9", "x":10.25, "y":4.25}, {"label":"4,10", "x":11.25, "y":4.25}, {"label":"4,11", "x":12.25, "y":4.25, "w":1.75}, {"label":"4,13", "x":14, "y":4.25}, {"label":"4,15", "x":16.25, "y":4.25}, {"label":"5,0", "x":0, "y":5.25, "w":1.5}, {"label":"5,2", "x":1.5, "y":5.25}, {"label":"5,3", "x":2.5, "y":5.25, "w":1.5}, {"label":"5,5", "x":4, "y":5.25, "w":7}, {"label":"5,9", "x":11, "y":5.25, "w":1.5}, {"label":"5,10", "x":12.5, "y":5.25}, {"label":"5,11", "x":13.5, "y":5.25, "w":1.5}, {"label":"5,14", "x":15.25, "y":5.25}, {"label":"5,15", "x":16.25, "y":5.25}, {"label":"5,16", "x":17.25, "y":5.25}] + "LAYOUT_tkl_f13_ansi_split_bs_rshift": { + "layout": [ + {"label":"0,0", "x":0, "y":0}, + {"label":"0,1", "x":1.25, "y":0}, + {"label":"0,2", "x":2.25, "y":0}, + {"label":"0,3", "x":3.25, "y":0}, + {"label":"0,4", "x":4.25, "y":0}, + {"label":"0,5", "x":5.5, "y":0}, + {"label":"0,6", "x":6.5, "y":0}, + {"label":"0,7", "x":7.5, "y":0}, + {"label":"0,8", "x":8.5, "y":0}, + {"label":"0,9", "x":9.75, "y":0}, + {"label":"0,10", "x":10.75, "y":0}, + {"label":"0,11", "x":11.75, "y":0}, + {"label":"0,12", "x":12.75, "y":0}, + {"label":"0,13", "x":14, "y":0}, + {"label":"0,14", "x":15.25, "y":0}, + {"label":"0,15", "x":16.25, "y":0}, + {"label":"0,16", "x":17.25, "y":0}, + + {"label":"1,0", "x":0, "y":1.25}, + {"label":"1,1", "x":1, "y":1.25}, + {"label":"1,2", "x":2, "y":1.25}, + {"label":"1,3", "x":3, "y":1.25}, + {"label":"1,4", "x":4, "y":1.25}, + {"label":"1,5", "x":5, "y":1.25}, + {"label":"1,6", "x":6, "y":1.25}, + {"label":"1,7", "x":7, "y":1.25}, + {"label":"1,8", "x":8, "y":1.25}, + {"label":"1,9", "x":9, "y":1.25}, + {"label":"1,10", "x":10, "y":1.25}, + {"label":"1,11", "x":11, "y":1.25}, + {"label":"1,12", "x":12, "y":1.25}, + {"label":"1,13", "x":13, "y":1.25}, + {"label":"3,13", "x":14, "y":1.25}, + {"label":"1,14", "x":15.25, "y":1.25}, + {"label":"1,15", "x":16.25, "y":1.25}, + {"label":"1,16", "x":17.25, "y":1.25}, + + {"label":"2,0", "x":0, "y":2.25, "w":1.5}, + {"label":"2,1", "x":1.5, "y":2.25}, + {"label":"2,2", "x":2.5, "y":2.25}, + {"label":"2,3", "x":3.5, "y":2.25}, + {"label":"2,4", "x":4.5, "y":2.25}, + {"label":"2,5", "x":5.5, "y":2.25}, + {"label":"2,6", "x":6.5, "y":2.25}, + {"label":"2,7", "x":7.5, "y":2.25}, + {"label":"2,8", "x":8.5, "y":2.25}, + {"label":"2,9", "x":9.5, "y":2.25}, + {"label":"2,10", "x":10.5, "y":2.25}, + {"label":"2,11", "x":11.5, "y":2.25}, + {"label":"2,12", "x":12.5, "y":2.25}, + {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, + {"label":"2,14", "x":15.25, "y":2.25}, + {"label":"2,15", "x":16.25, "y":2.25}, + {"label":"2,16", "x":17.25, "y":2.25}, + + {"label":"3,0", "x":0, "y":3.25, "w":1.75}, + {"label":"3,1", "x":1.75, "y":3.25}, + {"label":"3,2", "x":2.75, "y":3.25}, + {"label":"3,3", "x":3.75, "y":3.25}, + {"label":"3,4", "x":4.75, "y":3.25}, + {"label":"3,5", "x":5.75, "y":3.25}, + {"label":"3,6", "x":6.75, "y":3.25}, + {"label":"3,7", "x":7.75, "y":3.25}, + {"label":"3,8", "x":8.75, "y":3.25}, + {"label":"3,9", "x":9.75, "y":3.25}, + {"label":"3,10", "x":10.75, "y":3.25}, + {"label":"3,11", "x":11.75, "y":3.25}, + {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, + + {"label":"4,0", "x":0, "y":4.25, "w":2.25}, + {"label":"4,1", "x":2.25, "y":4.25}, + {"label":"4,2", "x":3.25, "y":4.25}, + {"label":"4,3", "x":4.25, "y":4.25}, + {"label":"4,4", "x":5.25, "y":4.25}, + {"label":"4,5", "x":6.25, "y":4.25}, + {"label":"4,6", "x":7.25, "y":4.25}, + {"label":"4,7", "x":8.25, "y":4.25}, + {"label":"4,8", "x":9.25, "y":4.25}, + {"label":"4,9", "x":10.25, "y":4.25}, + {"label":"4,10", "x":11.25, "y":4.25}, + {"label":"4,11", "x":12.25, "y":4.25, "w":1.75}, + {"label":"4,13", "x":14, "y":4.25}, + {"label":"4,15", "x":16.25, "y":4.25}, + + {"label":"5,0", "x":0, "y":5.25, "w":1.25}, + {"label":"5,2", "x":1.25, "y":5.25, "w":1.25}, + {"label":"5,3", "x":2.5, "y":5.25, "w":1.25}, + {"label":"5,5", "x":3.75, "y":5.25, "w":6.25}, + {"label":"5,8", "x":10, "y":5.25, "w":1.25}, + {"label":"5,9", "x":11.25, "y":5.25, "w":1.25}, + {"label":"5,10", "x":12.5, "y":5.25, "w":1.25}, + {"label":"5,11", "x":13.75, "y":5.25, "w":1.25}, + {"label":"5,14", "x":15.25, "y":5.25}, + {"label":"5,15", "x":16.25, "y":5.25}, + {"label":"5,16", "x":17.25, "y":5.25} + ] }, - "LAYOUT_all": { - "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1.25, "y":0}, {"label":"0,2", "x":2.25, "y":0}, {"label":"0,3", "x":3.25, "y":0}, {"label":"0,4", "x":4.25, "y":0}, {"label":"0,5", "x":5.5, "y":0}, {"label":"0,6", "x":6.5, "y":0}, {"label":"0,7", "x":7.5, "y":0}, {"label":"0,8", "x":8.5, "y":0}, {"label":"0,9", "x":9.75, "y":0}, {"label":"0,10", "x":10.75, "y":0}, {"label":"0,11", "x":11.75, "y":0}, {"label":"0,12", "x":12.75, "y":0}, {"label":"0,13", "x":14, "y":0}, {"label":"0,14", "x":15.25, "y":0}, {"label":"0,15", "x":16.25, "y":0}, {"label":"0,16", "x":17.25, "y":0}, {"label":"1,0", "x":0, "y":1.25}, {"label":"1,1", "x":1, "y":1.25}, {"label":"1,2", "x":2, "y":1.25}, {"label":"1,3", "x":3, "y":1.25}, {"label":"1,4", "x":4, "y":1.25}, {"label":"1,5", "x":5, "y":1.25}, {"label":"1,6", "x":6, "y":1.25}, {"label":"1,7", "x":7, "y":1.25}, {"label":"1,8", "x":8, "y":1.25}, {"label":"1,9", "x":9, "y":1.25}, {"label":"1,10", "x":10, "y":1.25}, {"label":"1,11", "x":11, "y":1.25}, {"label":"1,12", "x":12, "y":1.25}, {"label":"1,13", "x":13, "y":1.25}, {"label":"3,13", "x":14, "y":1.25}, {"label":"1,14", "x":15.25, "y":1.25}, {"label":"1,15", "x":16.25, "y":1.25}, {"label":"1,16", "x":17.25, "y":1.25}, {"label":"2,0", "x":0, "y":2.25, "w":1.5}, {"label":"2,1", "x":1.5, "y":2.25}, {"label":"2,2", "x":2.5, "y":2.25}, {"label":"2,3", "x":3.5, "y":2.25}, {"label":"2,4", "x":4.5, "y":2.25}, {"label":"2,5", "x":5.5, "y":2.25}, {"label":"2,6", "x":6.5, "y":2.25}, {"label":"2,7", "x":7.5, "y":2.25}, {"label":"2,8", "x":8.5, "y":2.25}, {"label":"2,9", "x":9.5, "y":2.25}, {"label":"2,10", "x":10.5, "y":2.25}, {"label":"2,11", "x":11.5, "y":2.25}, {"label":"2,12", "x":12.5, "y":2.25}, {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, {"label":"2,14", "x":15.25, "y":2.25}, {"label":"2,15", "x":16.25, "y":2.25}, {"label":"2,16", "x":17.25, "y":2.25}, {"label":"3,0", "x":0, "y":3.25, "w":1.75}, {"label":"3,1", "x":1.75, "y":3.25}, {"label":"3,2", "x":2.75, "y":3.25}, {"label":"3,3", "x":3.75, "y":3.25}, {"label":"3,4", "x":4.75, "y":3.25}, {"label":"3,5", "x":5.75, "y":3.25}, {"label":"3,6", "x":6.75, "y":3.25}, {"label":"3,7", "x":7.75, "y":3.25}, {"label":"3,8", "x":8.75, "y":3.25}, {"label":"3,9", "x":9.75, "y":3.25}, {"label":"3,10", "x":10.75, "y":3.25}, {"label":"3,11", "x":11.75, "y":3.25}, {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, {"label":"4,0", "x":0, "y":4.25, "w":2.25}, {"label":"4,1", "x":2.25, "y":4.25}, {"label":"4,2", "x":3.25, "y":4.25}, {"label":"4,3", "x":4.25, "y":4.25}, {"label":"4,4", "x":5.25, "y":4.25}, {"label":"4,5", "x":6.25, "y":4.25}, {"label":"4,6", "x":7.25, "y":4.25}, {"label":"4,7", "x":8.25, "y":4.25}, {"label":"4,8", "x":9.25, "y":4.25}, {"label":"4,9", "x":10.25, "y":4.25}, {"label":"4,10", "x":11.25, "y":4.25}, {"label":"4,11", "x":12.25, "y":4.25, "w":1.75}, {"label":"4,13", "x":14, "y":4.25}, {"label":"4,15", "x":16.25, "y":4.25}, {"label":"5,0", "x":0, "y":5.25, "w":1.25}, {"label":"5,2", "x":1.25, "y":5.25, "w":1.25}, {"label":"5,3", "x":2.5, "y":5.25, "w":1.25}, {"label":"5,5", "x":3.75, "y":5.25, "w":6.25}, {"label":"5,8", "x":10, "y":5.25, "w":1.25}, {"label":"5,9", "x":11.25, "y":5.25, "w":1.25}, {"label":"5,10", "x":12.5, "y":5.25, "w":1.25}, {"label":"5,11", "x":13.75, "y":5.25, "w":1.25}, {"label":"5,14", "x":15.25, "y":5.25}, {"label":"5,15", "x":16.25, "y":5.25}, {"label":"5,16", "x":17.25, "y":5.25}] + "LAYOUT_tkl_f13_ansi_tsangan": { + "layout": [ + {"label":"0,0", "x":0, "y":0}, + {"label":"0,1", "x":1.25, "y":0}, + {"label":"0,2", "x":2.25, "y":0}, + {"label":"0,3", "x":3.25, "y":0}, + {"label":"0,4", "x":4.25, "y":0}, + {"label":"0,5", "x":5.5, "y":0}, + {"label":"0,6", "x":6.5, "y":0}, + {"label":"0,7", "x":7.5, "y":0}, + {"label":"0,8", "x":8.5, "y":0}, + {"label":"0,9", "x":9.75, "y":0}, + {"label":"0,10", "x":10.75, "y":0}, + {"label":"0,11", "x":11.75, "y":0}, + {"label":"0,12", "x":12.75, "y":0}, + {"label":"0,13", "x":14, "y":0}, + {"label":"0,14", "x":15.25, "y":0}, + {"label":"0,15", "x":16.25, "y":0}, + {"label":"0,16", "x":17.25, "y":0}, + + {"label":"1,0", "x":0, "y":1.25}, + {"label":"1,1", "x":1, "y":1.25}, + {"label":"1,2", "x":2, "y":1.25}, + {"label":"1,3", "x":3, "y":1.25}, + {"label":"1,4", "x":4, "y":1.25}, + {"label":"1,5", "x":5, "y":1.25}, + {"label":"1,6", "x":6, "y":1.25}, + {"label":"1,7", "x":7, "y":1.25}, + {"label":"1,8", "x":8, "y":1.25}, + {"label":"1,9", "x":9, "y":1.25}, + {"label":"1,10", "x":10, "y":1.25}, + {"label":"1,11", "x":11, "y":1.25}, + {"label":"1,12", "x":12, "y":1.25}, + {"label":"1,13", "x":13, "y":1.25, "w":2}, + {"label":"1,14", "x":15.25, "y":1.25}, + {"label":"1,15", "x":16.25, "y":1.25}, + {"label":"1,16", "x":17.25, "y":1.25}, + + {"label":"2,0", "x":0, "y":2.25, "w":1.5}, + {"label":"2,1", "x":1.5, "y":2.25}, + {"label":"2,2", "x":2.5, "y":2.25}, + {"label":"2,3", "x":3.5, "y":2.25}, + {"label":"2,4", "x":4.5, "y":2.25}, + {"label":"2,5", "x":5.5, "y":2.25}, + {"label":"2,6", "x":6.5, "y":2.25}, + {"label":"2,7", "x":7.5, "y":2.25}, + {"label":"2,8", "x":8.5, "y":2.25}, + {"label":"2,9", "x":9.5, "y":2.25}, + {"label":"2,10", "x":10.5, "y":2.25}, + {"label":"2,11", "x":11.5, "y":2.25}, + {"label":"2,12", "x":12.5, "y":2.25}, + {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, + {"label":"2,14", "x":15.25, "y":2.25}, + {"label":"2,15", "x":16.25, "y":2.25}, + {"label":"2,16", "x":17.25, "y":2.25}, + + {"label":"3,0", "x":0, "y":3.25, "w":1.75}, + {"label":"3,1", "x":1.75, "y":3.25}, + {"label":"3,2", "x":2.75, "y":3.25}, + {"label":"3,3", "x":3.75, "y":3.25}, + {"label":"3,4", "x":4.75, "y":3.25}, + {"label":"3,5", "x":5.75, "y":3.25}, + {"label":"3,6", "x":6.75, "y":3.25}, + {"label":"3,7", "x":7.75, "y":3.25}, + {"label":"3,8", "x":8.75, "y":3.25}, + {"label":"3,9", "x":9.75, "y":3.25}, + {"label":"3,10", "x":10.75, "y":3.25}, + {"label":"3,11", "x":11.75, "y":3.25}, + {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, + + {"label":"4,0", "x":0, "y":4.25, "w":2.25}, + {"label":"4,1", "x":2.25, "y":4.25}, + {"label":"4,2", "x":3.25, "y":4.25}, + {"label":"4,3", "x":4.25, "y":4.25}, + {"label":"4,4", "x":5.25, "y":4.25}, + {"label":"4,5", "x":6.25, "y":4.25}, + {"label":"4,6", "x":7.25, "y":4.25}, + {"label":"4,7", "x":8.25, "y":4.25}, + {"label":"4,8", "x":9.25, "y":4.25}, + {"label":"4,9", "x":10.25, "y":4.25}, + {"label":"4,10", "x":11.25, "y":4.25}, + {"label":"4,11", "x":12.25, "y":4.25, "w":2.75}, + {"label":"4,15", "x":16.25, "y":4.25}, + + {"label":"5,0", "x":0, "y":5.25, "w":1.5}, + {"label":"5,2", "x":1.5, "y":5.25}, + {"label":"5,3", "x":2.5, "y":5.25, "w":1.5}, + {"label":"5,5", "x":4, "y":5.25, "w":7}, + {"label":"5,9", "x":11, "y":5.25, "w":1.5}, + {"label":"5,10", "x":12.5, "y":5.25}, + {"label":"5,11", "x":13.5, "y":5.25, "w":1.5}, + {"label":"5,14", "x":15.25, "y":5.25}, + {"label":"5,15", "x":16.25, "y":5.25}, + {"label":"5,16", "x":17.25, "y":5.25} + ] + }, + "LAYOUT_tkl_f13_ansi_tsangan_split_bs_rshift": { + "layout": [ + {"label":"0,0", "x":0, "y":0}, + {"label":"0,1", "x":1.25, "y":0}, + {"label":"0,2", "x":2.25, "y":0}, + {"label":"0,3", "x":3.25, "y":0}, + {"label":"0,4", "x":4.25, "y":0}, + {"label":"0,5", "x":5.5, "y":0}, + {"label":"0,6", "x":6.5, "y":0}, + {"label":"0,7", "x":7.5, "y":0}, + {"label":"0,8", "x":8.5, "y":0}, + {"label":"0,9", "x":9.75, "y":0}, + {"label":"0,10", "x":10.75, "y":0}, + {"label":"0,11", "x":11.75, "y":0}, + {"label":"0,12", "x":12.75, "y":0}, + {"label":"0,13", "x":14, "y":0}, + {"label":"0,14", "x":15.25, "y":0}, + {"label":"0,15", "x":16.25, "y":0}, + {"label":"0,16", "x":17.25, "y":0}, + + {"label":"1,0", "x":0, "y":1.25}, + {"label":"1,1", "x":1, "y":1.25}, + {"label":"1,2", "x":2, "y":1.25}, + {"label":"1,3", "x":3, "y":1.25}, + {"label":"1,4", "x":4, "y":1.25}, + {"label":"1,5", "x":5, "y":1.25}, + {"label":"1,6", "x":6, "y":1.25}, + {"label":"1,7", "x":7, "y":1.25}, + {"label":"1,8", "x":8, "y":1.25}, + {"label":"1,9", "x":9, "y":1.25}, + {"label":"1,10", "x":10, "y":1.25}, + {"label":"1,11", "x":11, "y":1.25}, + {"label":"1,12", "x":12, "y":1.25}, + {"label":"1,13", "x":13, "y":1.25}, + {"label":"3,13", "x":14, "y":1.25}, + {"label":"1,14", "x":15.25, "y":1.25}, + {"label":"1,15", "x":16.25, "y":1.25}, + {"label":"1,16", "x":17.25, "y":1.25}, + + {"label":"2,0", "x":0, "y":2.25, "w":1.5}, + {"label":"2,1", "x":1.5, "y":2.25}, + {"label":"2,2", "x":2.5, "y":2.25}, + {"label":"2,3", "x":3.5, "y":2.25}, + {"label":"2,4", "x":4.5, "y":2.25}, + {"label":"2,5", "x":5.5, "y":2.25}, + {"label":"2,6", "x":6.5, "y":2.25}, + {"label":"2,7", "x":7.5, "y":2.25}, + {"label":"2,8", "x":8.5, "y":2.25}, + {"label":"2,9", "x":9.5, "y":2.25}, + {"label":"2,10", "x":10.5, "y":2.25}, + {"label":"2,11", "x":11.5, "y":2.25}, + {"label":"2,12", "x":12.5, "y":2.25}, + {"label":"2,13", "x":13.5, "y":2.25, "w":1.5}, + {"label":"2,14", "x":15.25, "y":2.25}, + {"label":"2,15", "x":16.25, "y":2.25}, + {"label":"2,16", "x":17.25, "y":2.25}, + + {"label":"3,0", "x":0, "y":3.25, "w":1.75}, + {"label":"3,1", "x":1.75, "y":3.25}, + {"label":"3,2", "x":2.75, "y":3.25}, + {"label":"3,3", "x":3.75, "y":3.25}, + {"label":"3,4", "x":4.75, "y":3.25}, + {"label":"3,5", "x":5.75, "y":3.25}, + {"label":"3,6", "x":6.75, "y":3.25}, + {"label":"3,7", "x":7.75, "y":3.25}, + {"label":"3,8", "x":8.75, "y":3.25}, + {"label":"3,9", "x":9.75, "y":3.25}, + {"label":"3,10", "x":10.75, "y":3.25}, + {"label":"3,11", "x":11.75, "y":3.25}, + {"label":"3,12", "x":12.75, "y":3.25, "w":2.25}, + + {"label":"4,0", "x":0, "y":4.25, "w":2.25}, + {"label":"4,1", "x":2.25, "y":4.25}, + {"label":"4,2", "x":3.25, "y":4.25}, + {"label":"4,3", "x":4.25, "y":4.25}, + {"label":"4,4", "x":5.25, "y":4.25}, + {"label":"4,5", "x":6.25, "y":4.25}, + {"label":"4,6", "x":7.25, "y":4.25}, + {"label":"4,7", "x":8.25, "y":4.25}, + {"label":"4,8", "x":9.25, "y":4.25}, + {"label":"4,9", "x":10.25, "y":4.25}, + {"label":"4,10", "x":11.25, "y":4.25}, + {"label":"4,11", "x":12.25, "y":4.25, "w":1.75}, + {"label":"4,13", "x":14, "y":4.25}, + {"label":"4,15", "x":16.25, "y":4.25}, + + {"label":"5,0", "x":0, "y":5.25, "w":1.5}, + {"label":"5,2", "x":1.5, "y":5.25}, + {"label":"5,3", "x":2.5, "y":5.25, "w":1.5}, + {"label":"5,5", "x":4, "y":5.25, "w":7}, + {"label":"5,9", "x":11, "y":5.25, "w":1.5}, + {"label":"5,10", "x":12.5, "y":5.25}, + {"label":"5,11", "x":13.5, "y":5.25, "w":1.5}, + {"label":"5,14", "x":15.25, "y":5.25}, + {"label":"5,15", "x":16.25, "y":5.25}, + {"label":"5,16", "x":17.25, "y":5.25} + ] } } } diff --git a/keyboards/keebsforall/freebirdtkl/keymaps/default/keymap.c b/keyboards/keebsforall/freebirdtkl/keymaps/default/keymap.c index dbeb08e123..16c3b4cdc9 100644 --- a/keyboards/keebsforall/freebirdtkl/keymaps/default/keymap.c +++ b/keyboards/keebsforall/freebirdtkl/keymaps/default/keymap.c @@ -17,12 +17,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Base */ - [0] = LAYOUT_ansi( - 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, - 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_INS, KC_HOME, KC_PGUP, - 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_DEL, KC_END, KC_PGDN, - 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_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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_MENU, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_tkl_f13_ansi( + 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, + 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_INS, KC_HOME, KC_PGUP, + 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_DEL, KC_END, KC_PGDN, + 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_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_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_MENU, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ) }; diff --git a/keyboards/keebsforall/freebirdtkl/keymaps/via/keymap.c b/keyboards/keebsforall/freebirdtkl/keymaps/via/keymap.c index 6cae507d56..e96540e3ef 100644 --- a/keyboards/keebsforall/freebirdtkl/keymaps/via/keymap.c +++ b/keyboards/keebsforall/freebirdtkl/keymaps/via/keymap.c @@ -17,36 +17,36 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Base */ - [0] = LAYOUT_all( - 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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_DEL, KC_END, KC_PGDN, - 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_MENU, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_tkl_f13_ansi_split_bs_rshift( + 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, + 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_BSPC, KC_INS, KC_HOME, KC_PGUP, + 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_DEL, KC_END, KC_PGDN, + 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_MENU, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ), - [1] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + [1] = LAYOUT_tkl_f13_ansi_split_bs_rshift( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), - [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + [2] = LAYOUT_tkl_f13_ansi_split_bs_rshift( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + [3] = LAYOUT_tkl_f13_ansi_split_bs_rshift( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) }; diff --git a/keyboards/keebsforall/freebirdtkl/keymaps/wkl/keymap.c b/keyboards/keebsforall/freebirdtkl/keymaps/wkl/keymap.c index 884c8c47b8..90f343f8d7 100644 --- a/keyboards/keebsforall/freebirdtkl/keymaps/wkl/keymap.c +++ b/keyboards/keebsforall/freebirdtkl/keymaps/wkl/keymap.c @@ -17,12 +17,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Base */ - [0] = LAYOUT_tsangan( - 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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_DEL, KC_END, KC_PGDN, - 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + [0] = LAYOUT_tkl_f13_ansi_tsangan_split_bs_rshift( + 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_F13, KC_PSCR, KC_SLCK, KC_PAUS, + 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_BSPC, KC_INS, KC_HOME, KC_PGUP, + 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_DEL, KC_END, KC_PGDN, + 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ) }; diff --git a/keyboards/keebsforall/freebirdtkl/rules.mk b/keyboards/keebsforall/freebirdtkl/rules.mk index 9906266f48..1275531ef6 100644 --- a/keyboards/keebsforall/freebirdtkl/rules.mk +++ b/keyboards/keebsforall/freebirdtkl/rules.mk @@ -12,10 +12,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = no # USB Nkey Rollover +NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output |