diff options
author | Dan Hertz <daniel@dhertz.com> | 2022-03-23 09:34:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 09:34:42 -0700 |
commit | 92d38c37ec06aba943464a272886c70ba88e5f68 (patch) | |
tree | a971eb97a5523f86329ef46f6df09da175241bf5 /users/dhertz | |
parent | 74f4682309d23f347d51f2d64481d7f231697133 (diff) | |
download | qmk_firmware-92d38c37ec06aba943464a272886c70ba88e5f68.tar.gz qmk_firmware-92d38c37ec06aba943464a272886c70ba88e5f68.zip |
[Keymap] Add dhertz keychron map v0 (#16571)
Diffstat (limited to 'users/dhertz')
-rw-r--r-- | users/dhertz/dhertz.c | 9 | ||||
-rw-r--r-- | users/dhertz/dhertz.h | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/users/dhertz/dhertz.c b/users/dhertz/dhertz.c index f33981e15b..163b1cb644 100644 --- a/users/dhertz/dhertz.c +++ b/users/dhertz/dhertz.c @@ -1,3 +1,6 @@ +// Copyright 2022 Dan Hertz (@dhertz) +// SPDX-License-Identifier: GPL-3.0 + #include "dhertz.h" // Add reconfigurable functions here, for keymap customization @@ -63,6 +66,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case CMD_SFT_L: SEND_STRING(SS_LGUI("L")); break; + case CMD_SFT_A: + SEND_STRING(SS_LGUI("A")); + break; + case CMD_SFT_ALT_A: + SEND_STRING(SS_LGUI(SS_LALT("A"))); + break; case ISO_COUNTRY_CODE: SEND_STRING("country_iso_alpha2_code"); break; diff --git a/users/dhertz/dhertz.h b/users/dhertz/dhertz.h index aef613f55d..f980329fa5 100644 --- a/users/dhertz/dhertz.h +++ b/users/dhertz/dhertz.h @@ -1,3 +1,6 @@ +// Copyright 2022 Dan Hertz (@dhertz) +// SPDX-License-Identifier: GPL-3.0 + #ifndef USERSPACE #define USERSPACE @@ -15,6 +18,8 @@ enum custom_keycodes { ISO_COUNTRY_CODE, CMD_TAB_CMD, CMD_GRV_CMD, + CMD_SFT_A, + CMD_SFT_ALT_A, NEW_SAFE_RANGE, }; |