aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ares
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ares')
-rw-r--r--keyboards/ares/ares.c18
-rw-r--r--keyboards/ares/ares.h68
-rw-r--r--keyboards/ares/config.h49
-rw-r--r--keyboards/ares/info.json222
-rw-r--r--keyboards/ares/keymaps/default/keymap.c42
-rw-r--r--keyboards/ares/readme.md17
-rw-r--r--keyboards/ares/rules.mk19
7 files changed, 435 insertions, 0 deletions
diff --git a/keyboards/ares/ares.c b/keyboards/ares/ares.c
new file mode 100644
index 000000000..80d445517
--- /dev/null
+++ b/keyboards/ares/ares.c
@@ -0,0 +1,18 @@
1/*
2Copyright 2017 Luiz Ribeiro <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "ares.h"
diff --git a/keyboards/ares/ares.h b/keyboards/ares/ares.h
new file mode 100644
index 000000000..13b8d885c
--- /dev/null
+++ b/keyboards/ares/ares.h
@@ -0,0 +1,68 @@
1/*
2Copyright 2019 Evy Dekkers
3 2021 James Young for QMK (@noroadsleft)
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#pragma once
20
21#include "quantum.h"
22
23#define XXX KC_NO
24
25#define LAYOUT_all( \
26 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, \
27 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
28 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
29 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
30 k00, k01, k02, k06, k0a, k0b, k0c, k0d \
31) \
32{ \
33 {k00, k01, k02, XXX, XXX, XXX, k06, XXX, XXX, XXX, k0a, k0b, k0c, k0d, XXX}, \
34 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX}, \
35 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, XXX}, \
36 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, XXX}, \
37 {k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e} \
38}
39
40#define LAYOUT_60_ansi_split_bs_rshift( \
41 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, \
42 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
43 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
44 k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
45 k00, k01, k02, k06, k0a, k0b, k0c, k0d \
46) \
47{ \
48 {k00, k01, k02, XXX, XXX, XXX, k06, XXX, XXX, XXX, k0a, k0b, k0c, k0d, XXX}, \
49 {k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX}, \
50 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d, XXX}, \
51 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, XXX}, \
52 {k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e} \
53}
54
55#define LAYOUT_60_hhkb( \
56 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e, \
57 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
58 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
59 k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
60 k01, k02, k06, k0b, k0c \
61) \
62{ \
63 {XXX, k01, k02, XXX, XXX, XXX, k06, XXX, XXX, XXX, XXX, k0b, k0c, XXX, XXX}, \
64 {k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, XXX}, \
65 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d, XXX}, \
66 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, XXX}, \
67 {k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4e} \
68}
diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h
new file mode 100644
index 000000000..53a3bfe13
--- /dev/null
+++ b/keyboards/ares/config.h
@@ -0,0 +1,49 @@
1/*
2Copyright 2017 Luiz Ribeiro <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22#define VENDOR_ID 0x20A0
23#define PRODUCT_ID 0x422D
24#define DEVICE_VER 0x0200
25#define MANUFACTURER LSJ
26#define PRODUCT Ares
27
28#define RGBLED_NUM 16
29
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
34#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
35#define UNUSED_PINS {}
36
37#define DIODE_DIRECTION COL2ROW
38#define DEBOUNCE 5
39
40#define LED_CAPS_LOCK_PIN D1
41
42#define BACKLIGHT_PIN D4
43#define BACKLIGHT_LEVELS 3
44
45#define RGBLIGHT_ANIMATIONS
46
47/* Bootmagic Lite key configuration */
48#define BOOTMAGIC_LITE_ROW 4
49#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/ares/info.json b/keyboards/ares/info.json
new file mode 100644
index 000000000..eeff16b7a
--- /dev/null
+++ b/keyboards/ares/info.json
@@ -0,0 +1,222 @@
1{
2 "keyboard_name": "LSJ Ares",
3 "url": "",
4 "maintainer": "qmk",
5 "layout_aliases": {
6 "LAYOUT": "LAYOUT_all"
7 },
8 "layouts": {
9 "LAYOUT_all": {
10 "layout": [
11 {"label":"~", "x":0, "y":0},
12 {"label":"!", "x":1, "y":0},
13 {"label":"@", "x":2, "y":0},
14 {"label":"#", "x":3, "y":0},
15 {"label":"$", "x":4, "y":0},
16 {"label":"%", "x":5, "y":0},
17 {"label":"^", "x":6, "y":0},
18 {"label":"&", "x":7, "y":0},
19 {"label":"*", "x":8, "y":0},
20 {"label":"(", "x":9, "y":0},
21 {"label":")", "x":10, "y":0},
22 {"label":"_", "x":11, "y":0},
23 {"label":"+", "x":12, "y":0},
24 {"label":"|", "x":13, "y":0},
25 {"label":"Back space", "x":14, "y":0},
26
27 {"label":"Tab", "x":0, "y":1, "w":1.5},
28 {"label":"Q", "x":1.5, "y":1},
29 {"label":"W", "x":2.5, "y":1},
30 {"label":"E", "x":3.5, "y":1},
31 {"label":"R", "x":4.5, "y":1},
32 {"label":"T", "x":5.5, "y":1},
33 {"label":"Y", "x":6.5, "y":1},
34 {"label":"U", "x":7.5, "y":1},
35 {"label":"I", "x":8.5, "y":1},
36 {"label":"O", "x":9.5, "y":1},
37 {"label":"P", "x":10.5, "y":1},
38 {"label":"{", "x":11.5, "y":1},
39 {"label":"}", "x":12.5, "y":1},
40 {"label":"|", "x":13.5, "y":1, "w":1.5},
41
42 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
43 {"label":"A", "x":1.75, "y":2},
44 {"label":"S", "x":2.75, "y":2},
45 {"label":"D", "x":3.75, "y":2},
46 {"label":"F", "x":4.75, "y":2},
47 {"label":"G", "x":5.75, "y":2},
48 {"label":"H", "x":6.75, "y":2},
49 {"label":"J", "x":7.75, "y":2},
50 {"label":"K", "x":8.75, "y":2},
51 {"label":"L", "x":9.75, "y":2},
52 {"label":":", "x":10.75, "y":2},
53 {"label":"\"", "x":11.75, "y":2},
54 {"label":"|", "x":12.75, "y":2},
55 {"label":"Enter", "x":13.75, "y":2, "w":1.25},
56
57 {"label":"Shift", "x":0, "y":3, "w":1.25},
58 {"label":"|", "x":1.25, "y":3},
59 {"label":"Z", "x":2.25, "y":3},
60 {"label":"X", "x":3.25, "y":3},
61 {"label":"C", "x":4.25, "y":3},
62 {"label":"V", "x":5.25, "y":3},
63 {"label":"B", "x":6.25, "y":3},
64 {"label":"N", "x":7.25, "y":3},
65 {"label":"M", "x":8.25, "y":3},
66 {"label":"<", "x":9.25, "y":3},
67 {"label":">", "x":10.25, "y":3},
68 {"label":"?", "x":11.25, "y":3},
69 {"label":"Shift", "x":12.25, "y":3, "w":1.75},
70 {"label":"Fn", "x":14, "y":3},
71
72 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
73 {"label":"Win", "x":1.25, "y":4, "w":1.25},
74 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
75 {"label":"Space", "x":3.75, "y":4, "w":6.25},
76 {"label":"Alt", "x":10, "y":4, "w":1.25},
77 {"label":"Win", "x":11.25, "y":4, "w":1.25},
78 {"label":"Menu", "x":12.5, "y":4, "w":1.25},
79 {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
80 ]
81 },
82 "LAYOUT_60_ansi_split_bs_rshift": {
83 "layout": [
84 {"x":0, "y":0},
85 {"x":1, "y":0},
86 {"x":2, "y":0},
87 {"x":3, "y":0},
88 {"x":4, "y":0},
89 {"x":5, "y":0},
90 {"x":6, "y":0},
91 {"x":7, "y":0},
92 {"x":8, "y":0},
93 {"x":9, "y":0},
94 {"x":10, "y":0},
95 {"x":11, "y":0},
96 {"x":12, "y":0},
97 {"x":13, "y":0},
98 {"x":14, "y":0},
99
100 {"x":0, "y":1, "w":1.5},
101 {"x":1.5, "y":1},
102 {"x":2.5, "y":1},
103 {"x":3.5, "y":1},
104 {"x":4.5, "y":1},
105 {"x":5.5, "y":1},
106 {"x":6.5, "y":1},
107 {"x":7.5, "y":1},
108 {"x":8.5, "y":1},
109 {"x":9.5, "y":1},
110 {"x":10.5, "y":1},
111 {"x":11.5, "y":1},
112 {"x":12.5, "y":1},
113 {"x":13.5, "y":1, "w":1.5},
114
115 {"x":0, "y":2, "w":1.75},
116 {"x":1.75, "y":2},
117 {"x":2.75, "y":2},
118 {"x":3.75, "y":2},
119 {"x":4.75, "y":2},
120 {"x":5.75, "y":2},
121 {"x":6.75, "y":2},
122 {"x":7.75, "y":2},
123 {"x":8.75, "y":2},
124 {"x":9.75, "y":2},
125 {"x":10.75, "y":2},
126 {"x":11.75, "y":2},
127 {"x":12.75, "y":2, "w":2.25},
128
129 {"x":0, "y":3, "w":2.25},
130 {"x":2.25, "y":3},
131 {"x":3.25, "y":3},
132 {"x":4.25, "y":3},
133 {"x":5.25, "y":3},
134 {"x":6.25, "y":3},
135 {"x":7.25, "y":3},
136 {"x":8.25, "y":3},
137 {"x":9.25, "y":3},
138 {"x":10.25, "y":3},
139 {"x":11.25, "y":3},
140 {"x":12.25, "y":3, "w":1.75},
141 {"x":14, "y":3},
142
143 {"x":0, "y":4, "w":1.25},
144 {"x":1.25, "y":4, "w":1.25},
145 {"x":2.5, "y":4, "w":1.25},
146 {"x":3.75, "y":4, "w":6.25},
147 {"x":10, "y":4, "w":1.25},
148 {"x":11.25, "y":4, "w":1.25},
149 {"x":12.5, "y":4, "w":1.25},
150 {"x":13.75, "y":4, "w":1.25}
151 ]
152 },
153 "LAYOUT_60_hhkb": {
154 "layout": [
155 {"x":0, "y":0},
156 {"x":1, "y":0},
157 {"x":2, "y":0},
158 {"x":3, "y":0},
159 {"x":4, "y":0},
160 {"x":5, "y":0},
161 {"x":6, "y":0},
162 {"x":7, "y":0},
163 {"x":8, "y":0},
164 {"x":9, "y":0},
165 {"x":10, "y":0},
166 {"x":11, "y":0},
167 {"x":12, "y":0},
168 {"x":13, "y":0},
169 {"x":14, "y":0},
170
171 {"x":0, "y":1, "w":1.5},
172 {"x":1.5, "y":1},
173 {"x":2.5, "y":1},
174 {"x":3.5, "y":1},
175 {"x":4.5, "y":1},
176 {"x":5.5, "y":1},
177 {"x":6.5, "y":1},
178 {"x":7.5, "y":1},
179 {"x":8.5, "y":1},
180 {"x":9.5, "y":1},
181 {"x":10.5, "y":1},
182 {"x":11.5, "y":1},
183 {"x":12.5, "y":1},
184 {"x":13.5, "y":1, "w":1.5},
185
186 {"x":0, "y":2, "w":1.75},
187 {"x":1.75, "y":2},
188 {"x":2.75, "y":2},
189 {"x":3.75, "y":2},
190 {"x":4.75, "y":2},
191 {"x":5.75, "y":2},
192 {"x":6.75, "y":2},
193 {"x":7.75, "y":2},
194 {"x":8.75, "y":2},
195 {"x":9.75, "y":2},
196 {"x":10.75, "y":2},
197 {"x":11.75, "y":2},
198 {"x":12.75, "y":2, "w":2.25},
199
200 {"x":0, "y":3, "w":2.25},
201 {"x":2.25, "y":3},
202 {"x":3.25, "y":3},
203 {"x":4.25, "y":3},
204 {"x":5.25, "y":3},
205 {"x":6.25, "y":3},
206 {"x":7.25, "y":3},
207 {"x":8.25, "y":3},
208 {"x":9.25, "y":3},
209 {"x":10.25, "y":3},
210 {"x":11.25, "y":3},
211 {"x":12.25, "y":3, "w":1.75},
212 {"x":14, "y":3},
213
214 {"x":1.5, "y":4},
215 {"x":2.5, "y":4, "w":1.5},
216 {"x":4, "y":4, "w":7},
217 {"x":11, "y":4, "w":1.5},
218 {"x":12.5, "y":4}
219 ]
220 }
221 }
222}
diff --git a/keyboards/ares/keymaps/default/keymap.c b/keyboards/ares/keymaps/default/keymap.c
new file mode 100644
index 000000000..8b95db507
--- /dev/null
+++ b/keyboards/ares/keymaps/default/keymap.c
@@ -0,0 +1,42 @@
1/*
2Copyright 2019 Evy Dekkers
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include QMK_KEYBOARD_H
19
20enum layer_names {
21 _MA,
22 _FN,
23};
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26
27 [_MA] = LAYOUT_all(
28 KC_ESC, 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_BSLS, KC_BSPC,
29 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,
30 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_BSLS, KC_ENT,
31 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN),
32 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL
33 ),
34 [_FN] = LAYOUT_all(
35 RGB_MOD, BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______
40 )
41
42};
diff --git a/keyboards/ares/readme.md b/keyboards/ares/readme.md
new file mode 100644
index 000000000..a1e04ecf9
--- /dev/null
+++ b/keyboards/ares/readme.md
@@ -0,0 +1,17 @@
1# LSJ Ares
2
3* Keyboard Maintainer: QMK Community
4* Hardware Supported: LSJ Ares PCB
5* Hardware Availability: [2018 Geekhack Group Buy](https://geekhack.org/index.php?topic=93146.0)
6
7Make example for this keyboard (after setting up your build environment):
8
9 make ares:default
10
11Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid))
12
13 make ares:default:flash
14
15**Reset Key**: Hold down the top left key, commonly programmed as *Escape*, while plugging in the keyboard.
16
17See 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/ares/rules.mk b/keyboards/ares/rules.mk
new file mode 100644
index 000000000..194c38c5c
--- /dev/null
+++ b/keyboards/ares/rules.mk
@@ -0,0 +1,19 @@
1# MCU name
2MCU = atmega32a
3
4# Bootloader selection
5BOOTLOADER = bootloadhid
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
16RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
17WS2812_DRIVER = i2c
18
19LAYOUTS = 60_ansi_split_bs_rshift 60_hhkb