2022-09-30 02:01:33 +00:00
|
|
|
// Copyright 2022 ZyBeR (@ZyberSE)
|
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include QMK_KEYBOARD_H
|
|
|
|
#include "quantum.h"
|
|
|
|
|
|
|
|
enum custom_keycodes {
|
|
|
|
CTRL_C_UP = SAFE_RANGE,
|
|
|
|
L1_EXPL,
|
|
|
|
ROPT_SRH,
|
|
|
|
C_BLK
|
|
|
|
};
|
|
|
|
|
|
|
|
enum tap_dances {
|
|
|
|
SSHT = 0,
|
|
|
|
LBRC,
|
|
|
|
SCLN,
|
|
|
|
QUOT,
|
|
|
|
END_HOME
|
|
|
|
};
|
|
|
|
|
|
|
|
bool process_record_user(uint16_t keycode, keyrecord_t *record);
|
|
|
|
|
2022-12-14 20:40:25 +00:00
|
|
|
void dance_SSHT_finished(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_SSHT_reset(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_LBRC_finished(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_LBRC_reset(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_SCLN_finished(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_SCLN_reset(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_QUOT_finished(tap_dance_state_t *state, void *user_data);
|
|
|
|
void dance_QUOT_reset(tap_dance_state_t *state, void *user_data);
|