diff options
-rw-r--r-- | keyboards/leeku/finger65/config.h | 45 | ||||
-rw-r--r-- | keyboards/leeku/finger65/finger65.h | 61 | ||||
-rw-r--r-- | keyboards/leeku/finger65/info.json | 1095 | ||||
-rw-r--r-- | keyboards/leeku/finger65/keymaps/default/keymap.c | 36 | ||||
-rw-r--r-- | keyboards/leeku/finger65/keymaps/madhatter/keymap.c | 54 | ||||
-rw-r--r-- | keyboards/leeku/finger65/keymaps/madhatter/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/leeku/finger65/readme.md | 16 | ||||
-rw-r--r-- | keyboards/leeku/finger65/rules.mk | 25 | ||||
-rw-r--r-- | keyboards/leeku/finger65/usbconfig.h | 364 |
9 files changed, 1697 insertions, 0 deletions
diff --git a/keyboards/leeku/finger65/config.h b/keyboards/leeku/finger65/config.h new file mode 100644 index 0000000000..3e6eebb324 --- /dev/null +++ b/keyboards/leeku/finger65/config.h @@ -0,0 +1,45 @@ +/* +Copyright 2018 Rasmus Schults <rasmusx@gmail.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 + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x6050 +#define DEVICE_VER 0x0100 +#define MANUFACTURER LeeKu +#define PRODUCT L3 +#define DESCRIPTION QMK keyboard firmware for L3 + +#define RGBLED_NUM 12 + +/* key matrix size */ +#define MATRIX_ROWS 5 +#define MATRIX_COLS 16 + +#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B3, B4, B5, B6, B7 } +#define MATRIX_ROW_PINS { C3, C4, C5, C6, C7 } +#define UNUSED_PINS + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* number of backlight levels */ +#define BACKLIGHT_LEVELS 1 + diff --git a/keyboards/leeku/finger65/finger65.h b/keyboards/leeku/finger65/finger65.h new file mode 100644 index 0000000000..3d2ef2db45 --- /dev/null +++ b/keyboards/leeku/finger65/finger65.h @@ -0,0 +1,61 @@ +/* Copyright 2018 Rasmus Schults <rasmusx@gmail.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 + +#include "quantum.h" + +#define LAYOUT_all( \ + K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P, \ + K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, K3P, \ + K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, K2N, K2P, \ + K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, K1O, K1P, \ + K0A, K0B, K0C, K0D, K0G, K0I, K0J, K0M, K0N, K0O, K0P \ +) { \ + { K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P }, \ + { K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, KC_NO, K3P }, \ + { K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, K2N, KC_NO, K2P }, \ + { K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, KC_NO, K1O, K1P }, \ + { K0A, K0B, K0C, K0D, KC_NO, KC_NO, K0G, KC_NO, K0I, K0J, KC_NO, KC_NO, K0M, K0N, K0O, K0P } \ +} + +#define LAYOUT_65_ansi( \ + K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4O, K4P, \ + K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, K3P, \ + K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2N, K2P, \ + K1A, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, K1O, K1P, \ + K0A, K0B, K0C, K0G, K0J, K0M, K0N, K0O, K0P \ +) { \ + { K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, KC_NO, K4O, K4P }, \ + { K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, KC_NO, K3P }, \ + { K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, KC_NO, K2N, KC_NO, K2P }, \ + { K1A, KC_NO, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, KC_NO, K1O, K1P }, \ + { K0A, K0B, K0C, KC_NO, KC_NO, KC_NO, K0G, KC_NO, KC_NO, K0J, KC_NO, KC_NO, K0M, K0N, K0O, K0P } \ +} + +#define LAYOUT_65_ansi_split_bs( \ + K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P, \ + K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, K3P, \ + K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2N, K2P, \ + K1A, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, K1O, K1P, \ + K0A, K0B, K0C, K0G, K0J, K0M, K0N, K0O, K0P \ +) { \ + { K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P }, \ + { K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, KC_NO, K3P }, \ + { K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, KC_NO, K2N, KC_NO, K2P }, \ + { K1A, KC_NO, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, KC_NO, K1O, K1P }, \ + { K0A, K0B, K0C, KC_NO, KC_NO, KC_NO, K0G, KC_NO, KC_NO, K0J, KC_NO, KC_NO, K0M, K0N, K0O, K0P } \ +} diff --git a/keyboards/leeku/finger65/info.json b/keyboards/leeku/finger65/info.json new file mode 100644 index 0000000000..f78d7098b0 --- /dev/null +++ b/keyboards/leeku/finger65/info.json @@ -0,0 +1,1095 @@ +{ + "keyboard_name": "Leeku Finger65", + "url": "", + "maintainer": "sidcarter", + "width": 16, + "height": 5, + "layouts": { + "LAYOUT_all": { + "layout": [ + { + "label": "K4A", + "x": 0, + "y": 0 + }, + { + "label": "K4B", + "x": 1, + "y": 0 + }, + { + "label": "K4C", + "x": 2, + "y": 0 + }, + { + "label": "K4D", + "x": 3, + "y": 0 + }, + { + "label": "K4E", + "x": 4, + "y": 0 + }, + { + "label": "K4F", + "x": 5, + "y": 0 + }, + { + "label": "K4G", + "x": 6, + "y": 0 + }, + { + "label": "K4H", + "x": 7, + "y": 0 + }, + { + "label": "K4I", + "x": 8, + "y": 0 + }, + { + "label": "K4J", + "x": 9, + "y": 0 + }, + { + "label": "K4K", + "x": 10, + "y": 0 + }, + { + "label": "K4L", + "x": 11, + "y": 0 + }, + { + "label": "K4M", + "x": 12, + "y": 0 + }, + { + "label": "K4N", + "x": 13, + "y": 0 + }, + { + "label": "K4O", + "x": 14, + "y": 0 + }, + { + "label": "K4P", + "x": 15, + "y": 0 + }, + { + "label": "K3A", + "x": 0, + "y": 1, + "w": 1.5 + }, + { + "label": "K3B", + "x": 1.5, + "y": 1 + }, + { + "label": "K3C", + "x": 2.5, + "y": 1 + }, + { + "label": "K3D", + "x": 3.5, + "y": 1 + }, + { + "label": "K3E", + "x": 4.5, + "y": 1 + }, + { + "label": "K3F", + "x": 5.5, + "y": 1 + }, + { + "label": "K3G", + "x": 6.5, + "y": 1 + }, + { + "label": "K3H", + "x": 7.5, + "y": 1 + }, + { + "label": "K3I", + "x": 8.5, + "y": 1 + }, + { + "label": "K3J", + "x": 9.5, + "y": 1 + }, + { + "label": "K3K", + "x": 10.5, + "y": 1 + }, + { + "label": "K3L", + "x": 11.5, + "y": 1 + }, + { + "label": "K3M", + "x": 12.5, + "y": 1 + }, + { + "label": "K3N", + "x": 13.5, + "y": 1, + "w": 1.5 + }, + { + "label": "K3P", + "x": 15, + "y": 1 + }, + { + "label": "K2A", + "x": 0, + "y": 2, + "w": 1.75 + }, + { + "label": "K2B", + "x": 1.75, + "y": 2 + }, + { + "label": "K2C", + "x": 2.75, + "y": 2 + }, + { + "label": "K2D", + "x": 3.75, + "y": 2 + }, + { + "label": "K2E", + "x": 4.75, + "y": 2 + }, + { + "label": "K2F", + "x": 5.75, + "y": 2 + }, + { + "label": "K2G", + "x": 6.75, + "y": 2 + }, + { + "label": "K2H", + "x": 7.75, + "y": 2 + }, + { + "label": "K2I", + "x": 8.75, + "y": 2 + }, + { + "label": "K2J", + "x": 9.75, + "y": 2 + }, + { + "label": "K2K", + "x": 10.75, + "y": 2 + }, + { + "label": "K2L", + "x": 11.75, + "y": 2 + }, + { + "label": "K2M", + "x": 12.75, + "y": 2 + }, + { + "label": "K2N", + "x": 13.75, + "y": 2, + "w": 1.25 + }, + { + "label": "K2P", + "x": 15, + "y": 2 + }, + { + "label": "K1A", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "K1B", + "x": 1.25, + "y": 3 + }, + { + "label": "K1C", + "x": 2.25, + "y": 3 + }, + { + "label": "K1D", + "x": 3.25, + "y": 3 + }, + { + "label": "K1E", + "x": 4.25, + "y": 3 + }, + { + "label": "K1F", + "x": 5.25, + "y": 3 + }, + { + "label": "K1G", + "x": 6.25, + "y": 3 + }, + { + "label": "K1H", + "x": 7.25, + "y": 3 + }, + { + "label": "K1I", + "x": 8.25, + "y": 3 + }, + { + "label": "K1J", + "x": 9.25, + "y": 3 + }, + { + "label": "K1K", + "x": 10.25, + "y": 3 + }, + { + "label": "K1L", + "x": 11.25, + "y": 3 + }, + { + "label": "K1M", + "x": 12.25, + "y": 3, + "w": 1.75 + }, + { + "label": "K1O", + "x": 14, + "y": 3 + }, + { + "label": "K1P", + "x": 15, + "y": 3 + }, + { + "label": "K0A", + "x": 0, + "y": 4, + "w": 1.25 + }, + { + "label": "K0B", + "x": 1.25, + "y": 4, + "w": 1.25 + }, + { + "label": "K0C", + "x": 2.5, + "y": 4, + "w": 1.25 + }, + { + "label": "K0D", + "x": 3.75, + "y": 4, + "w": 2.25 + }, + { + "label": "K0G", + "x": 6, + "y": 4, + "w": 1.25 + }, + { + "label": "K0I", + "x": 7.25, + "y": 4, + "w": 2.75 + }, + { + "label": "K0J", + "x": 10, + "y": 4, + "w": 1.5 + }, + { + "label": "K0M", + "x": 11.5, + "y": 4, + "w": 1.5 + }, + { + "label": "K0N", + "x": 13, + "y": 4 + }, + { + "label": "K0O", + "x": 14, + "y": 4 + }, + { + "label": "K0P", + "x": 15, + "y": 4 + } + ] + }, + "LAYOUT_65_ansi": { + "layout": [ + { + "label": "K4A", + "x": 0, + "y": 0 + }, + { + "label": "K4B", + "x": 1, + "y": 0 + }, + { + "label": "K4C", + "x": 2, + "y": 0 + }, + { + "label": "K4D", + "x": 3, + "y": 0 + }, + { + "label": "K4E", + "x": 4, + "y": 0 + }, + { + "label": "K4F", + "x": 5, + "y": 0 + }, + { + "label": "K4G", + "x": 6, + "y": 0 + }, + { + "label": "K4H", + "x": 7, + "y": 0 + }, + { + "label": "K4I", + "x": 8, + "y": 0 + }, + { + "label": "K4J", + "x": 9, + "y": 0 + }, + { + "label": "K4K", + "x": 10, + "y": 0 + }, + { + "label": "K4L", + "x": 11, + "y": 0 + }, + { + "label": "K4M", + "x": 12, + "y": 0 + }, + { + "label": "K4O", + "x": 13, + "y": 0, + "w": 2 + }, + { + "label": "K4P", + "x": 15, + "y": 0 + }, + { + "label": "K3A", + "x": 0, + "y": 1, + "w": 1.5 + }, + { + "label": "K3B", + "x": 1.5, + "y": 1 + }, + { + "label": "K3C", + "x": 2.5, + "y": 1 + }, + { + "label": "K3D", + "x": 3.5, + "y": 1 + }, + { + "label": "K3E", + "x": 4.5, + "y": 1 + }, + { + "label": "K3F", + "x": 5.5, + "y": 1 + }, + { + "label": "K3G", + "x": 6.5, + "y": 1 + }, + { + "label": "K3H", + "x": 7.5, + "y": 1 + }, + { + "label": "K3I", + "x": 8.5, + "y": 1 + }, + { + "label": "K3J", + "x": 9.5, + "y": 1 + }, + { + "label": "K3K", + "x": 10.5, + "y": 1 + }, + { + "label": "K3L", + "x": 11.5, + "y": 1 + }, + { + "label": "K3M", + "x": 12.5, + "y": 1 + }, + { + "label": "K4N", + "x": 13.5, + "y": 1, + "w": 1.5 + }, + { + "label": "K3P", + "x": 15, + "y": 1 + }, + { + "label": "K2A", + "x": 0, + "y": 2, + "w": 1.75 + }, + { + "label": "K2B", + "x": 1.75, + "y": 2 + }, + { + "label": "K2C", + "x": 2.75, + "y": 2 + }, + { + "label": "K2D", + "x": 3.75, + "y": 2 + }, + { + "label": "K2E", + "x": 4.75, + "y": 2 + }, + { + "label": "K2F", + "x": 5.75, + "y": 2 + }, + { + "label": "K2G", + "x": 6.75, + "y": 2 + }, + { + "label": "K2H", + "x": 7.75, + "y": 2 + }, + { + "label": "K2I", + "x": 8.75, + "y": 2 + }, + { + "label": "K2J", + "x": 9.75, + "y": 2 + }, + { + "label": "K2K", + "x": 10.75, + "y": 2 + }, + { + "label": "K2L", + "x": 11.75, + "y": 2 + }, + { + "label": "K2N", + "x": 12.75, + "y": 2, + "w": 2.25 + }, + { + "label": "K2P", + "x": 15, + "y": 2 + }, + { + "label": "K1A", + "x": 0, + "y": 3, + "w": 2.25 + }, + { + "label": "K1B", + "x": 2.25, + "y": 3 + }, + { + "label": "K1C", + "x": 3.25, + "y": 3 + }, + { + "label": "K1D", + "x": 4.25, + "y": 3 + }, + { + "label": "K1E", + "x": 5.25, + "y": 3 + }, + { + "label": "K1F", + "x": 6.25, + "y": 3 + }, + { + "label": "K1G", + "x": 7.25, + "y": 3 + }, + { + "label": "K1H", + "x": 8.25, + "y": 3 + }, + { + "label": "K1J", + "x": 9.25, + "y": 3 + }, + { + "label": "K1K", + "x": 10.25, + "y": 3 + }, + { + "label": "K1L", + "x": 11.25, + "y": 3 + }, + { + "label": "K1M", + "x": 12.25, + "y": 3, + "w": 1.75 + }, + { + "label": "K1O", + "x": 14, + "y": 3 + }, + { + "label": "K1P", + "x": 15, + "y": 3 + }, + { + "label": "K0A", + "x": 0, + "y": 4, + "w": 1.25 + }, + { + "label": "K0B", + "x": 1.25, + "y": 4, + "w": 1.25 + }, + { + "label": "K0C", + "x": 2.5, + "y": 4, + "w": 1.25 + }, + { + "label": "K0G", + "x": 3.75, + "y": 4, + "w": 6.25 + }, + { + "label": "K0J", + "x": 10, + "y": 4, + "w": 1.5 + }, + { + "label": "K0M", + "x": 11.5, + "y": 4, + "w": 1.5 + }, + { + "label": "K0N", + "x": 13, + "y": 4 + }, + { + "label": "K0O", + "x": 14, + "y": 4 + }, + { + "label": "K0P", + "x": 15, + "y": 4 + } + ] + }, + "LAYOUT_65_ansi_split_bs": { + "layout": [ + { + "label": "K4A", + "x": 0, + "y": 0 + }, + { + "label": "K4B", + "x": 1, + "y": 0 + }, + { + "label": "K4C", + "x": 2, + "y": 0 + }, + { + "label": "K4D", + "x": 3, + "y": 0 + }, + { + "label": "K4E", + "x": 4, + "y": 0 + }, + { + "label": "K4F", + "x": 5, + "y": 0 + }, + { + "label": "K4G", + "x": 6, + "y": 0 + }, + { + "label": "K4H", + "x": 7, + "y": 0 + }, + { + "label": "K4I", + "x": 8, + "y": 0 + }, + { + "label": "K4J", + "x": 9, + "y": 0 + }, + { + "label": "K4K", + "x": 10, + "y": 0 + }, + { + "label": "K4L", + "x": 11, + "y": 0 + }, + { + "label": "K4M", + "x": 12, + "y": 0 + }, + { + "label": "K4N", + "x": 13, + "y": 0 + }, + { + "label": "K4O", + "x": 14, + "y": 0 + }, + { + "label": "K4P", + "x": 15, + "y": 0 + }, + { + "label": "K3A", + "x": 0, + "y": 1, + "w": 1.5 + }, + { + "label": "K3B", + "x": 1.5, + "y": 1 + }, + { + "label": "K3C", + "x": 2.5, + "y": 1 + }, + { + "label": "K3D", + "x": 3.5, + "y": 1 + }, + { + "label": "K3E", + "x": 4.5, + "y": 1 + }, + { + "label": "K3F", + "x": 5.5, + "y": 1 + }, + { + "label": "K3G", + "x": 6.5, + "y": 1 + }, + { + "label": "K3H", + "x": 7.5, + "y": 1 + }, + { + "label": "K3I", + "x": 8.5, + "y": 1 + }, + { + "label": "K3J", + "x": 9.5, + "y": 1 + }, + { + "label": "K3K", + "x": 10.5, + "y": 1 + }, + { + "label": "K3L", + "x": 11.5, + "y": 1 + }, + { + "label": "K3M", + "x": 12.5, + "y": 1 + }, + { + "label": "K4N", + "x": 13.5, + "y": 1, + "w": 1.5 + }, + { + "label": "K3P", + "x": 15, + "y": 1 + }, + { + "label": "K2A", + "x": 0, + "y": 2, + "w": 1.75 + }, + { + "label": "K2B", + "x": 1.75, + "y": 2 + }, + { + "label": "K2C", + "x": 2.75, + "y": 2 + }, + { + "label": "K2D", + "x": 3.75, + "y": 2 + }, + { + "label": "K2E", + "x": 4.75, + "y": 2 + }, + { + "label": "K2F", + "x": 5.75, + "y": 2 + }, + { + "label": "K2G", + "x": 6.75, + "y": 2 + }, + { + "label": "K2H", + "x": 7.75, + "y": 2 + }, + { + "label": "K2I", + "x": 8.75, + "y": 2 + }, + { + "label": "K2J", + "x": 9.75, + "y": 2 + }, + { + "label": "K2K", + "x": 10.75, + "y": 2 + }, + { + "label": "K2L", + "x": 11.75, + "y": 2 + }, + { + "label": "K2N", + "x": 12.75, + "y": 2, + "w": 2.25 + }, + { + "label": "K2P", + "x": 15, + "y": 2 + }, + { + "label": "K1A", + "x": 0, + "y": 3, + "w": 2.25 + }, + { + "label": "K1B", + "x": 2.25, + "y": 3 + }, + { + "label": "K1C", + "x": 3.25, + "y": 3 + }, + { + "label": "K1D", + "x": 4.25, + "y": 3 + }, + { + "label": "K1E", + "x": 5.25, + "y": 3 + }, + { + "label": "K1F", |