b99e09ee0ebdbd473afd2e1dc35266e453c405b2
- Author
- Stefan Gluszek <gluszek.stefan@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/keyboards/fatotesa/info.json b/keyboards/fatotesa/info.json
2new file mode 100644
3index 0000000000000000000000000000000000000000..bdd5e40478d8b29532580111fdf2db9f4dd3ccc0
4--- /dev/null
5+++ b/keyboards/fatotesa/info.json
6@@ -0,0 +1,144 @@
7+{
8+ "development_board": "promicro",
9+ "manufacturer": "fatotesa",
10+ "keyboard_name": "fatotesa",
11+ "maintainer": "stefangluszek",
12+ "diode_direction": "COL2ROW",
13+ "features": {
14+ "bootmagic": true,
15+ "command": false,
16+ "console": false,
17+ "encoder": true,
18+ "extrakey": true,
19+ "mousekey": true,
20+ "nkro": true,
21+ "caps_word": true
22+ },
23+ "encoder": {
24+ "rotary": [
25+ { "pin_a": "D1", "pin_b": "D0" , "resolution": 2}
26+ ]
27+ },
28+ "split": {
29+ "enabled": true,
30+ "soft_serial_pin": "D2",
31+ "usb_detect": {
32+ "enabled": true,
33+ "timeout": 2500
34+ },
35+ "matrix_pins": {
36+ "right": {
37+ "cols": ["F4", "F5", "F6", "C6", "F7", "B1", "B3", "B2"],
38+ "rows": ["B6", "E6", "D4", "D7", "B4", "B5"]
39+ }
40+ },
41+ "bootmagic": {
42+ "matrix": [4, 1]
43+ }
44+ },
45+ "matrix_pins": {
46+ "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", null],
47+ "rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
48+ },
49+ "url": "",
50+ "usb": {
51+ "device_version": "1.0.0",
52+ "pid": "0x0000",
53+ "vid": "0xFEED"
54+ },
55+ "layouts": {
56+ "LAYOUT": {
57+ "layout": [
58+ {"matrix": [0, 0], "label":"esc", "x":0, "y":0},
59+ {"matrix": [0, 2], "label":"f1", "x":2, "y":0},
60+ {"matrix": [0, 3], "label":"f2", "x":3, "y":0},
61+ {"matrix": [0, 4], "label":"f3", "x":4, "y":0},
62+ {"matrix": [0, 5], "label":"f4", "x":5, "y":0},
63+
64+ {"matrix": [6, 4], "label":"end", "x":13.25, "y":0},
65+ {"matrix": [6, 5], "label":"ins", "x":14.25, "y":0},
66+ {"matrix": [6, 6], "label":"del", "x":15.25, "y":0},
67+ {"matrix": [6, 7], "label":"enc", "x":16.5, "y":0, "encoder": 0},
68+
69+
70+ {"matrix": [1, 0], "label":"`", "x":0, "y":1},
71+ {"matrix": [1, 1], "label":"1", "x":1, "y":1},
72+ {"matrix": [1, 2], "label":"2", "x":2, "y":1},
73+ {"matrix": [1, 3], "label":"3", "x":3, "y":1},
74+ {"matrix": [1, 4], "label":"4", "x":4, "y":1},
75+ {"matrix": [1, 5], "label":"5", "x":5, "y":1},
76+ {"matrix": [1, 6], "label":"6", "x":6, "y":1},
77+
78+ {"matrix": [7, 1], "label":"7", "x":9.5, "y":1},
79+ {"matrix": [7, 2], "label":"8", "x":10.5, "y":1},
80+ {"matrix": [7, 3], "label":"9", "x":11.5, "y":1},
81+ {"matrix": [7, 4], "label":"0", "x":12.5, "y":1},
82+ {"matrix": [7, 5], "label":"-", "x":13.5, "y":1},
83+ {"matrix": [7, 6], "label":"=", "x":14.5, "y":1},
84+ {"matrix": [7, 7], "label":"<", "x":15.5, "y":1, "w":2},
85+
86+
87+ {"matrix": [2, 0], "label":"tab", "x":0, "y":2, "w":1.5},
88+ {"matrix": [2, 1], "label":"q", "x":1.5, "y":2},
89+ {"matrix": [2, 2], "label":"w", "x":2.5, "y":2},
90+ {"matrix": [2, 3], "label":"e", "x":3.5, "y":2},
91+ {"matrix": [2, 4], "label":"r", "x":4.5, "y":2},
92+ {"matrix": [2, 5], "label":"t", "x":5.5, "y":2},
93+
94+ {"matrix": [8, 0], "label":"y", "x":9, "y":2},
95+ {"matrix": [8, 1], "label":"u", "x":10, "y":2},
96+ {"matrix": [8, 2], "label":"i", "x":11, "y":2},
97+ {"matrix": [8, 3], "label":"o", "x":12, "y":2},
98+ {"matrix": [8, 4], "label":"p", "x":13, "y":2},
99+ {"matrix": [8, 5], "label":"[", "x":14, "y":2},
100+ {"matrix": [8, 6], "label":"]", "x":15, "y":2},
101+ {"matrix": [8, 7], "x":16.25, "y":2, "w":1.25, "h":2},
102+
103+
104+ {"matrix": [3, 0], "label":"caps", "x":0, "y":3, "w":1.75},
105+ {"matrix": [3, 1], "label":"a", "x":1.75, "y":3},
106diff --git a/keyboards/fatotesa/keymaps/default/keymap.c b/keyboards/fatotesa/keymaps/default/keymap.c
107new file mode 100644
108index 0000000000000000000000000000000000000000..1f6aa80488977a585c642d03d352243b09ff5bfe
109--- /dev/null
110+++ b/keyboards/fatotesa/keymaps/default/keymap.c
111@@ -0,0 +1,30 @@
112+// Copyright 2023 QMK
113+// SPDX-License-Identifier: GPL-2.0-or-later
114+
115+#include QMK_KEYBOARD_H
116+
117+#if defined(ENCODER_MAP_ENABLE)
118+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
119+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
120+ [1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
121+};
122+#endif
123+
124+
125+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
126+ [0] = LAYOUT(
127+ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_END, KC_INSERT, KC_DELETE, KC_KB_MUTE,
128+ 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,
129+ 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,
130+ 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,
131+ 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,
132+ CW_TOGG, KC_LWIN, KC_LEFT_ALT, KC_BACKSPACE, KC_LEFT_ALT, KC_SPACE, KC_RIGHT_ALT, KC_RIGHT_CTRL, KC_NO, KC_NO
133+ ),
134+ [1] = LAYOUT(
135+ _______, _______, _______, _______, _______, _______, _______, _______, _______,
136+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
137+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
138+ _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______,
139+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
140+ _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______, _______
141+ )};
142diff --git a/keyboards/fatotesa/keymaps/default/rules.mk b/keyboards/fatotesa/keymaps/default/rules.mk
143new file mode 100644
144index 0000000000000000000000000000000000000000..ee325681483fbd804de1e14be33c47719c65bc71
145--- /dev/null
146+++ b/keyboards/fatotesa/keymaps/default/rules.mk
147@@ -0,0 +1 @@
148+ENCODER_MAP_ENABLE = yes
149diff --git a/keyboards/fatotesa/readme.md b/keyboards/fatotesa/readme.md
150new file mode 100644
151index 0000000000000000000000000000000000000000..a3794cfd667acf9d6d077210da7d56dfd5af930c
152--- /dev/null
153+++ b/keyboards/fatotesa/readme.md
154@@ -0,0 +1,25 @@
155+# fatotesa
156+
157+
158+
159+This is the QMK firmware for the [fat-o-tesa](https://github.com/stefangluszek/fat-o-tesa) keyboard.
160+
161+* Keyboard Maintainer: [Stefan Gluszek](https://github.com/stefangluszek)
162+
163+Make example for this keyboard (after setting up your build environment):
164+
165+ make fatotesa:default
166+
167+Flashing example for this keyboard:
168+
169+ make fatotesa:default:flash
170+
171diff --git a/keyboards/fatotesa/rules.mk b/keyboards/fatotesa/rules.mk
172new file mode 100644
173index 0000000000000000000000000000000000000000..6e7633bfe015beed407755e5b0bf5bfed8f67eae
174--- /dev/null
175+++ b/keyboards/fatotesa/rules.mk
176@@ -0,0 +1 @@
177+# This file intentionally left blank