2019-04-30 09:21:46 +06:00
|
|
|
/* Copyright 2019 Jack Humbert
|
|
|
|
*
|
|
|
|
* 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 2 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 "quantum.h"
|
|
|
|
|
2020-07-25 09:05:27 +06:00
|
|
|
void perform_space_cadet(keyrecord_t *record, uint16_t sc_keycode, uint8_t holdMod, uint8_t tapMod, uint8_t keycode);
|
2019-04-30 09:21:46 +06:00
|
|
|
bool process_space_cadet(uint16_t keycode, keyrecord_t *record);
|
2020-07-25 09:05:27 +06:00
|
|
|
#ifdef NO_ACTION_TAPPING
|
|
|
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record);
|
|
|
|
#endif
|