summaryrefslogtreecommitdiff
path: root/users/zyber/zyber.h
blob: d5f114e85299258a6e19b4b2f5b3cc3d7b2862e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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);

void dance_SSHT_finished(qk_tap_dance_state_t *state, void *user_data);
void dance_SSHT_reset(qk_tap_dance_state_t *state, void *user_data);
void dance_LBRC_finished(qk_tap_dance_state_t *state, void *user_data);
void dance_LBRC_reset(qk_tap_dance_state_t *state, void *user_data);
void dance_SCLN_finished(qk_tap_dance_state_t *state, void *user_data);
void dance_SCLN_reset(qk_tap_dance_state_t *state, void *user_data);
void dance_QUOT_finished(qk_tap_dance_state_t *state, void *user_data);
void dance_QUOT_reset(qk_tap_dance_state_t *state, void *user_data);