summaryrefslogtreecommitdiff
path: root/keyboards/handwired/reclined/keymaps
diff options
context:
space:
mode:
authorDaniel Perrett <perrettdl@googlemail.com>2022-04-13 06:25:19 +0100
committerGitHub <noreply@github.com>2022-04-12 22:25:19 -0700
commita5e41615f729ab1d68e56a59f05dbcad30beadd7 (patch)
tree290ceeb0f5ca670e9c18b51245b78cb52cc79f29 /keyboards/handwired/reclined/keymaps
parent0524a82a88aef8cc2036e7ab1d603b6c78c54fd9 (diff)
[Keyboard] Add userspace pdl and a handwired board (#14199)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/handwired/reclined/keymaps')
-rw-r--r--keyboards/handwired/reclined/keymaps/default/keymap.c26
-rw-r--r--keyboards/handwired/reclined/keymaps/default/readme.md1
-rw-r--r--keyboards/handwired/reclined/keymaps/pdl/config.h23
-rw-r--r--keyboards/handwired/reclined/keymaps/pdl/keymap.c69
-rw-r--r--keyboards/handwired/reclined/keymaps/pdl/rules.mk0
5 files changed, 119 insertions, 0 deletions
diff --git a/keyboards/handwired/reclined/keymaps/default/keymap.c b/keyboards/handwired/reclined/keymaps/default/keymap.c
new file mode 100644
index 0000000000..d814d568c7
--- /dev/null
+++ b/keyboards/handwired/reclined/keymaps/default/keymap.c
@@ -0,0 +1,26 @@
+/* Copyright 2018 Daniel Perrett
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[0] = LAYOUT_ortho_4x12( /* Base */
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
+ KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
+ KC_LCTL, KC_LGUI, KC_LALT, RESET, KC_TAB, KC_SPC, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
+),
+};
+
diff --git a/keyboards/handwired/reclined/keymaps/default/readme.md b/keyboards/handwired/reclined/keymaps/default/readme.md
new file mode 100644
index 0000000000..3818217ad3
--- /dev/null
+++ b/keyboards/handwired/reclined/keymaps/default/readme.md
@@ -0,0 +1 @@
+# The default keymap for reclined \ No newline at end of file
diff --git a/keyboards/handwired/reclined/keymaps/pdl/config.h b/keyboards/handwired/reclined/keymaps/pdl/config.h
new file mode 100644
index 0000000000..3a89a0a4d2
--- /dev/null
+++ b/keyboards/handwired/reclined/keymaps/pdl/config.h
@@ -0,0 +1,23 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#define TAPPING_TERM 200
diff --git a/keyboards/handwired/reclined/keymaps/pdl/keymap.c b/keyboards/handwired/reclined/keymaps/pdl/keymap.c
new file mode 100644
index 0000000000..bb6976de9b
--- /dev/null
+++ b/keyboards/handwired/reclined/keymaps/pdl/keymap.c
@@ -0,0 +1,69 @@
+/*
+This is the keymap for the reclined keyboard
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+Copyright 2017 Art Ortenburger
+Copyright 2018 Daniel Perrett
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include QMK_KEYBOARD_H
+#include "pdl.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_QWERTY] = LAYOUT_wrapper(
+ KC_TAB, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSPC,
+ MY_SESC, _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, MY_SQUO,
+ MY_CBSL, _________________QWERTY_L3_________________, _________________QWERTY_R3_________________, MY_SQUO,
+ KC_LCTL, KC_LGUI, KC_LALT, NUMBRS, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN, MY_AMNU, FUNCTN, MY_CENT
+ ),
+ [_PROXIM] = LAYOUT_wrapper(
+ MY_FESC, _________________PROXIM_L1_________________, _________________PROXIM_R1_________________, KC_BSPC,
+ KC_TAB, _________________PROXIM_L2_________________, _________________PROXIM_R2_________________, MY_ASCL,
+ MY_SBSL, _________________PROXIM_L3_________________, _________________PROXIM_R3_________________, MY_SENT,
+ KC_LCTL, KC_LGUI, KC_LALT, NUMBRS, NAVIGN, KC_SPC, MY_SSPC, NUMBRS, NAVIGN, MY_AMNU, FUNCTN, MY_CENT
+ ),
+ [_NAVIGN] = LAYOUT_wrapper(
+ _______, _________________NAVIGN_L1_________________, _______, _______, _______, _______, _______, _______,
+ _______, _________________NAVIGN_L2_________________, _______, _______, _______, _______, _______, _______,
+ _______, _________________NAVIGN_L3_________________, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_PUNCTN] = LAYOUT_wrapper(
+ _______, _______, _______, _______, _______, _______, _________________PUNCTN_R1_________________, _______,
+ _______, _______, _______, _______, _______, _______, _________________PUNCTN_R2_________________, _______,
+ _______, _______, _______, _______, _______, _______, _________________PUNCTN_R3_________________, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_NUMBRS] = LAYOUT_wrapper(
+ _______, _________________NUMBRS_L1_________________, _______, _______, _______, _______, _______, _______,
+ _______, _________________NUMBRS_L2_________________, _______, _______, _______, _______, _______, _______,
+ _______, _________________NUMBRS_L3_________________, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_CODING] = LAYOUT_wrapper(
+ _______, _______, _______, _______, _______, _______, _________________CODING_R1_________________, _______,
+ _______, _______, _______, _______, _______, _______, _________________CODING_R2_________________, _______,
+ _______, _______, _______, _______, _______, _______, _________________CODING_R3_________________, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [_FUNCTN] = LAYOUT_wrapper(
+ _______, _________________FUNCTN_L1_________________, _________________FUNCTN_R1_________________, MY_CAD,
+ _______, _________________FUNCTN_L2_________________, _________________FUNCTN_R2_________________, KC_PSCR,
+ _______, _________________FUNCTN_L3_________________, _________________FUNCTN_R3_________________, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ )
+};
diff --git a/keyboards/handwired/reclined/keymaps/pdl/rules.mk b/keyboards/handwired/reclined/keymaps/pdl/rules.mk
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/keyboards/handwired/reclined/keymaps/pdl/rules.mk