diff options
author | Paulo Pereira <paulomp90@gmail.com> | 2023-04-12 20:28:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 13:28:26 -0600 |
commit | 0382a25e3535c1067bb31faac63ac5fc82132b72 (patch) | |
tree | 1823a061cf0f75dea8850bf7f30c7b9f73a9ae83 /keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h | |
parent | 83dcbefeedc56f6450d0dc90430f8f1003bfb726 (diff) |
[Keymap] Add paulomp90 lily58 keymap (#20327)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h')
-rw-r--r-- | keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h b/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h new file mode 100644 index 0000000000..2097f2bb7e --- /dev/null +++ b/keyboards/lily58/keymaps/paulomp90/features/custom_shift_keys.h @@ -0,0 +1,29 @@ +/* Copyright 2023 Paulo Pereira + * + * 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 3 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 +#include QMK_KEYBOARD_H + +typedef struct { + uint16_t keycode; + uint16_t shifted_keycode; +} custom_shift_key_t; + +extern const custom_shift_key_t custom_shift_keys[]; +extern uint8_t NUM_CUSTOM_SHIFT_KEYS; + +bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record);
\ No newline at end of file |