2019-08-17 07:54:16 +08:00
|
|
|
#pragma once
|
|
|
|
#include "ridingqwerty.h"
|
|
|
|
|
|
|
|
#if defined(KEYMAP_SAFE_RANGE)
|
|
|
|
#define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
|
|
|
|
#else
|
|
|
|
#define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
bool process_record_secrets(uint16_t keycode, keyrecord_t *record);
|
|
|
|
bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
|
|
|
|
|
|
|
|
enum userspace_custom_keycodes {
|
2020-02-05 03:17:10 +08:00
|
|
|
VERSION = PLACEHOLDER_SAFE_RANGE,
|
|
|
|
QWERTY,
|
|
|
|
DVORAK,
|
|
|
|
COLEMAK,
|
|
|
|
#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE)
|
|
|
|
GREEK,
|
|
|
|
RUSSIAN,
|
|
|
|
RUNES,
|
|
|
|
HIRAGAN,
|
|
|
|
#endif
|
|
|
|
MAKE,
|
2019-08-17 07:54:16 +08:00
|
|
|
RG_QUOT,
|
2020-02-05 03:17:10 +08:00
|
|
|
TESTING,
|
|
|
|
RNGWORD,
|
|
|
|
CCCV,
|
|
|
|
SEED,
|
|
|
|
SARCASM,
|
|
|
|
VPRWAVE,
|
|
|
|
STRAYA,
|
|
|
|
SECRET0,
|
|
|
|
SECRET1,
|
|
|
|
SECRET2,
|
|
|
|
SECRET3,
|
|
|
|
SECRET4,
|
|
|
|
SECRET5,
|
|
|
|
SECRET6,
|
|
|
|
SECRET7,
|
|
|
|
SECRET8,
|
|
|
|
NEW_SAFE_RANGE // start new keyboard-level declarations with NEW_SAFE_RANGE
|
2019-08-17 07:54:16 +08:00
|
|
|
};
|
|
|
|
|
2020-02-05 03:17:10 +08:00
|
|
|
// clang-format off
|
|
|
|
typedef union {
|
|
|
|
struct {
|
|
|
|
uint8_t aesthetic : 1,
|
|
|
|
spongebob : 1,
|
|
|
|
uppercase : 1,
|
|
|
|
australia : 1,
|
|
|
|
unusued : 4;
|
|
|
|
};
|
|
|
|
uint8_t all;
|
|
|
|
} mode_config_t;
|
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
extern mode_config_t mode;
|