diff options
| author | Jacob Jerrell <86279411+jjerrell@users.noreply.github.com> | 2021-08-12 09:44:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-12 07:44:15 -0700 |
| commit | 30843f8329315426ff433a40095f1de2b2669e57 (patch) | |
| tree | 0fc462c1b4b4ecaabb8858b6f91da8b36e29b20b /users/jjerrell/jjerrell.h | |
| parent | 1e9d91d4ef5db1a4497767b165303e39069459cb (diff) | |
| download | qmk_firmware-30843f8329315426ff433a40095f1de2b2669e57.tar.gz qmk_firmware-30843f8329315426ff433a40095f1de2b2669e57.zip | |
[Keymap] JJerrell - Add Userspace and ZSA Keyboard Keymaps (#13548)
Diffstat (limited to 'users/jjerrell/jjerrell.h')
| -rw-r--r-- | users/jjerrell/jjerrell.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/users/jjerrell/jjerrell.h b/users/jjerrell/jjerrell.h new file mode 100644 index 000000000..92b95ccc0 --- /dev/null +++ b/users/jjerrell/jjerrell.h | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | /** | ||
| 2 | * Copyright (C) 2021 Jerrell, Jacob <@jjerrell> | ||
| 3 | * | ||
| 4 | * This file is part of qmk_firmware. | ||
| 5 | * | ||
| 6 | * qmk_firmware is free software: you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation, either version 3 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * qmk_firmware is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with qmk_firmware. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #pragma once | ||
| 21 | #include QMK_KEYBOARD_H | ||
| 22 | |||
| 23 | /** QMK Includes **/ | ||
| 24 | #include "version.h" | ||
| 25 | #include "eeprom.h" | ||
| 26 | #include "muse.h" | ||
| 27 | |||
| 28 | #include "process_records.h" | ||
| 29 | #include "wrappers.h" | ||
| 30 | |||
| 31 | /************************* Userspace Layers ************************* | ||
| 32 | * Keymaps can define additional layers by making the first case | ||
| 33 | * equal to `LAYER_SAFE_RANGE` | ||
| 34 | ********************************************************************/ | ||
| 35 | enum userspace_layers { | ||
| 36 | _WORKMAN, | ||
| 37 | _QWERTY, | ||
| 38 | _LOWER, | ||
| 39 | _RAISE, | ||
| 40 | _ADJUST, | ||
| 41 | _SPECIAL, | ||
| 42 | _GAME, | ||
| 43 | LAYER_SAFE_RANGE, | ||
| 44 | }; | ||
| 45 | |||
| 46 | void matrix_scan_keymap(void); | ||
| 47 | layer_state_t layer_state_set_keymap(layer_state_t state); | ||
| 48 | void dip_switch_update_keymap(uint8_t index, bool active); | ||
| 49 | bool music_mask_keymap(uint16_t keycode); | ||
| 50 | layer_state_t default_layer_state_set_keymap(layer_state_t state); | ||
| 51 | void startup_keymap(void); | ||
| 52 | void shutdown_keymap(void); | ||
| 53 | void music_on_keymap(void); | ||
