Skip to content

Commit 0629a91

Browse files
pdldrashnazvecrfauxparknoroadsleft
authored andcommitted
[Keyboard] Add userspace pdl and a handwired board (qmk#14199)
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: James Young <[email protected]>
1 parent 8a675f8 commit 0629a91

File tree

25 files changed

+1104
-0
lines changed

25 files changed

+1104
-0
lines changed

keyboards/crkbd/keymaps/pdl/config.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
This is the c configuration file for the keymap
3+
4+
Copyright 2012 Jun Wako <[email protected]>
5+
Copyright 2015 Jack Humbert
6+
Copyright 2021 Daniel Perrett
7+
8+
This program is free software: you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation, either version 2 of the License, or
11+
(at your option) any later version.
12+
13+
This program is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
18+
You should have received a copy of the GNU General Public License
19+
along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
*/
21+
22+
#pragma once
23+
24+
25+
#define TAPPING_TOGGLE 2
26+
#define TAPPING_TERM 200
27+
28+
#define COMBO_PDL
29+
#define COMBO_COUNT 28
30+
#define COMBO_TERM 100

keyboards/crkbd/keymaps/pdl/keymap.c

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/* Copyright 2022 Daniel Perrett
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+
#include "pdl.h"
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
[_QWERTY] = LAYOUT_wrapper(
21+
MY_FESC, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSPC,
22+
KC_TAB, _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, MY_SQUO,
23+
MY_SBSL, _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, MY_CENT,
24+
KC_LCTL, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN
25+
),
26+
[_PROXIM] = LAYOUT_wrapper(
27+
MY_FESC, _________________PROXIM_L1_________________, _________________PROXIM_R1_________________, KC_BSPC,
28+
KC_TAB, _________________PROXIM_L2_________________, _________________PROXIM_R2_________________, MY_ASCL,
29+
MY_SBSL, _________________PROXIM_L3_________________, _________________PROXIM_R3_________________, MY_CENT,
30+
KC_LCTL, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN
31+
),
32+
[_NAVIGN] = LAYOUT_wrapper(
33+
_______, _________________NAVIGN_L1_________________, _______, _______, _______, _______, _______, _______,
34+
_______, _________________NAVIGN_L2_________________, _______, _______, _______, _______, _______, _______,
35+
_______, _________________NAVIGN_L3_________________, _______, _______, _______, _______, _______, _______,
36+
_______, _______, _______, _______, _______, _______
37+
),
38+
[_PUNCTN] = LAYOUT_wrapper(
39+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R1_________________, _______,
40+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R2_________________, _______,
41+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R3_________________, _______,
42+
_______, _______, _______, _______, _______, _______
43+
),
44+
[_NUMBRS] = LAYOUT_wrapper(
45+
_______, _________________NUMBRS_L1_________________, _______, _______, _______, _______, _______, _______,
46+
_______, _________________NUMBRS_L2_________________, _______, _______, _______, _______, _______, _______,
47+
_______, _________________NUMBRS_L3_________________, _______, _______, _______, _______, _______, _______,
48+
_______, _______, _______, _______, _______, _______
49+
),
50+
[_CODING] = LAYOUT_wrapper(
51+
_______, _______, _______, _______, _______, _______, _________________CODING_R1_________________, _______,
52+
_______, _______, _______, _______, _______, _______, _________________CODING_R2_________________, _______,
53+
_______, _______, _______, _______, _______, _______, _________________CODING_R3_________________, _______,
54+
_______, _______, _______, _______, _______, _______
55+
),
56+
[_FUNCTN] = LAYOUT_wrapper(
57+
_______, _________________FUNCTN_L1_________________, _________________FUNCTN_R1_________________, MY_CAD,
58+
_______, _________________FUNCTN_L2_________________, _________________FUNCTN_R2_________________, KC_PSCR,
59+
_______, _________________FUNCTN_L3_________________, _________________FUNCTN_R3_________________, _______,
60+
_______, _______, _______, _______, _______, _______
61+
)
62+
};
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
This is the c configuration file for the keymap
3+
4+
Copyright 2012 Jun Wako <[email protected]>
5+
Copyright 2015 Jack Humbert
6+
Copyright 2021 Daniel Perrett
7+
8+
This program is free software: you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License as published by
10+
the Free Software Foundation, either version 2 of the License, or
11+
(at your option) any later version.
12+
13+
This program is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
18+
You should have received a copy of the GNU General Public License
19+
along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
*/
21+
22+
#pragma once
23+
24+
25+
#define TAPPING_TOGGLE 2
26+
#define TAPPING_TERM 200
27+
28+
#define COMBO_PDL
29+
#define COMBO_COUNT 28
30+
#define COMBO_TERM 100
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/* Copyright 2021 Daniel Perrett
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+
#include "pdl.h"
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
[_QWERTY] = LAYOUT_wrapper(
21+
MY_FESC, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSPC,
22+
KC_TAB, _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, MY_SQUO,
23+
MY_SBSL, _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, KC_RSFT,
24+
KC_LCTL, KC_LGUI, KC_LALT, NUMBRS, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN, MY_AMNU, FUNCTN, MY_CENT
25+
),
26+
[_PROXIM] = LAYOUT_wrapper(
27+
MY_FESC, _________________PROXIM_L1_________________, _________________PROXIM_R1_________________, KC_BSPC,
28+
KC_TAB, _________________PROXIM_L2_________________, _________________PROXIM_R2_________________, MY_ASCL,
29+
MY_SBSL, _________________PROXIM_L3_________________, _________________PROXIM_R3_________________, KC_RSFT,
30+
KC_LCTL, KC_LGUI, KC_LALT, NUMBRS, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN, MY_AMNU, FUNCTN, MY_CENT
31+
),
32+
[_NAVIGN] = LAYOUT_wrapper(
33+
_______, _________________NAVIGN_L1_________________, _______, _______, _______, _______, _______, _______,
34+
_______, _________________NAVIGN_L2_________________, _______, _______, _______, _______, _______, _______,
35+
_______, _________________NAVIGN_L3_________________, _______, _______, _______, _______, _______, _______,
36+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
37+
),
38+
[_PUNCTN] = LAYOUT_wrapper(
39+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R1_________________, _______,
40+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R2_________________, _______,
41+
_______, _______, _______, _______, _______, _______, _________________PUNCTN_R3_________________, _______,
42+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
43+
),
44+
[_NUMBRS] = LAYOUT_wrapper(
45+
_______, _________________NUMBRS_L1_________________, _______, _______, _______, _______, _______, _______,
46+
_______, _________________NUMBRS_L2_________________, _______, _______, _______, _______, _______, _______,
47+
_______, _________________NUMBRS_L3_________________, _______, _______, _______, _______, _______, _______,
48+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
49+
),
50+
[_CODING] = LAYOUT_wrapper(
51+
_______, _______, _______, _______, _______, _______, _________________CODING_R1_________________, _______,
52+
_______, _______, _______, _______, _______, _______, _________________CODING_R2_________________, _______,
53+
_______, _______, _______, _______, _______, _______, _________________CODING_R3_________________, _______,
54+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
55+
),
56+
[_FUNCTN] = LAYOUT_wrapper(
57+
_______, _________________FUNCTN_L1_________________, _________________FUNCTN_R1_________________, MY_CAD,
58+
_______, _________________FUNCTN_L2_________________, _________________FUNCTN_R2_________________, KC_PSCR,
59+
_______, _________________FUNCTN_L3_________________, _________________FUNCTN_R3_________________, _______,
60+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
61+
)
62+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# A keymap for cornelius used by pdl

keyboards/handwired/reclined/config.h

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/*
2+
Copyright 2018 Daniel Perrett
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+
23+
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
24+
#define LOCKING_SUPPORT_ENABLE
25+
26+
/* Locking resynchronize hack */
27+
#define LOCKING_RESYNC_ENABLE
28+
29+
/*
30+
* Force NKRO
31+
*
32+
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
33+
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
34+
* makefile for this to work.)
35+
*
36+
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
37+
* until the next keyboard reset.
38+
*
39+
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
40+
* fully operational during normal computer usage.
41+
*
42+
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
43+
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
44+
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
45+
* power-up.
46+
*
47+
*/
48+
//#define FORCE_NKRO
49+
50+
51+
/*
52+
* Feature disable options
53+
* These options are also useful to firmware size reduction.
54+
*/
55+
56+
/* disable debug print */
57+
//#define NO_DEBUG
58+
59+
/* disable print */
60+
//#define NO_PRINT
61+
62+
/* disable action features */
63+
//#define NO_ACTION_LAYER
64+
//#define NO_ACTION_TAPPING
65+
//#define NO_ACTION_ONESHOT
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"manufacturer": "pdl",
3+
"keyboard_name": "handwired/reclined",
4+
"maintainer": "qmk",
5+
"bootloader": "atmel-dfu",
6+
"debounce": 5,
7+
"diode_direction": "ROW2COL",
8+
"features": {
9+
"audio": false,
10+
"backlight": false,
11+
"bootmagic": false,
12+
"command": true,
13+
"console": true,
14+
"extrakey": true,
15+
"mousekey": true,
16+
"nkro": false,
17+
"sleep_led": false,
18+
"unicode": false
19+
},
20+
"matrix_pins": {
21+
"cols": ["B2", "F4", "B3", "F5", "B1", "F6", "D4", "D7", "D0", "E6", "D1", "B4"],
22+
"rows": ["D3", "C6", "B6", "B5"]
23+
},
24+
"processor": "atmega32u4",
25+
"usb": {
26+
"device_ver": "0x0001",
27+
"pid": "0x0000",
28+
"vid": "0xFEED"
29+
},
30+
"community_layouts": ["ortho_4x12"],
31+
"layouts": {
32+
"LAYOUT_ortho_4x12": {
33+
"c_macro": true,
34+
"filename": "keyboards/handwired/reclined/reclined.h",
35+
"layout": [
36+
{ "label": "k00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
37+
{ "label": "k01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 },
38+
{ "label": "k02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0 },
39+
{ "label": "k03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0 },
40+
{ "label": "k04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0 },
41+
{ "label": "k05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0 },
42+
{ "label": "k06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0 },
43+
{ "label": "k07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0 },
44+
{ "label": "k08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0 },
45+
{ "label": "k09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0 },
46+
{ "label": "k0a", "matrix": [0, 10], "w": 1, "x": 10, "y": 0 },
47+
{ "label": "k0b", "matrix": [0, 11], "w": 1, "x": 11, "y": 0 },
48+
{ "label": "k10", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 },
49+
{ "label": "k11", "matrix": [1, 1], "w": 1, "x": 1, "y": 1 },
50+
{ "label": "k12", "matrix": [1, 2], "w": 1, "x": 2, "y": 1 },
51+
{ "label": "k13", "matrix": [1, 3], "w": 1, "x": 3, "y": 1 },
52+
{ "label": "k14", "matrix": [1, 4], "w": 1, "x": 4, "y": 1 },
53+
{ "label": "k15", "matrix": [1, 5], "w": 1, "x": 5, "y": 1 },
54+
{ "label": "k16", "matrix": [1, 6], "w": 1, "x": 6, "y": 1 },
55+
{ "label": "k17", "matrix": [1, 7], "w": 1, "x": 7, "y": 1 },
56+
{ "label": "k18", "matrix": [1, 8], "w": 1, "x": 8, "y": 1 },
57+
{ "label": "k19", "matrix": [1, 9], "w": 1, "x": 9, "y": 1 },
58+
{ "label": "k1a", "matrix": [1, 10], "w": 1, "x": 10, "y": 1 },
59+
{ "label": "k1b", "matrix": [1, 11], "w": 1, "x": 11, "y": 1 },
60+
{ "label": "k20", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 },
61+
{ "label": "k21", "matrix": [2, 1], "w": 1, "x": 1, "y": 2 },
62+
{ "label": "k22", "matrix": [2, 2], "w": 1, "x": 2, "y": 2 },
63+
{ "label": "k23", "matrix": [2, 3], "w": 1, "x": 3, "y": 2 },
64+
{ "label": "k24", "matrix": [2, 4], "w": 1, "x": 4, "y": 2 },
65+
{ "label": "k25", "matrix": [2, 5], "w": 1, "x": 5, "y": 2 },
66+
{ "label": "k26", "matrix": [2, 6], "w": 1, "x": 6, "y": 2 },
67+
{ "label": "k27", "matrix": [2, 7], "w": 1, "x": 7, "y": 2 },
68+
{ "label": "k28", "matrix": [2, 8], "w": 1, "x": 8, "y": 2 },
69+
{ "label": "k29", "matrix": [2, 9], "w": 1, "x": 9, "y": 2 },
70+
{ "label": "k2a", "matrix": [2, 10], "w": 1, "x": 10, "y": 2 },
71+
{ "label": "k2b", "matrix": [2, 11], "w": 1, "x": 11, "y": 2 },
72+
{ "label": "k30", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 },
73+
{ "label": "k31", "matrix": [3, 1], "w": 1, "x": 1, "y": 3 },
74+
{ "label": "k32", "matrix": [3, 2], "w": 1, "x": 2, "y": 3 },
75+
{ "label": "k33", "matrix": [3, 3], "w": 1, "x": 3, "y": 3 },
76+
{ "label": "k34", "matrix": [3, 4], "w": 1, "x": 4, "y": 3 },
77+
{ "label": "k35", "matrix": [3, 5], "w": 1, "x": 5, "y": 3 },
78+
{ "label": "k36", "matrix": [3, 6], "w": 1, "x": 6, "y": 3 },
79+
{ "label": "k37", "matrix": [3, 7], "w": 1, "x": 7, "y": 3 },
80+
{ "label": "k38", "matrix": [3, 8], "w": 1, "x": 8, "y": 3 },
81+
{ "label": "k39", "matrix": [3, 9], "w": 1, "x": 9, "y": 3 },
82+
{ "label": "k3a", "matrix": [3, 10], "w": 1, "x": 10, "y": 3 },
83+
{ "label": "k3b", "matrix": [3, 11], "w": 1, "x": 11, "y": 3 }
84+
]
85+
}
86+
}
87+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* Copyright 2018 Daniel Perrett
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+
[0] = LAYOUT_ortho_4x12( /* Base */
20+
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
21+
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
22+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
23+
KC_LCTL, KC_LGUI, KC_LALT, RESET, KC_TAB, KC_SPC, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
24+
),
25+
};
26+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# The default keymap for reclined
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
This is the c configuration file for the keymap
3+
4+
Copyright 2012 Jun Wako <[email protected]>
5+
Copyright 2015 Jack Humbert
6+
7+
This program is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as published by
9+
the Free Software Foundation, either version 2 of the License, or
10+
(at your option) any later version.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
*/
20+
21+
#pragma once
22+
23+
#define TAPPING_TERM 200

0 commit comments

Comments
 (0)