From 3ef06aa732ce8063e11b2f983592529883f7ecbc Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sun, 26 Nov 2023 03:59:18 -0800 Subject: Improve and Cleanup Shutdown callbacks (#21060) Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> --- users/jjerrell/jjerrell.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'users/jjerrell/jjerrell.h') diff --git a/users/jjerrell/jjerrell.h b/users/jjerrell/jjerrell.h index 92b95ccc01..a5488b28ab 100644 --- a/users/jjerrell/jjerrell.h +++ b/users/jjerrell/jjerrell.h @@ -1,18 +1,18 @@ /** * Copyright (C) 2021 Jerrell, Jacob <@jjerrell> - * + * * This file is part of qmk_firmware. - * + * * qmk_firmware 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. - * + * * qmk_firmware 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 qmk_firmware. If not, see . */ @@ -30,7 +30,7 @@ /************************* Userspace Layers ************************* * Keymaps can define additional layers by making the first case - * equal to `LAYER_SAFE_RANGE` + * equal to `LAYER_SAFE_RANGE` ********************************************************************/ enum userspace_layers { _WORKMAN, @@ -49,5 +49,5 @@ void dip_switch_update_keymap(uint8_t index, bool active); bool music_mask_keymap(uint16_t keycode); layer_state_t default_layer_state_set_keymap(layer_state_t state); void startup_keymap(void); -void shutdown_keymap(void); +bool shutdown_keymap(bool jump_to_bootloader); void music_on_keymap(void); -- cgit v1.2.3 From 1ed03f498fa204178c2696c510ac6a2cd8524e2d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 26 Nov 2023 18:36:45 +0000 Subject: Remove userspace keymaps (#22544) --- users/jjerrell/jjerrell.h | 53 ----------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 users/jjerrell/jjerrell.h (limited to 'users/jjerrell/jjerrell.h') diff --git a/users/jjerrell/jjerrell.h b/users/jjerrell/jjerrell.h deleted file mode 100644 index a5488b28ab..0000000000 --- a/users/jjerrell/jjerrell.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright (C) 2021 Jerrell, Jacob <@jjerrell> - * - * This file is part of qmk_firmware. - * - * qmk_firmware 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. - * - * qmk_firmware 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 qmk_firmware. If not, see . - */ - -#pragma once -#include QMK_KEYBOARD_H - -/** QMK Includes **/ -#include "version.h" -#include "eeprom.h" -#include "muse.h" - -#include "process_records.h" -#include "wrappers.h" - -/************************* Userspace Layers ************************* - * Keymaps can define additional layers by making the first case - * equal to `LAYER_SAFE_RANGE` - ********************************************************************/ -enum userspace_layers { - _WORKMAN, - _QWERTY, - _LOWER, - _RAISE, - _ADJUST, - _SPECIAL, - _GAME, - LAYER_SAFE_RANGE, -}; - -void matrix_scan_keymap(void); -layer_state_t layer_state_set_keymap(layer_state_t state); -void dip_switch_update_keymap(uint8_t index, bool active); -bool music_mask_keymap(uint16_t keycode); -layer_state_t default_layer_state_set_keymap(layer_state_t state); -void startup_keymap(void); -bool shutdown_keymap(bool jump_to_bootloader); -void music_on_keymap(void); -- cgit v1.2.3