aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorChase Nordengren <semicolonsnet@users.noreply.github.com>2021-02-20 10:29:08 -0800
committerGitHub <noreply@github.com>2021-02-20 13:29:08 -0500
commita0a67d4f85d01a510f8006edc2b041c1390ce498 (patch)
tree052c6b4f89efc8fead8e557068d83cace368bccd /keyboards
parent6a8379111c340ae41f01cc014fa5aafca23f72b1 (diff)
downloadqmk_firmware-a0a67d4f85d01a510f8006edc2b041c1390ce498.tar.gz
qmk_firmware-a0a67d4f85d01a510f8006edc2b041c1390ce498.zip
adding personal keymaps (#11952)
* adding personal keymaps * Update keyboards/xd60/keymaps/semicolonsnet/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * added license * added license Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/sixkeyboard/keymaps/semicolonsnet/keymap.c42
-rw-r--r--keyboards/sixkeyboard/keymaps/semicolonsnet/readme.md29
-rw-r--r--keyboards/xd60/keymaps/semicolonsnet/keymap.c24
-rw-r--r--keyboards/xd60/keymaps/semicolonsnet/readme.md13
4 files changed, 108 insertions, 0 deletions
diff --git a/keyboards/sixkeyboard/keymaps/semicolonsnet/keymap.c b/keyboards/sixkeyboard/keymaps/semicolonsnet/keymap.c
new file mode 100644
index 000000000..86fdc90b6
--- /dev/null
+++ b/keyboards/sixkeyboard/keymaps/semicolonsnet/keymap.c
@@ -0,0 +1,42 @@
1/* Copyright 2021 Chase Nordengren
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 QMK_KEYBOARD_H
18
19
20enum custom_keycodes {
21 QMKPASS = SAFE_RANGE,
22};
23
24bool process_record_user(uint16_t keycode, keyrecord_t *record) {
25 switch (keycode) {
26 case QMKPASS:
27 if (record->event.pressed) {
28 // when keycode QMKPASS is pressed
29 SEND_STRING("Sample string");
30 } else {
31 // when keycode QMKPASS is released
32 }
33 break;
34 }
35 return true;
36};
37
38
39const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
40 [0] = LAYOUT(KC_ESC, SGUI(KC_R), SGUI(KC_S), QMKPASS, SGUI(KC_A), SGUI(KC_V))
41};
42
diff --git a/keyboards/sixkeyboard/keymaps/semicolonsnet/readme.md b/keyboards/sixkeyboard/keymaps/semicolonsnet/readme.md
new file mode 100644
index 000000000..e791b12a6
--- /dev/null
+++ b/keyboards/sixkeyboard/keymaps/semicolonsnet/readme.md
@@ -0,0 +1,29 @@
1Techkeys SixKeyBoard
2===
3
4Keyboard Maintainer: QMK Community
5Hardware Supported: Techkeys SixKeyBoard PCB
6Hardware Availability: [Techkeys](http://techkeys.us/collections/accessories/products/sixkeyboard)
7
8Make example for this keyboard (after setting up your build environment):
9
10 make sixkeyboard:semicolonsnet
11
12See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
13
14## Hardware Info
15
16The schematic is like this:
17
18```
19 switches leds
20,--+--+--. ,--+--+--.
21|C7|B7|B5| |C6|B6|B4|
22+--+--+--+ +--+--+--+
23|D6|D1|D4| |D5|D2|D3|
24`--+--+--' `--+--+--'
25```
26
27The LED on the bottom is `C4`. All 7 of the leds are turned on when the keyboard boots-up in the `sixkeyboard.c` file - backlight_enable is not required. The MCU is an Atmega16u2, so the flash memory is limited to 0x3000 bytes - the current setup uses just about all of that! I'm sure things can be opitimised a bit.
28
29There is a jumper on the bottom of the board (next to the USB port) that serves as a reset button - I drilled a hole in my case to allow for quick access via a screwdriver/metal object.
diff --git a/keyboards/xd60/keymaps/semicolonsnet/keymap.c b/keyboards/xd60/keymaps/semicolonsnet/keymap.c
new file mode 100644
index 000000000..7b1bacf0f
--- /dev/null
+++ b/keyboards/xd60/keymaps/semicolonsnet/keymap.c
@@ -0,0 +1,24 @@
1/* Copyright 2021 Chase Nordengren
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 QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 [0] = LAYOUT_all(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_BSPC, KC_GRV, 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, MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT, KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_SLSH), KC_UP, KC_DEL, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
21 [1] = LAYOUT_all(KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_F13, KC_F14, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_VOLU, KC_VOLD, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LCAG(KC_SCLN), LCAG(KC_QUOT), KC_NO, KC_TRNS, KC_TRNS, KC_NO, LCAG(KC_Z), LCAG(KC_X), LCAG(KC_ASTR), LCAG(KC_V), LCAG(KC_B), LCAG(KC_N), LCAG(KC_M), LCAG(KC_COMM), KC_INS, KC_DEL, KC_TRNS, KC_PGUP, KC_INS, KC_TRNS, KC_TRNS, KC_TRNS, LCAG(KC_SPC), KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END)
22};
23
24// Loop
diff --git a/keyboards/xd60/keymaps/semicolonsnet/readme.md b/keyboards/xd60/keymaps/semicolonsnet/readme.md
new file mode 100644
index 000000000..b8a3ac4ff
--- /dev/null
+++ b/keyboards/xd60/keymaps/semicolonsnet/readme.md
@@ -0,0 +1,13 @@
1# Semicolonsnet Keymap for XIUDI's 60% XD60 PCB
2
3![Semicolonsnet Keymap for XD60](https://i.imgur.com/VZygOqK.png)
4
5## Additional Notes
6Custom Keymap for XD60 - uses a META key and lots of shortcut keys that are later software controlled
7
8## Build
9
10To build the default keymap, simply run:
11
12 make xd60/rev2:default # XD60 rev2
13 make xd60/rev3:default # XD60 rev3 \ No newline at end of file