diff options
| author | team0110 <81603228+team0110@users.noreply.github.com> | 2021-07-03 11:46:28 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-02 21:46:28 -0700 |
| commit | 7629b7f52a89be171c6427ad2849d50ccd347335 (patch) | |
| tree | 7223df3d16d2957db722865bc74f5353cb08918f /keyboards/team0110 | |
| parent | ad30218701782192b9125c32b85cdbcc203c0c85 (diff) | |
| download | qmk_firmware-7629b7f52a89be171c6427ad2849d50ccd347335.tar.gz qmk_firmware-7629b7f52a89be171c6427ad2849d50ccd347335.zip | |
[Keyboard] Relocalize and Update p1800fl (#12425)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: marhalloweenvt <marhalloweenvt@gmail.com>
Co-authored-by: Drashna Jael're <drashna@live.com>
Diffstat (limited to 'keyboards/team0110')
| -rw-r--r-- | keyboards/team0110/p1800fl/config.h | 83 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/info.json | 99 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/keymaps/via/keymap.c | 48 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/p1800fl.c | 28 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/p1800fl.h | 42 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/team0110/p1800fl/rules.mk | 22 |
11 files changed, 374 insertions, 0 deletions
diff --git a/keyboards/team0110/p1800fl/config.h b/keyboards/team0110/p1800fl/config.h new file mode 100644 index 000000000..75e63c75c --- /dev/null +++ b/keyboards/team0110/p1800fl/config.h | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 marhalloweenvt | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x3EAE | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER team0110 | ||
| 27 | #define PRODUCT p1800fl | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 15 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { B6, B5, B4, D7, D6, D4 } | ||
| 44 | #define MATRIX_COL_PINS { C7, F7, F6, F5, F4, F1, F0, E6, B0, B1, B2, B3, D0, D1, D2} | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL*/ | ||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | #define BACKLIGHT_PIN B7 | ||
| 51 | #define BACKLIGHT_BREATHING | ||
| 52 | #define BACKLIGHT_LEVELS 5 | ||
| 53 | |||
| 54 | /* RGB Lighting */ | ||
| 55 | #define RGB_DI_PIN C6 | ||
| 56 | #ifdef RGB_DI_PIN | ||
| 57 | # define RGBLIGHT_ANIMATIONS | ||
| 58 | # define RGBLED_NUM 8 | ||
| 59 | # define RGBLIGHT_HUE_STEP 8 | ||
| 60 | # define RGBLIGHT_SAT_STEP 8 | ||
| 61 | # define RGBLIGHT_VAL_STEP 8 | ||
| 62 | # define RGBLIGHT_LIMIT_VAL 255 | ||
| 63 | # define RGBLIGHT_SLEEP | ||
| 64 | #endif | ||
| 65 | |||
| 66 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 67 | #define DEBOUNCE 5 | ||
| 68 | |||
| 69 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 70 | //#define MATRIX_HAS_GHOST | ||
| 71 | |||
| 72 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 73 | #define LOCKING_SUPPORT_ENABLE | ||
| 74 | /* Locking resynchronize hack */ | ||
| 75 | #define LOCKING_RESYNC_ENABLE | ||
| 76 | |||
| 77 | /* disable these deprecated features by default */ | ||
| 78 | #define NO_ACTION_MACRO | ||
| 79 | #define NO_ACTION_FUNCTION | ||
| 80 | |||
| 81 | /* Bootmagic Lite key configuration */ | ||
| 82 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 83 | #define BOOTMAGIC_LITE_COLUMN 0 \ No newline at end of file | ||
diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/info.json new file mode 100644 index 000000000..164f921de --- /dev/null +++ b/keyboards/team0110/p1800fl/info.json | |||
| @@ -0,0 +1,99 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "p1800fl", | ||
| 3 | "url": "http://team0110.store/", | ||
| 4 | "maintainer": "team0110", | ||
| 5 | "width": 19.5, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"!", "x":1, "y":0}, | ||
| 12 | {"label":"@", "x":2, "y":0}, | ||
| 13 | {"label":"#", "x":3, "y":0}, | ||
| 14 | {"label":"$", "x":4, "y":0}, | ||
| 15 | {"label":"%", "x":5, "y":0}, | ||
| 16 | {"label":"^", "x":6, "y":0}, | ||
| 17 | {"label":"&", "x":7, "y":0}, | ||
| 18 | {"label":"*", "x":8, "y":0}, | ||
| 19 | {"label":"(", "x":9, "y":0}, | ||
| 20 | {"label":")", "x":10, "y":0}, | ||
| 21 | {"label":"_", "x":11, "y":0}, | ||
| 22 | {"label":"+", "x":12, "y":0}, | ||
| 23 | {"label":"Backspace", "x":13, "y":0}, | ||
| 24 | {"label":"Backspace", "x":14, "y":0}, | ||
| 25 | {"label":"Num Lock", "x":15.5, "y":0}, | ||
| 26 | {"label":"/", "x":16.5, "y":0}, | ||
| 27 | {"label":"*", "x":17.5, "y":0}, | ||
| 28 | {"label":"-", "x":18.5, "y":0}, | ||
| 29 | {"label":"Tab", "x":0, "y":1, "w":1.5}, | ||
| 30 | {"label":"Q", "x":1.5, "y":1}, | ||
| 31 | {"label":"W", "x":2.5, "y":1}, | ||
| 32 | {"label":"E", "x":3.5, "y":1}, | ||
| 33 | {"label":"R", "x":4.5, "y":1}, | ||
| 34 | {"label":"T", "x":5.5, "y":1}, | ||
| 35 | {"label":"Y", "x":6.5, "y":1}, | ||
| 36 | {"label":"U", "x":7.5, "y":1}, | ||
| 37 | {"label":"I", "x":8.5, "y":1}, | ||
| 38 | {"label":"O", "x":9.5, "y":1}, | ||
| 39 | {"label":"P", "x":10.5, "y":1}, | ||
| 40 | {"label":"{", "x":11.5, "y":1}, | ||
| 41 | {"label":"}", "x":12.5, "y":1}, | ||
| 42 | {"label":"|", "x":13.5, "y":1, "w":1.5}, | ||
| 43 | {"label":"7", "x":15.5, "y":1}, | ||
| 44 | {"label":"8", "x":16.5, "y":1}, | ||
| 45 | {"label":"9", "x":17.5, "y":1}, | ||
| 46 | {"label":"+", "x":18.5, "y":1}, | ||
| 47 | {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, | ||
| 48 | {"label":"A", "x":1.75, "y":2}, | ||
| 49 | {"label":"S", "x":2.75, "y":2}, | ||
| 50 | {"label":"D", "x":3.75, "y":2}, | ||
| 51 | {"label":"F", "x":4.75, "y":2}, | ||
| 52 | {"label":"G", "x":5.75, "y":2}, | ||
| 53 | {"label":"H", "x":6.75, "y":2}, | ||
| 54 | {"label":"J", "x":7.75, "y":2}, | ||
| 55 | {"label":"K", "x":8.75, "y":2}, | ||
| 56 | {"label":"L", "x":9.75, "y":2}, | ||
| 57 | {"label":":", "x":10.75, "y":2}, | ||
| 58 | {"label":"\"", "x":11.75, "y":2}, | ||
| 59 | {"label":"Enter", "x":12.75, "y":2}, | ||
| 60 | {"label":"Enter", "x":13.75, "y":2, "w":1.25}, | ||
| 61 | {"label":"4", "x":15.5, "y":2}, | ||
| 62 | {"label":"5", "x":16.5, "y":2}, | ||
| 63 | {"label":"6", "x":17.5, "y":2}, | ||
| 64 | {"label":"+", "x":18.5, "y":2}, | ||
| 65 | {"label":"Shift", "x":0, "y":3, "w":1.25}, | ||
| 66 | {"label":"Shift", "x":1.25, "y":3}, | ||
| 67 | {"label":"Z", "x":2.25, "y":3}, | ||
| 68 | {"label":"X", "x":3.25, "y":3}, | ||
| 69 | {"label":"C", "x":4.25, "y":3}, | ||
| 70 | {"label":"V", "x":5.25, "y":3}, | ||
| 71 | {"label":"B", "x":6.25, "y":3}, | ||
| 72 | {"label":"N", "x":7.25, "y":3}, | ||
| 73 | {"label":"M", "x":8.25, "y":3}, | ||
| 74 | {"label":"<", "x":9.25, "y":3}, | ||
| 75 | {"label":">", "x":10.25, "y":3}, | ||
| 76 | {"label":"?", "x":11.25, "y":3}, | ||
| 77 | {"label":"Shift", "x":12.25, "y":3, "w":1.75}, | ||
| 78 | {"label":"Up", "x":14.25, "y":3.25}, | ||
| 79 | {"label":"1", "x":15.5, "y":3}, | ||
| 80 | {"label":"2", "x":16.5, "y":3}, | ||
| 81 | {"label":"3", "x":17.5, "y":3}, | ||
| 82 | {"label":"Enter", "x":18.5, "y":3}, | ||
| 83 | {"label":"Ctrl", "x":0, "y":4, "w":1.25}, | ||
| 84 | {"label":"Win", "x":1.25, "y":4, "w":1.25}, | ||
| 85 | {"label":"Alt", "x":2.5, "y":4, "w":1.25}, | ||
| 86 | {"label":"6.25x", "x":3.75, "y":4, "w":6.25}, | ||
| 87 | {"label":"Ctrl", "x":10, "y":4}, | ||
| 88 | {"label":"Win", "x":11, "y":4}, | ||
| 89 | {"label":"Alt", "x":12, "y":4}, | ||
| 90 | {"label":"Left", "x":13.25, "y":4.25}, | ||
| 91 | {"label":"Down", "x":14.25, "y":4.25}, | ||
| 92 | {"label":"Right", "x":15.25, "y":4.25}, | ||
| 93 | {"label":"0", "x":16.5, "y":4}, | ||
| 94 | {"label":".", "x":17.5, "y":4}, | ||
| 95 | {"label":"Enter", "x":18.5, "y":4} | ||
| 96 | ] | ||
| 97 | } | ||
| 98 | } | ||
| 99 | } | ||
diff --git a/keyboards/team0110/p1800fl/keymaps/default/keymap.c b/keyboards/team0110/p1800fl/keymaps/default/keymap.c new file mode 100644 index 000000000..e0a3ad35c --- /dev/null +++ b/keyboards/team0110/p1800fl/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* Base */ | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_GESC, 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_NLCK, KC_PSLS, KC_PAST, KC_PEQL, | ||
| 22 | 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_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 23 | 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_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 24 | KC_LSFT, 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_P1, KC_P2, KC_P3, KC_PENT, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT | ||
| 26 | ), | ||
| 27 | [1] = LAYOUT( | ||
| 28 | 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_DEL, KC_PSCR, KC_SLCK, KC_PAUS, _______, | ||
| 29 | _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_INS, KC_HOME, KC_PGUP, _______, | ||
| 30 | _______, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDOWN, _______, | ||
| 31 | _______, _______, BL_TOGG, BL_BRTG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, _______, _______, _______, _______ | ||
| 33 | ), | ||
| 34 | }; | ||
diff --git a/keyboards/team0110/p1800fl/keymaps/default/readme.md b/keyboards/team0110/p1800fl/keymaps/default/readme.md new file mode 100644 index 000000000..268d39922 --- /dev/null +++ b/keyboards/team0110/p1800fl/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for p1800fl | |||
diff --git a/keyboards/team0110/p1800fl/keymaps/via/keymap.c b/keyboards/team0110/p1800fl/keymaps/via/keymap.c new file mode 100644 index 000000000..9cd55ff54 --- /dev/null +++ b/keyboards/team0110/p1800fl/keymaps/via/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* Base */ | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_GESC, 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_NLCK, KC_PSLS, KC_PAST, KC_PEQL, | ||
| 22 | 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_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 23 | 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_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 24 | KC_LSFT, 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_P1, KC_P2, KC_P3, KC_PENT, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT | ||
| 26 | ), | ||
| 27 | [1] = LAYOUT( | ||
| 28 | 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_DEL, KC_PSCR, KC_SLCK, KC_PAUS, _______, | ||
| 29 | _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_INS, KC_HOME, KC_PGUP, _______, | ||
| 30 | _______, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDOWN, _______, | ||
| 31 | _______, _______, BL_TOGG, BL_BRTG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, _______, _______, _______, _______ | ||
| 33 | ), | ||
| 34 | [2] = LAYOUT( | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ), | ||
| 41 | [3] = LAYOUT( | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 47 | ) | ||
| 48 | }; | ||
diff --git a/keyboards/team0110/p1800fl/keymaps/via/readme.md b/keyboards/team0110/p1800fl/keymaps/via/readme.md new file mode 100644 index 000000000..fabc3229f --- /dev/null +++ b/keyboards/team0110/p1800fl/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default VIA keymap for p1800fl | |||
diff --git a/keyboards/team0110/p1800fl/keymaps/via/rules.mk b/keyboards/team0110/p1800fl/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/team0110/p1800fl/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/team0110/p1800fl/p1800fl.c b/keyboards/team0110/p1800fl/p1800fl.c new file mode 100644 index 000000000..e0fc16a5e --- /dev/null +++ b/keyboards/team0110/p1800fl/p1800fl.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "p1800fl.h" | ||
| 18 | |||
| 19 | bool led_update_kb(led_t led_state) { | ||
| 20 | bool res = led_update_user(led_state); | ||
| 21 | if(res) { | ||
| 22 | writePin(D3, led_state.num_lock); | ||
| 23 | writePin(D5, led_state.caps_lock); | ||
| 24 | writePin(C6, led_state.scroll_lock); | ||
| 25 | } | ||
| 26 | return res; | ||
| 27 | } | ||
| 28 | |||
diff --git a/keyboards/team0110/p1800fl/p1800fl.h b/keyboards/team0110/p1800fl/p1800fl.h new file mode 100644 index 000000000..7b8f3dcff --- /dev/null +++ b/keyboards/team0110/p1800fl/p1800fl.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* Copyright 2020 marhalloweenvt | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT( \ | ||
| 30 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k50, k51, k52, k53, \ | ||
| 31 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k54, k55, k56, k57, \ | ||
| 32 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k58, k59, k5a, k5b, \ | ||
| 33 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k5c, k5d, k5e, k4e, \ | ||
| 34 | k40, k41, k42, k43, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d \ | ||
| 35 | ) { \ | ||
| 36 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ | ||
| 37 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, KC_NO }, \ | ||
| 38 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \ | ||
| 39 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO }, \ | ||
| 40 | { k40, k41, k42, k43, KC_NO, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e }, \ | ||
| 41 | { k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a, k5b, k5c, k5d, k5e }, \ | ||
| 42 | } | ||
diff --git a/keyboards/team0110/p1800fl/readme.md b/keyboards/team0110/p1800fl/readme.md new file mode 100644 index 000000000..a9f50ddb7 --- /dev/null +++ b/keyboards/team0110/p1800fl/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # p1800fl | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 1800 Frow-less keyboard project from our team. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [team0110](https://github.com/team0110) | ||
| 8 | * Hardware Supported: p1800fl PCB | ||
| 9 | * Hardware Availability: http://team0110.store/ | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make team0110/p1800fl:default | ||
| 14 | |||
| 15 | 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). | ||
diff --git a/keyboards/team0110/p1800fl/rules.mk b/keyboards/team0110/p1800fl/rules.mk new file mode 100644 index 000000000..e2f9c8310 --- /dev/null +++ b/keyboards/team0110/p1800fl/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
