summaryrefslogtreecommitdiff
path: root/keyboards/lets_split
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
committerJack Humbert <jack.humb@gmail.com>2018-06-12 10:59:35 -0400
commit998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (patch)
treeca91ff7ad3c4866555d1e623fe9ea05276397e1c /keyboards/lets_split
parentc0095710a7c7e9bd94aa9f4dd814dc28d718c731 (diff)
parent06487daaddf923d635e8a528d1eb644b875a73f6 (diff)
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
Diffstat (limited to 'keyboards/lets_split')
-rw-r--r--keyboards/lets_split/keymaps/bbaserdem/README.md27
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem/config.h27
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem/keymap.c37
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem/rules.mk11
-rw-r--r--keyboards/lets_split/keymaps/bbaserdem_right/README.md5
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem_right/config.h9
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem_right/keymap.c35
-rwxr-xr-xkeyboards/lets_split/keymaps/bbaserdem_right/rules.mk24
-rw-r--r--keyboards/lets_split/keymaps/mtdjr/config.h (renamed from keyboards/lets_split/keymaps/xyverz/config.h)22
-rw-r--r--keyboards/lets_split/keymaps/mtdjr/keymap.c81
-rw-r--r--keyboards/lets_split/keymaps/mtdjr/rules.mk3
-rw-r--r--keyboards/lets_split/keymaps/normacos/keymap.c60
-rw-r--r--keyboards/lets_split/keymaps/normacos/readme.md11
-rw-r--r--keyboards/lets_split/keymaps/xyverz/keymap.c190
-rw-r--r--keyboards/lets_split/matrix.c6
15 files changed, 320 insertions, 228 deletions
diff --git a/keyboards/lets_split/keymaps/bbaserdem/README.md b/keyboards/lets_split/keymaps/bbaserdem/README.md
new file mode 100644
index 0000000000..4b37d73555
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem/README.md
@@ -0,0 +1,27 @@
+# Lets Split Layout
+
+Check out [user readme](../../../../users/bbaserdem/README.md) for more info.
+
+# Usage
+
+**These commands depend on there being no other arduino connected!**
+Also udev rules can be set instead of using sudo.
+Please unplug all other usb devices.
+
+To make the hex files;
+```
+make lets_split/rev2:bbaserdem
+make lets_split/rev2:bbaserdem_right
+```
+
+For the left half, after plugging in and resetting; (from repo main directory)
+```
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -D -U flash:w:.build/lets_split_rev2_bbaserdem.hex
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -U eeprom:w:keyboards/lets_split/eeprom-lefthand.eep
+```
+
+For the right half;
+```
+sudo avrdude -p atmgea34u4 -P "$(ls /dev/ttyACM*)" -c avr109 -D -U flash:w:.build/lets_split_rev2_bbaserdem_right.hex
+sudo avrdude -p atmega32u4 -P "$(ls /dev/ttyACM*)" -c avr109 -U eeprom:w:keyboards/lets_split/eeprom-righhand.eep
+```
diff --git a/keyboards/lets_split/keymaps/bbaserdem/config.h b/keyboards/lets_split/keymaps/bbaserdem/config.h
new file mode 100755
index 0000000000..f908e6d9a8
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem/config.h
@@ -0,0 +1,27 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+#define USE_SERIAL
+#define EE_HANDS
+
+// LED strip stuff
+#ifdef RGBLIGHT_ENABLE
+
+// Who thought it was a good idea to predefine these in the rev2/config.h ???
+#ifdef RGBLED_NUM
+#undef RGBLED_NUM
+#endif
+#define RGBLED_NUM 12
+
+#define RGBLIGHT_HUE_STEP 6
+#define RGBLIGHT_SAT_STEP 12
+#define RGBLIGHT_VAL_STEP 20
+#define RGBLIGHT_ANIMATIONS
+#define RGBLIGHT_EFFECT_SNAKE_LENGTH 6
+#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 2000
+#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
+#endif
+
+#endif
diff --git a/keyboards/lets_split/keymaps/bbaserdem/keymap.c b/keyboards/lets_split/keymaps/bbaserdem/keymap.c
new file mode 100755
index 0000000000..09da67a69f
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem/keymap.c
@@ -0,0 +1,37 @@
+/*
+ * Let's Split - Dvorak turkish
+ * Keymap by @bbaserdem
+ * Dvorak layout with multiple features
+ * Most of the code is in the "user" directory.
+ * Check qmk_firmware/users/bbaserdem for the main part of the code
+ */
+#define KEYMAP(...) LAYOUT_ortho_4x12(__VA_ARGS__)
+
+#include "lets_split.h"
+#include "bbaserdem.h"
+
+
+void matrix_init_keymap (void) {
+}
+
+uint32_t layer_state_set_keymap(uint32_t state) {
+ return state;
+}
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ // Main Dvorak layer
+ [_DV] = DVORAK,
+ // Turkish and special character overlay
+ [_AL] = ALTCHAR,
+ // Gaming layer
+ [_GA] = GAME,
+ // Numbers layer
+ [_NU] = NUMBERS,
+ // Settings layer
+ [_SE] = SETTINGS,
+ // Mouse emulation layer
+ [_MO] = MOUSE,
+#ifdef AUDIO_ENABLE
+ [_MU] = MUSIC,
+#endif
+};
diff --git a/keyboards/lets_split/keymaps/bbaserdem/rules.mk b/keyboards/lets_split/keymaps/bbaserdem/rules.mk
new file mode 100755
index 0000000000..4159db3fee
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem/rules.mk
@@ -0,0 +1,11 @@
+# Build options
+
+BACKLIGHT_ENABLE = no # Switch LEDs
+MOUSEKEY_ENABLE = yes # Emulates mouse key using keypresses
+RGBLIGHT_ENABLE = yes # LED strips
+TAP_DANCE_ENABLE = no # Use multi-tap features
+AUDIO_ENABLE = no # Audio stuff
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif
diff --git a/keyboards/lets_split/keymaps/bbaserdem_right/README.md b/keyboards/lets_split/keymaps/bbaserdem_right/README.md
new file mode 100644
index 0000000000..8608f23f79
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem_right/README.md
@@ -0,0 +1,5 @@
+# Lets Split - Right Half
+
+Keymap for my right half, to be used as a numpad.
+Check [main readme](../bbaserdem/README.md) for flashing info.
+
diff --git a/keyboards/lets_split/keymaps/bbaserdem_right/config.h b/keyboards/lets_split/keymaps/bbaserdem_right/config.h
new file mode 100755
index 0000000000..9b6527db23
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem_right/config.h
@@ -0,0 +1,9 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+#define USE_SERIAL
+#define EE_HANDS
+
+#endif
diff --git a/keyboards/lets_split/keymaps/bbaserdem_right/keymap.c b/keyboards/lets_split/keymaps/bbaserdem_right/keymap.c
new file mode 100755
index 0000000000..c7a81ecb5a
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem_right/keymap.c
@@ -0,0 +1,35 @@
+/*
+ * Let's Split - Dvorak turkish
+ * Keymap by @bbaserdem
+ * Dvorak layout with multiple features
+ * Most of the code is in the "user" directory.
+ * Check qmk_firmware/users/bbaserdem for the main part of the code
+ */
+
+#include "lets_split.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+
+/* Navigation All Supered) Numpad
+ * ,-----------------------. ,-----------------------.
+ * | F4| ` | Q |Alt| L | > | | ) | - | + | = |Ent|Bkp|
+ * |---+---+---+---+---+---| |---+---+---+---+---+---|
+ * | F3| M |Ent|Ctl| K | ^ | | ( | * | 9 | 6 | 3 | . |
+ * |---+---+---+---+---+---| |---+---+---+---+---+---|
+ * | F2| T |Spc|Shf| J | v | | % | / | 8 | 5 | 2 | , |
+ * |---+---+---+---+---+---| |---+---+---+---+---+---|
+ * | F1| F | P |Tab| H | < | |Nlc|Tab| 7 | 4 | 1 | 0 |
+ * `-----------------------' `-----------------------'
+ */
+ // Main Dvorak layer
+ [0] = KEYMAP(
+ LGUI(KC_F4), LGUI(KC_GRV), LGUI(KC_Q), LGUI(KC_LALT), LGUI(KC_L), LGUI(KC_RGHT),
+ KC_RPRN, KC_PMNS, KC_PPLS, KC_PEQL, KC_PENT, KC_BSPC,
+ LGUI(KC_F3), LGUI(KC_M), LGUI(KC_ENT), LGUI(KC_LCTL), LGUI(KC_K), LGUI(KC_UP),
+ KC_LPRN, KC_PAST, KC_P9, KC_P6, KC_P3, KC_PDOT,
+ LGUI(KC_F2), LGUI(KC_T), LGUI(KC_SPC), LGUI(KC_LSFT), LGUI(KC_J), LGUI(KC_DOWN),
+ KC_PERC, KC_PSLS, KC_P8, KC_P5, KC_P2, KC_PCMM,
+ LGUI(KC_F1), LGUI(KC_F), LGUI(KC_P), LGUI(KC_TAB), LGUI(KC_H), LGUI(KC_LEFT),
+ KC_NLCK, KC_TAB, KC_P7, KC_P4, KC_P1, KC_P0 )
+};
diff --git a/keyboards/lets_split/keymaps/bbaserdem_right/rules.mk b/keyboards/lets_split/keymaps/bbaserdem_right/rules.mk
new file mode 100755
index 0000000000..65a64c94f2
--- /dev/null
+++ b/keyboards/lets_split/keymaps/bbaserdem_right/rules.mk
@@ -0,0 +1,24 @@
+# Build options
+
+BACKLIGHT_ENABLE = no # Switch LEDs
+MOUSEKEY_ENABLE = no # Emulates mouse key using keypresses
+RGBLIGHT_ENABLE = no # LED strips
+TAP_DANCE_ENABLE = no # Use multi-tap features
+AUDIO_ENABLE = no # Audio stuff
+BLUETOOTH_ENABLE = no # No bluetooth
+COMMAND_ENABLE = no # Some bootmagic thing
+BOOTMAGIC_ENABLE = no # Access to EEPROM settings, not needed
+CONSOLE_ENABLE = no # Allows console output with a command
+SLEEP_LED_ENABLE = no # Breathes LED's when computer is asleep. Untested.
+NKRO_ENABLE = no # Default is 6KRO which is plenty
+MIDI_ENABLE = no # Untested feature
+FAUXCLICKY_ENABLE = no # Emulates clicks using speaker
+KEY_LOCK_ENABLE = no # Allows locking any key. Not used
+API_SYSEX_ENABLE = no # Allows OS to send signals.
+KEY_LOCK_ENABLE = no # Allows locking any key. Not used
+UNICODE_ENABLE = no # Used for unicode character emulation
+EXTRAKEY_ENABLE = no # OS signals like volume control
+
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif
diff --git a/keyboards/lets_split/keymaps/xyverz/config.h b/keyboards/lets_split/keymaps/mtdjr/config.h
index e37cfe88ab..2b5a193654 100644
--- a/keyboards/lets_split/keymaps/xyverz/config.h
+++ b/keyboards/lets_split/keymaps/mtdjr/config.h
@@ -23,23 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "../../config.h"
-/* Use I2C or Serial, not both */
+#define SOLENOID_ENABLE
+#define SOLENOID_PIN F4
-#define USE_SERIAL
-// #define USE_I2C
+/* Use I2C or Serial, not both */
+// #define USE_SERIAL
+ #define USE_I2C
/* Select hand configuration */
-#define MASTER_LEFT
-// #define MASTER_RIGHT
-// #define EE_HANDS
-
-
-#ifdef SUBPROJECT_rev2
- /* RGB Underglow */
- #undef RGBLED_NUM
- #define RGBLIGHT_ANIMATIONS
- #define RGBLED_NUM 8
-#endif
+// #define MASTER_LEFT
+// #define _MASTER_RIGHT
+#define EE_HANDS
#endif
diff --git a/keyboards/lets_split/keymaps/mtdjr/keymap.c b/keyboards/lets_split/keymaps/mtdjr/keymap.c
new file mode 100644
index 0000000000..72476c7001
--- /dev/null
+++ b/keyboards/lets_split/keymaps/mtdjr/keymap.c
@@ -0,0 +1,81 @@
+#include QMK_KEYBOARD_H
+#include "mtdjr.h"
+
+extern keymap_config_t keymap_config;
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ /* Qwerty
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Esc/~ | A | S | D | F | G | | H | J | K | L | ; | '/" |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | Shift| Z | X | C | V | B | | N | M | , | . | / |Enter |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | Left | Up | Down |Right |
+ * `-----------------------------------------' '-----------------------------------------'
+ */
+ [_QWERTY] = LAYOUT( \
+ 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_EXC, 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 , \
+ ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT \
+ ),
+
+ /* Lower
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | ~ | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | | | [ | ] | { | } | | | 4 | 5 | 6 | * | \ |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Shift | | | copy |insert| | | | 1 | 2 | 3 | + | - |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | 0 | . | = | _ |
+ * `-----------------------------------------' '-----------------------------------------'
+ */
+ [_LOWER] = LAYOUT( \
+ KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, \
+ XXXXXXX, XXXXXXX, KC_LBRC, KC_RBRC, KC_LCBR, KC_RCBR, XXXXXXX, KC_4, KC_5, KC_6, KC_ASTR, KC_BSLS, \
+ _______, XXXXXXX, XXXXXXX, KC_XCPY, KC_XINS, XXXXXXX, XXXXXXX, KC_1, KC_2, KC_3, KC_PLUS, KC_MINS, \
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, KC_EQL, KC_UNDS \
+ ),
+
+
+ /* Raise
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | ` | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Bksp |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | | | | | | | | | | | | \ | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Shift | | | | | | | | | | | | |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * |Adjust| Ctrl | Alt | GUI |Lower |Space | |Space |Raise | Next | Vol- | Vol+ | Play |
+ * `-----------------------------------------' '-----------------------------------------'
+ */
+ [_RAISE] = LAYOUT( \
+ KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BSLS, KC_PIPE,\
+ _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY \
+ ),
+
+ /* Adjust (Lower + Raise)
+ * ,-----------------------------------------. ,-----------------------------------------.
+ * | | Reset| | | | | | ROOT | PPLY | PSEF | | | Del |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | | | |Aud on|Audoff| | | F1 | F2 | F3 | F4 | F5 | F6 |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | | UNDO | CUT | COPY |PASTE | | | F7 | F8 | F9 | F10 | F11 | F12 |
+ * |------+------+------+------+------+------| |------+------+------+------+------+------|
+ * | | | | | | | | | | Home | | | End |
+ * `-----------------------------------------' '-----------------------------------------'
+ */
+ [_ADJUST] = LAYOUT( \
+ KC_STOG, KC_ROOT, KC_PPLY, KC_PSEF, _______, _______, RESET, _______, _______, _______, _______, KC_DEL, \
+ _______, _______, _______, AU_ON, AU_OFF, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, \
+ _______, KC_UNDO, KC_CUT, KC_XCPY, KC_XINS, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \
+ _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, _______, KC_END \
+ )
+}; \ No newline at end of file
diff --git a/keyboards/lets_split/keymaps/mtdjr/rules.mk b/keyboards/lets_split/keymaps/mtdjr/rules.mk
new file mode 100644
index 0000000000..457a3d01d4
--- /dev/null
+++ b/keyboards/lets_split/keymaps/mtdjr/rules.mk
@@ -0,0 +1,3 @@
+ifndef QUANTUM_DIR
+ include ../../../../Makefile
+endif
diff --git a/keyboards/lets_split/keymaps/normacos/keymap.c b/keyboards/lets_split/keymaps/normacos/keymap.c
index 9868fab6ec..8902b7b56f 100644
--- a/keyboards/lets_split/keymaps/normacos/keymap.c
+++ b/keyboards/lets_split/keymaps/normacos/keymap.c
@@ -1,6 +1,5 @@
#include QMK_KEYBOARD_H
-
extern keymap_config_t keymap_config;
// Each layer gets a name for readability, which is then used in the keymap matrix below.
@@ -18,7 +17,7 @@ enum custom_keycodes {
LOWER,
RAISE,
ADJUST,
- SH_SUDO,
+ SH_LOG,
SH_GOUP,
SH_TERM,
SPOT,
@@ -86,7 +85,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* ,-----------------------------------------. ,-----------------------------------------.
* | Tab | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
- * |CtlEsc| Sudo | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
+ * |CtlEsc| Log | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | Shift|ClrHom|ClrEnd|ShHome| ShEnd|Search| | Play | Mute | VolDn| VolUp|ScnSht|SftEnt|
* |------+------+------+------+------+------| |------+------+------+------+------+------|
@@ -95,7 +94,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[_RAISE] = LAYOUT_ortho_4x12( \
_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \
- _______, SH_SUDO, SH_GOUP, SLACK, SH_TERM, OUTLOOK, KC_EQL, KC_MINS, KC_BSLS, KC_LBRC, KC_RBRC, KC_GRV, \
+ _______, SH_LOG, SH_GOUP, SLACK, SH_TERM, OUTLOOK, KC_EQL, KC_MINS, KC_BSLS, KC_LBRC, KC_RBRC, KC_GRV, \
_______, SH_CLRH, SH_CLRE, SH_HOME, SH_END, SH_RSCH, KC_MPLY, KC_MUTE, KC_VOLD, KC_VOLU, SCN_SHT, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
@@ -149,26 +148,51 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case ADJUST:
layer_on(_ADJUST);
return false;
- case SH_SUDO:
- SEND_STRING("sudo !!"SS_TAP(X_ENTER)); // Elevate last command
+ case SH_LOG: // Open Jira log work window
+ SEND_STRING(SS_TAP(X_DOT));
+ _delay_ms(100);
+ SEND_STRING("log work");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
+ return false;
+ case SH_GOUP: // Go up a directory
+ SEND_STRING("cd .."SS_TAP(X_ENTER));
return false;
- case SH_GOUP:
- SEND_STRING("cd .."SS_TAP(X_ENTER)); // Go up a directory
+ case SH_TERM: // Open Terminal
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("terminal");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SH_TERM:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"terminal"SS_TAP(X_ENTER)); // Open Terminal
+ case SPOT: // Open Spotify
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("spotify app");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SPOT:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"spotify app"SS_TAP(X_ENTER)); // Open Spotify
+ case SLACK: // Open Slack
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("slack");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case SLACK:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"slack"SS_TAP(X_ENTER)); // Open Slack
+ case OUTLOOK: // Open MS Outlook
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("outlook");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case OUTLOOK:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"outlook"SS_TAP(X_ENTER)); // Open Outlook
+ case CHROME: // Open Chrome
+ SEND_STRING(SS_LGUI(SS_TAP(X_SPACE)));
+ _delay_ms(100);
+ SEND_STRING("chrome");
+ _delay_ms(100);
+ SEND_STRING(SS_TAP(X_ENTER));
return false;
- case CHROME:
- SEND_STRING(SS_LGUI(SS_TAP(X_SPACE))"chrome"SS_TAP(X_ENTER)); // Open Chrome
}
} else {
switch(keycode) {
diff --git a/keyboards/lets_split/keymaps/normacos/readme.md b/keyboards/lets_split/keymaps/normacos/readme.md
index 5ab245bdfd..3b7a20632b 100644
--- a/keyboards/lets_split/keymaps/normacos/readme.md
+++ b/keyboards/lets_split/keymaps/normacos/readme.md
@@ -1,9 +1,9 @@
# normacos
-This keymap was designed especifically to be used on a MacOS High Sierra system with constant use of the Terminal, as it includes a multitude of macros for both the terminal as well as Spotlight Search.
+This keymap was designed specifically to be used on a MacOS High Sierra system with constant use of the Terminal, as it includes a multitude of macros for both the terminal as well as Spotlight Search.
Norman keyboard layout [info page.](https://normanlayout.info/)
-Some Norman layout keys were placed on different layers and different positions based on available space.
+Some Norman layout keys were placed on different layers and different positions based on available space and preference.
Macros:
@@ -13,7 +13,7 @@ Macros:
- Slack opens Slack through Spotlight Search
- Term opens Terminal through Spotlight Search
- Spot opens Spotify through Spotlight Search
-- Chrome opesn Chrome through Spotlight Search
+- Chrome opens Chrome through Spotlight Search
- OutLk opens Microsoft Outlook through Spotlight Search
- ScnSht allows the user to take a screenshot of a selected portion of the screen
- ClrHom clears Terminal line from beginning of line up to cursor
@@ -21,9 +21,10 @@ Macros:
- ShHome moves Terminal cursor to beginning of line
- ShEnd moves Terminal cursor to end of line
- Search activates Terminal Reverse Search Command History
-- Sudo elevates last Terminal command
+- Log opens the 'Log Work' modal on Atlassian's Jira web client
- UpDir moves working directory to its parent
+All macros that make use of the SEND_STRING command have a 100 millisecond wait before and after "writing" to let the computer/OS/app catch up.
Any and all empty keys shown below are will be set in the future, and do nothing as of the time of this writing.
@@ -62,7 +63,7 @@ Any and all empty keys shown below are will be set in the future, and do nothing
,-----------------------------------------. ,-----------------------------------------.
| Tab | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del |
|------+------+------+------+------+------| |------+------+------+------+------+------|
-|CtlEsc| Sudo | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
+|CtlEsc| Log | UpDir| Slack| Term | OutLk| | = | - | \ | [ | ] | ` |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| Shift|ClrHom|ClrEnd|ShHome| ShEnd|Search| | Play | Mute | VolDn| VolUp|ScnSht|SftEnt|
|------+------+------+------+------+------| |------+------+------+------+------+------|
diff --git a/keyboards/lets_split/keymaps/xyverz/keymap.c b/keyboards/lets_split/keymaps/xyverz/keymap.c
deleted file mode 100644
index 838f579835..0000000000
--- a/keyboards/lets_split/keymaps/xyverz/keymap.c
+++ /dev/null
@@ -1,190 +0,0 @@
-#include QMK_KEYBOARD_H
-
-
-extern keymap_config_t keymap_config;
-
-// Each layer gets a name for readability, which is then used in the keymap matrix below.
-// The underscores don't mean anything - you can have a layer called STUFF or any other name.
-// Layer names don't all need to be of the same length, obviously, and you can also skip them
-// entirely and just use numbers.
-#define _QWERTY 0
-#define _COLEMAK 1
-#define _DVORAK 2
-#define _LOWER 3
-#define _RAISE 4
-#define _ADJUST 16
-
-enum planck_keycodes {
- QWERTY = SAFE_RANGE,
- COLEMAK,
- DVORAK,
- LOWER,
- RAISE,
- ADJUST
-};
-
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* Qwerty
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Esc | A | S | D | F | G | H | J | K | L | ; | " |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Brite| Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Left | Down | Up |Right |
- * `-----------------------------------------------------------------------------------'
- */
-[_QWERTY] = LAYOUT ( \
- 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_RSFT,\
- KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, GUI_T(KC_BSPC), KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_ENT \
-),
-
-/* Colemak
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Esc | A | R | S | T | D | H | N | E | I | O | " |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Brite| Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Left | Down | Up |Right |
- * `-----------------------------------------------------------------------------------'
- */
-[_COLEMAK] = LAYOUT ( \
- KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \
- KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, \
- KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, GUI_T(KC_BSPC), KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_ENT \
-),
-
-/* Dvorak
- * ,-----------------------------------------------------------------------------------.
- * | Tab | " | , | . | P | Y | F | G | C | R | L | / |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Esc | A | O | E | U | I | D | H | T | N | S | - |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | Shift| ; | Q | J | K | X | B | M | W | V | Z | Shift|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | Alt | Left |Right |Lower | Bksp |Space |Raise | Up | Down | GUI |Enter |
- * `-----------------------------------------------------------------------------------'
- */
-[_DVORAK] = LAYOUT ( \
- KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, \
- KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, \
- KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, \
- KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, GUI_T(KC_BSPC), KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_ENT \
-),
-
-/* Lower
- * ,-----------------------------------------------------------------------------------.
- * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Caps | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | F7 | F8 | F9 | F10 | F11 | F12 | | Mute | Vol- | Vol+ | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Brite| | Home | End | | Del | Ins | | PgUp | PgDN | |Enter |
- * `-----------------------------------------------------------------------------------'
- */
-[_LOWER] = LAYOUT ( \
- KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \
- KC_CAPS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \
- _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, \
- _______, _______, KC_HOME, KC_END, _______, KC_DEL, KC_INS, _______, KC_PGUP, KC_PGDN, _______, _______ \
-),
-
-/* Raise
- * ,-----------------------------------------------------------------------------------.
- * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | Caps | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | | F7 | F8 | F9 | F10 | F11 | F12 | | Prev | Play | Next | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Brite| | Home | End | | Del | Ins | | PgUp | PgDN | |Enter |
- * `-----------------------------------------------------------------------------------'
- */
-[_RAISE] = LAYOUT ( \
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, \
- KC_CAPS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \
- _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, \
- _______, _______, KC_HOME, KC_END, _______, KC_DEL, KC_INS, _______, KC_PGUP, KC_PGDN, _______, _______ \
-),
-
-/* Adjust (Lower + Raise)
- * ,-----------------------------------------------------------------------------------.
- * | F11 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F12 |
- * |------+------+------+------+------+-------------+------+------+------+------+------|
- * | | Reset| |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
- * |------+------+------+------+------+------|------+------+------+------+------+------|
- * | |RGB ON| MODE | HUE+ | HUE- | SAT+ | SAT- | VAL+ | VAL- | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | | | |
- * `-----------------------------------------------------------------------------------'
- */
-[_ADJUST] = LAYOUT ( \
- KC_F11, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F12 , \
- _______, RESET, _______, _______, _______, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \
- _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, \
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
-)
-
-
-};
-
-void persistent_default_layer_set(uint16_t default_layer) {
- eeconfig_update_default_layer(default_layer);
- default_layer_set(default_layer);
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case QWERTY:
- if (record->event.pressed) {
- persistent_default_layer_set(1UL<<_QWERTY);
- }
- return false;
- break;
- case COLEMAK:
- if (record->event.pressed) {
- persistent_default_layer_set(1UL<<_COLEMAK);
- }
- return false;
- break;
- case DVORAK:
- if (record->event.pressed) {
- persistent_default_layer_set(1UL<<_DVORAK);
- }
- return false;
- break;
- case LOWER:
- if (record->event.pressed) {
- layer_on(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case RAISE:
- if (record->event.pressed) {
- layer_on(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- }
- return true;
-}
diff --git a/keyboards/lets_split/matrix.c b/keyboards/lets_split/matrix.c
index c3bfe80423..f753d234a1 100644
--- a/keyboards/lets_split/matrix.c
+++ b/keyboards/lets_split/matrix.c
@@ -101,6 +101,10 @@ __attribute__ ((weak))
void matrix_scan_user(void) {
}
+__attribute__ ((weak))
+void matrix_slave_scan_user(void) {
+}
+
inline
uint8_t matrix_rows(void)
{
@@ -157,7 +161,6 @@ uint8_t _matrix_scan(void)
if (matrix_changed) {
debouncing = true;
debouncing_time = timer_read();
- PORTD ^= (1 << 2);
}
# else
@@ -287,6 +290,7 @@ void matrix_slave_scan(void) {
serial_slave_buffer[i] = matrix[offset+i];
}
#endif
+ matrix_slave_scan_user();
}
bool matrix_is_modified(void)