diff options
| author | Stefan Gluszek <gluszek.stefan@gmail.com> | 2024-04-30 04:45:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 19:45:46 -0700 |
| commit | b99e09ee0ebdbd473afd2e1dc35266e453c405b2 (patch) | |
| tree | 16ea0012879b47185bad8e853d90306d5a1de9e4 | |
| parent | 284e29d4a1edcdd4bcaeb9a41d824d471369ceaf (diff) | |
[Keyboard] Fatotesa - custom asymmetric split keyboard (#23528)
Co-authored-by: jack <0x6a73@protonmail.com>
| -rw-r--r-- | keyboards/fatotesa/info.json | 144 | ||||
| -rw-r--r-- | keyboards/fatotesa/keymaps/default/keymap.c | 30 | ||||
| -rw-r--r-- | keyboards/fatotesa/keymaps/default/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/fatotesa/readme.md | 25 | ||||
| -rw-r--r-- | keyboards/fatotesa/rules.mk | 1 |
5 files changed, 201 insertions, 0 deletions
diff --git a/keyboards/fatotesa/info.json b/keyboards/fatotesa/info.json new file mode 100644 index 0000000000..bdd5e40478 --- /dev/null +++ b/keyboards/fatotesa/info.json | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | { | ||
| 2 | "development_board": "promicro", | ||
| 3 | "manufacturer": "fatotesa", | ||
| 4 | "keyboard_name": "fatotesa", | ||
| 5 | "maintainer": "stefangluszek", | ||
| 6 | "diode_direction": "COL2ROW", | ||
| 7 | "features": { | ||
| 8 | "bootmagic": true, | ||
| 9 | "command": false, | ||
| 10 | "console": false, | ||
| 11 | "encoder": true, | ||
| 12 | "extrakey": true, | ||
| 13 | "mousekey": true, | ||
| 14 | "nkro": true, | ||
| 15 | "caps_word": true | ||
| 16 | }, | ||
| 17 | "encoder": { | ||
| 18 | "rotary": [ | ||
| 19 | { "pin_a": "D1", "pin_b": "D0" , "resolution": 2} | ||
| 20 | ] | ||
| 21 | }, | ||
| 22 | "split": { | ||
| 23 | "enabled": true, | ||
| 24 | "soft_serial_pin": "D2", | ||
| 25 | "usb_detect": { | ||
| 26 | "enabled": true, | ||
| 27 | "timeout": 2500 | ||
| 28 | }, | ||
| 29 | "matrix_pins": { | ||
| 30 | "right": { | ||
| 31 | "cols": ["F4", "F5", "F6", "C6", "F7", "B1", "B3", "B2"], | ||
| 32 | "rows": ["B6", "E6", "D4", "D7", "B4", "B5"] | ||
| 33 | } | ||
| 34 | }, | ||
| 35 | "bootmagic": { | ||
| 36 | "matrix": [4, 1] | ||
| 37 | } | ||
| 38 | }, | ||
| 39 | "matrix_pins": { | ||
| 40 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", null], | ||
| 41 | "rows": ["D4", "C6", "D7", "E6", "B4", "B5"] | ||
| 42 | }, | ||
| 43 | "url": "", | ||
| 44 | "usb": { | ||
| 45 | "device_version": "1.0.0", | ||
| 46 | "pid": "0x0000", | ||
| 47 | "vid": "0xFEED" | ||
| 48 | }, | ||
| 49 | "layouts": { | ||
| 50 | "LAYOUT": { | ||
| 51 | "layout": [ | ||
| 52 | {"matrix": [0, 0], "label":"esc", "x":0, "y":0}, | ||
| 53 | {"matrix": [0, 2], "label":"f1", "x":2, "y":0}, | ||
| 54 | {"matrix": [0, 3], "label":"f2", "x":3, "y":0}, | ||
| 55 | {"matrix": [0, 4], "label":"f3", "x":4, "y":0}, | ||
| 56 | {"matrix": [0, 5], "label":"f4", "x":5, "y":0}, | ||
| 57 | |||
| 58 | {"matrix": [6, 4], "label":"end", "x":13.25, "y":0}, | ||
| 59 | {"matrix": [6, 5], "label":"ins", "x":14.25, "y":0}, | ||
| 60 | {"matrix": [6, 6], "label":"del", "x":15.25, "y":0}, | ||
| 61 | {"matrix": [6, 7], "label":"enc", "x":16.5, "y":0, "encoder": 0}, | ||
| 62 | |||
| 63 | |||
| 64 | {"matrix": [1, 0], "label":"`", "x":0, "y":1}, | ||
| 65 | {"matrix": [1, 1], "label":"1", "x":1, "y":1}, | ||
| 66 | {"matrix": [1, 2], "label":"2", "x":2, "y":1}, | ||
| 67 | {"matrix": [1, 3], "label":"3", "x":3, "y":1}, | ||
| 68 | {"matrix": [1, 4], "label":"4", "x":4, "y":1}, | ||
| 69 | {"matrix": [1, 5], "label":"5", "x":5, "y":1}, | ||
| 70 | {"matrix": [1, 6], "label":"6", "x":6, "y":1}, | ||
| 71 | |||
| 72 | {"matrix": [7, 1], "label":"7", "x":9.5, "y":1}, | ||
| 73 | {"matrix": [7, 2], "label":"8", "x":10.5, "y":1}, | ||
| 74 | {"matrix": [7, 3], "label":"9", "x":11.5, "y":1}, | ||
| 75 | {"matrix": [7, 4], "label":"0", "x":12.5, "y":1}, | ||
| 76 | {"matrix": [7, 5], "label":"-", "x":13.5, "y":1}, | ||
| 77 | {"matrix": [7, 6], "label":"=", "x":14.5, "y":1}, | ||
| 78 | {"matrix": [7, 7], "label":"<", "x":15.5, "y":1, "w":2}, | ||
| 79 | |||
| 80 | |||
| 81 | {"matrix": [2, 0], "label":"tab", "x":0, "y":2, "w":1.5}, | ||
| 82 | {"matrix": [2, 1], "label":"q", "x":1.5, "y":2}, | ||
| 83 | {"matrix": [2, 2], "label":"w", "x":2.5, "y":2}, | ||
| 84 | {"matrix": [2, 3], "label":"e", "x":3.5, "y":2}, | ||
| 85 | {"matrix": [2, 4], "label":"r", "x":4.5, "y":2}, | ||
| 86 | {"matrix": [2, 5], "label":"t", "x":5.5, "y":2}, | ||
| 87 | |||
| 88 | {"matrix": [8, 0], "label":"y", "x":9, "y":2}, | ||
| 89 | {"matrix": [8, 1], "label":"u", "x":10, "y":2}, | ||
| 90 | {"matrix": [8, 2], "label":"i", "x":11, "y":2}, | ||
| 91 | {"matrix": [8, 3], "label":"o", "x":12, "y":2}, | ||
| 92 | {"matrix": [8, 4], "label":"p", "x":13, "y":2}, | ||
| 93 | {"matrix": [8, 5], "label":"[", "x":14, "y":2}, | ||
| 94 | {"matrix": [8, 6], "label":"]", "x":15, "y":2}, | ||
| 95 | {"matrix": [8, 7], "x":16.25, "y":2, "w":1.25, "h":2}, | ||
| 96 | |||
| 97 | |||
| 98 | {"matrix": [3, 0], "label":"caps", "x":0, "y":3, "w":1.75}, | ||
| 99 | {"matrix": [3, 1], "label":"a", "x":1.75, "y":3}, | ||
| 100 | {"matrix": [3, 2], "label":"s", "x":2.75, "y":3}, | ||
| 101 | {"matrix": [3, 3], "label":"d", "x":3.75, "y":3}, | ||
| 102 | {"matrix": [3, 4], "label":"f", "x":4.75, "y":3}, | ||
| 103 | {"matrix": [3, 5], "label":"g", "x":5.75, "y":3}, | ||
| 104 | |||
| 105 | {"matrix": [9, 0], "label":"h", "x":9.25, "y":3}, | ||
| 106 | {"matrix": [9, 1], "label":"j", "x":10.25, "y":3}, | ||
| 107 | {"matrix": [9, 2], "label":"k", "x":11.25, "y":3}, | ||
| 108 | {"matrix": [9, 3], "label":"l", "x":12.25, "y":3}, | ||
| 109 | {"matrix": [9, 4], "label":";", "x":13.25, "y":3}, | ||
| 110 | {"matrix": [9, 5], "label":"'", "x":14.25, "y":3}, | ||
| 111 | {"matrix": [9, 6], "label":"\\", "x":15.25, "y":3}, | ||
| 112 | |||
| 113 | |||
| 114 | {"matrix": [4, 0], "label":"shift", "x":0, "y":4, "w":1.25}, | ||
| 115 | {"matrix": [4, 1], "label":"<", "x":1.25, "y":4}, | ||
| 116 | {"matrix": [4, 2], "label":"z", "x":2.25, "y":4}, | ||
| 117 | {"matrix": [4, 3], "label":"x", "x":3.25, "y":4}, | ||
| 118 | {"matrix": [4, 4], "label":"c", "x":4.25, "y":4}, | ||
| 119 | {"matrix": [4, 5], "label":"v", "x":5.25, "y":4}, | ||
| 120 | {"matrix": [4, 6], "label":"b", "x":6.25, "y":4}, | ||
| 121 | |||
| 122 | {"matrix": [10, 2], "label":"n", "x":9.75, "y":4}, | ||
| 123 | {"matrix": [10, 3], "label":"m", "x":10.75, "y":4}, | ||
| 124 | {"matrix": [10, 4], "label":",", "x":11.75, "y":4}, | ||
| 125 | {"matrix": [10, 5], "label":".", "x":12.75, "y":4}, | ||
| 126 | {"matrix": [10, 6], "label":"/", "x":13.75, "y":4}, | ||
| 127 | {"matrix": [10, 7], "x":14.75, "y":4}, | ||
| 128 | |||
| 129 | |||
| 130 | {"matrix": [5, 0], "label":"ctrl", "x":0, "y":5, "w":1.25}, | ||
| 131 | {"matrix": [5, 1], "label":"win", "x":1.25, "y":5, "w":1.25}, | ||
| 132 | {"matrix": [5, 2], "label":"alt", "x":2.5, "y":5, "w":1.25}, | ||
| 133 | {"matrix": [5, 3], "label":"space", "x":3.75, "y":5, "w":1.75}, | ||
| 134 | {"matrix": [5, 4], "label":"na", "x":5.5, "y":5}, | ||
| 135 | |||
| 136 | {"matrix": [11, 3], "label":"space", "x":10.5, "y":5, "w":2}, | ||
| 137 | {"matrix": [11, 4], "label":"alt gr", "x":12.5, "y":5, "w":1.25}, | ||
| 138 | {"matrix": [11, 5], "label":"ctrl", "x":13.75, "y":5, "w":1.25}, | ||
| 139 | {"matrix": [11, 6], "label":"?", "x":15, "y":5, "w":1.25}, | ||
| 140 | {"matrix": [11, 7], "label":"?", "x":16.25, "y":5, "w":1.25} | ||
| 141 | ] | ||
| 142 | } | ||
| 143 | } | ||
| 144 | } | ||
diff --git a/keyboards/fatotesa/keymaps/default/keymap.c b/keyboards/fatotesa/keymaps/default/keymap.c new file mode 100644 index 0000000000..1f6aa80488 --- /dev/null +++ b/keyboards/fatotesa/keymaps/default/keymap.c | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | #if defined(ENCODER_MAP_ENABLE) | ||
| 7 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 8 | [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, | ||
| 9 | [1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, | ||
| 10 | }; | ||
| 11 | #endif | ||
| 12 | |||
| 13 | |||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 15 | [0] = LAYOUT( | ||
| 16 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_END, KC_INSERT, KC_DELETE, KC_KB_MUTE, | ||
| 17 | KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BACKSPACE, | ||
| 18 | LT(1, KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LEFT_BRACKET, KC_RIGHT_BRACKET, KC_ENTER, | ||
| 19 | KC_LEFT_CTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SEMICOLON, KC_QUOTE, KC_BACKSLASH, | ||
| 20 | KC_LEFT_SHIFT, KC_LEFT_ANGLE_BRACKET, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RIGHT_SHIFT, | ||
| 21 | CW_TOGG, KC_LWIN, KC_LEFT_ALT, KC_BACKSPACE, KC_LEFT_ALT, KC_SPACE, KC_RIGHT_ALT, KC_RIGHT_CTRL, KC_NO, KC_NO | ||
| 22 | ), | ||
| 23 | [1] = LAYOUT( | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______, _______ | ||
| 30 | )}; | ||
diff --git a/keyboards/fatotesa/keymaps/default/rules.mk b/keyboards/fatotesa/keymaps/default/rules.mk new file mode 100644 index 0000000000..ee32568148 --- /dev/null +++ b/keyboards/fatotesa/keymaps/default/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| ENCODER_MAP_ENABLE = yes | |||
diff --git a/keyboards/fatotesa/readme.md b/keyboards/fatotesa/readme.md new file mode 100644 index 0000000000..a3794cfd66 --- /dev/null +++ b/keyboards/fatotesa/readme.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # fatotesa | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | This is the QMK firmware for the [fat-o-tesa](https://github.com/stefangluszek/fat-o-tesa) keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Stefan Gluszek](https://github.com/stefangluszek) | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make fatotesa:default | ||
| 12 | |||
| 13 | Flashing example for this keyboard: | ||
| 14 | |||
| 15 | make fatotesa:default:flash | ||
| 16 | |||
| 17 | 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). | ||
| 18 | |||
| 19 | ## Bootloader | ||
| 20 | |||
| 21 | Enter the bootloader in 3 ways: | ||
| 22 | |||
| 23 | * **Bootmagic reset**: Hold down the key at (4,1) in the matrix and plug in the keyboard - this is somewhat unusual choice but our split halves are not symmetrical and we can't use (0,0) but instead a key that maps to the same matrix position regardless of which part is being connected to the computer and flashed. | ||
| 24 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 25 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
diff --git a/keyboards/fatotesa/rules.mk b/keyboards/fatotesa/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/fatotesa/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
