Skip to content

Commit 77bb907

Browse files
Albert-IVdrashnafauxpark
authored
[Keyboard] Added A. Dux keyboard configurations (#14320)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
1 parent c6f92e3 commit 77bb907

File tree

13 files changed

+768
-0
lines changed

13 files changed

+768
-0
lines changed

keyboards/a_dux/a_dux.c

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
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 "a_dux.h"

keyboards/a_dux/a_dux.h

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
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 "quantum.h"
18+
19+
/* This a shortcut to help you visually see your layout.
20+
*
21+
* The first section contains all of the arguments representing the physical
22+
* layout of the board and position of the keys.
23+
*
24+
* The second converts the arguments into a two-dimensional array which
25+
* represents the switch matrix.
26+
*/
27+
28+
// readability
29+
#define ___ KC_NO
30+
31+
#define LAYOUT( \
32+
L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \
33+
L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \
34+
L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \
35+
L16, L17, R16, R17 \
36+
) \
37+
{ \
38+
{ L01, L02, L03, L04, L05 }, \
39+
{ L06, L07, L08, L09, L10 }, \
40+
{ L11, L12, L13, L14, L15 }, \
41+
{ L16, L17, ___, ___ , ___}, \
42+
{ R01, R02, R03, R04, R05 }, \
43+
{ R06, R07, R08, R09, R10 }, \
44+
{ R11, R12, R13, R14, R15 }, \
45+
{ R16, R17, ___, ___, ___ } \
46+
}
47+

keyboards/a_dux/config.h

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
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 "config_common.h"
20+
21+
/* USB Device descriptor parameter */
22+
#define VENDOR_ID 0xC2AB
23+
#define PRODUCT_ID 0x3939
24+
#define DEVICE_VER 0x0001
25+
#define MANUFACTURER tapioki
26+
#define PRODUCT Architeuthis dux
27+
28+
/* key matrix size */
29+
#define MATRIX_ROWS 8
30+
#define MATRIX_COLS 5
31+
32+
/*
33+
* Keyboard Matrix Assignments
34+
*
35+
* Change this to how you wired your keyboard
36+
* COLS: AVR pins used for columns, left to right
37+
* ROWS: AVR pins used for rows, top to bottom
38+
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39+
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40+
* NO_DIODE = switches are directly connected to AVR pins
41+
*
42+
*/
43+
#define DIRECT_PINS { \
44+
{ C6, D2, F7, B2, F4 }, \
45+
{ D7, D0, F6, B3, F5 }, \
46+
{ E6, D4, D3, B1, B6 }, \
47+
{ B4, B5, NO_PIN, NO_PIN, NO_PIN } \
48+
}
49+
50+
#define DIRECT_PINS_RIGHT { \
51+
{ F4, B2, F7, D2, C6 }, \
52+
{ F5, B3, F6, D0, D7 }, \
53+
{ B6, B1, D3, D4, E6 }, \
54+
{ B5, B4, NO_PIN, NO_PIN, NO_PIN } \
55+
}
56+
57+
58+
59+
#define UNUSED_PINS
60+
61+
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
62+
#define DEBOUNCE 5
63+
64+
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
65+
#define LOCKING_SUPPORT_ENABLE
66+
67+
/* Locking resynchronize hack */
68+
#define LOCKING_RESYNC_ENABLE
69+
70+
/* Serial settings */
71+
#define USE_SERIAL
72+
73+
/* serial.c configuration for split keyboard */
74+
#define SOFT_SERIAL_PIN D1
75+
76+
#define EE_HANDS

keyboards/a_dux/info.json

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"keyboard_name": "Architeuthis dux",
3+
"url": "https://github.com/tapioki/cephalopoda",
4+
"maintainer": "@tapioki",
5+
"layouts": {
6+
"LAYOUT": {
7+
"layout": [
8+
{"x": 0, "y": 0.93},
9+
{"x": 1, "y": 0.31},
10+
{"x": 2, "y": 0},
11+
{"x": 3, "y": 0.28},
12+
{"x": 4, "y": 0.42},
13+
14+
{"x": 7, "y": 0.42},
15+
{"x": 8, "y": 0.28},
16+
{"x": 9, "y": 0},
17+
{"x": 10, "y": 0.31},
18+
{"x": 11, "y": 0.93},
19+
20+
{"x": 0, "y": 1.93},
21+
{"x": 1, "y": 1.31},
22+
{"x": 2, "y": 1},
23+
{"x": 3, "y": 1.28},
24+
{"x": 4, "y": 1.42},
25+
26+
{"x": 7, "y": 1.42},
27+
{"x": 8, "y": 1.28},
28+
{"x": 9, "y": 1},
29+
{"x": 10, "y": 1.31},
30+
{"x": 11, "y": 1.93},
31+
32+
{"x": 0, "y": 2.93},
33+
{"x": 1, "y": 2.31},
34+
{"x": 2, "y": 2},
35+
{"x": 3, "y": 2.28},
36+
{"x": 4, "y": 2.42},
37+
38+
{"x": 7, "y": 2.42},
39+
{"x": 8, "y": 2.28},
40+
{"x": 9, "y": 2},
41+
{"x": 10, "y": 2.31},
42+
{"x": 11, "y": 2.93},
43+
44+
{"x": 3.5, "y": 3.75},
45+
{"x": 4.5, "y": 4},
46+
47+
{"x": 6.5, "y": 4},
48+
{"x": 7.5, "y": 3.75}
49+
]
50+
}
51+
}
52+
}
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
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+
// Set the mouse settings to a comfortable speed/accuracy trade-off,
20+
// assuming a screen refresh rate of 60 Htz or higher
21+
// The default is 50. This makes the mouse ~3 times faster and more accurate
22+
#define MOUSEKEY_INTERVAL 16
23+
// The default is 20. Since we made the mouse about 3 times faster with the previous setting,
24+
// give it more time to accelerate to max speed to retain precise control over short distances.
25+
#define MOUSEKEY_TIME_TO_MAX 40
26+
// The default is 300. Let's try and make this as low as possible while keeping the cursor responsive
27+
#define MOUSEKEY_DELAY 100
28+
// It makes sense to use the same delay for the mouseweel
29+
#define MOUSEKEY_WHEEL_DELAY 100
30+
// The default is 100
31+
#define MOUSEKEY_WHEEL_INTERVAL 50
32+
// The default is 40
33+
#define MOUSEKEY_WHEEL_TIME_TO_MAX 100
34+
35+
// Pick good defaults for enabling homerow modifiers
36+
#define TAPPING_TERM 200
37+
#define PERMISSIVE_HOLD
38+
#define IGNORE_MOD_TAP_INTERRUPT
39+
#define TAPPING_FORCE_HOLD
+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{ "version": 1,
2+
"notes": "My awesome keymap",
3+
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
4+
"keyboard": "a_dux",
5+
"keymap": "default",
6+
"layout": "LAYOUT",
7+
"layers": [
8+
["KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T",
9+
"KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P",
10+
11+
"LSFT_T(KC_A)", "LT(5,KC_S)" , "LT(1,KC_D)" , "LT(3,KC_F)" , "KC_G",
12+
"KC_H" , "LT(4,KC_J)" , "LT(2,KC_K)" , "LT(6,KC_L)" , "LSFT_T(KC_SCLN)",
13+
14+
"KC_Z" , "LCTL_T(KC_X)", "LALT_T(KC_C)" , "KC_V" , "KC_B",
15+
"KC_N" , "KC_M" , "LALT_T(KC_COMM)", "LCTL_T(KC_DOT)", "KC_SLSH",
16+
17+
"KC_P0" , "KC_BSPC",
18+
"LT(7,KC_SPC)", "KC_P1"
19+
],
20+
["KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
21+
"KC_TRNS" , "KC_BTN1" , "KC_WH_U" , "KC_BTN2" , "KC_TRNS",
22+
23+
"KC_TRNS" , "KC_BTN2" , "KC_NO" , "KC_BTN1" , "KC_TRNS",
24+
"KC_TRNS" , "KC_MS_L" , "KC_MS_D" , "KC_MS_U" , "KC_MS_R",
25+
26+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
27+
"KC_TRNS" , "KC_WH_L" , "KC_WH_D" , "KC_WH_R" , "KC_TRNS",
28+
29+
"KC_TRNS" , "KC_TRNS",
30+
"KC_TRNS" , "KC_TRNS"
31+
],
32+
["KC_TRNS" , "KC_TRNS" , "KC_PGUP" , "KC_TRNS" , "KC_TRNS",
33+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
34+
35+
"KC_LEFT" , "KC_UP" , "KC_DOWN" , "KC_RGHT" , "KC_TRNS",
36+
"KC_TRNS" , "KC_LGUI" , "KC_NO" , "LCTL(KC_LALT)" , "LCA(KC_LSFT)",
37+
38+
"KC_TRNS" , "KC_HOME" , "KC_PGDN" , "KC_END" , "KC_TRNS",
39+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
40+
41+
"KC_TRNS" , "KC_TRNS",
42+
"KC_TRNS" , "KC_TRNS"
43+
],
44+
["KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
45+
"KC_TRNS" , "KC_UNDS" , "KC_PIPE" , "KC_QUOT" , "KC_TRNS",
46+
47+
"KC_CIRC" , "KC_ASTR" , "KC_AMPR" , "KC_NO" , "KC_TRNS",
48+
"KC_HASH" , "KC_TILD" , "KC_SLSH" , "KC_DQUO" , "KC_DLR",
49+
50+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
51+
"KC_TRNS" , "KC_MINS" , "KC_BSLS" , "KC_GRV" , "KC_TRNS",
52+
53+
"KC_TRNS" , "KC_TRNS",
54+
"KC_TRNS" , "KC_TRNS"
55+
],
56+
["KC_TRNS" , "KC_COLN" , "KC_LT" , "KC_GT" , "KC_SCLN",
57+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
58+
59+
"KC_LCBR" , "KC_RCBR" , "KC_LPRN" , "KC_RPRN" , "KC_AT",
60+
"KC_TRNS" , "KC_NO" , "KC_EQL" , "KC_PLUS" , "KC_PERC",
61+
62+
"KC_TRNS" , "KC_EXLM" , "KC_LBRC" , "KC_RBRC" , "KC_TRNS",
63+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
64+
65+
"KC_VOLD" , "KC_TRNS",
66+
"KC_TRNS" , "KC_VOLU"
67+
],
68+
["KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
69+
"KC_TRNS" , "KC_F7" , "KC_F8" , "KC_F9" , "KC_F10",
70+
71+
"KC_TRNS" , "KC_NO" , "LCTL(KC_LALT)" , "KC_TRNS" , "KC_TRNS",
72+
"KC_TRNS" , "KC_F4" , "KC_F5" , "KC_F6" , "KC_F11",
73+
74+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
75+
"KC_TRNS" , "KC_F1" , "KC_F2" , "KC_F3" , "KC_F12",
76+
77+
"KC_TRNS" , "KC_TRNS",
78+
"KC_TRNS" , "KC_TRNS"
79+
],
80+
["KC_PSLS" , "KC_7" , "KC_8" , "KC_9" , "KC_PPLS",
81+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
82+
83+
"KC_0" , "KC_1" , "KC_2" , "KC_3" , "KC_PMNS",
84+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_NO" , "KC_TRNS",
85+
86+
"KC_PAST" , "KC_4" , "KC_5" , "KC_6" , "KC_PEQL",
87+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
88+
89+
"KC_TRNS" , "KC_TRNS",
90+
"KC_TRNS" , "KC_TRNS"
91+
],
92+
["KC_TRNS" , "KC_TRNS" , "KC_COLN" , "KC_ESC" , "KC_TRNS",
93+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_DEL",
94+
95+
"KC_TRNS" , "KC_PERC" , "KC_SLSH" , "KC_ENT" , "KC_TRNS",
96+
"DF(1)" , "KC_LGUI" , "KC_TRNS" , "KC_TRNS" , "KC_TRNS",
97+
98+
"KC_TRNS" , "KC_TRNS" , "KC_TRNS" , "KC_EXLM" , "KC_TRNS",
99+
"DF(0)" , "KC_TRNS" , "RALT_T(KC_COMM)", "RCTL_T(KC_DOT)", "RESET",
100+
101+
"KC_TRNS" , "KC_TAB",
102+
"KC_NO" , "KC_TRNS"
103+
]
104+
],
105+
"author": "@pierrec83"
106+
}

0 commit comments

Comments
 (0)