2022-02-06 13:19:32 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "betalupi_ergodox.h"
|
|
|
|
#include "version.h"
|
|
|
|
#include "keymap_russian.h"
|
|
|
|
#include "keymap_us_international.h"
|
|
|
|
|
2022-07-19 08:45:18 -07:00
|
|
|
#include "tapdance/tapdance.h"
|
2022-06-25 18:36:52 -07:00
|
|
|
|
|
|
|
|
2022-07-18 10:02:17 -07:00
|
|
|
extern rgb_config_t rgb_matrix_config;
|
2022-02-09 12:07:34 -08:00
|
|
|
|
2022-07-19 08:45:18 -07:00
|
|
|
// LED colors, in HSV.
|
|
|
|
#define LC_OFF LC_HSV( 0, 0, 0)
|
|
|
|
#define LC_GREEN LC_HSV( 85, 203, 158)
|
|
|
|
#define LC_YELLOW LC_HSV( 32, 176, 255)
|
|
|
|
#define LC_PINK LC_HSV(243, 222, 234)
|
|
|
|
#define LC_CYAN LC_HSV(134, 255, 213)
|
|
|
|
#define LC_ORANGE LC_HSV( 14, 255, 255)
|
2022-08-10 09:11:09 -07:00
|
|
|
#define LC_WHITE LC_HSV( 0, 0, 150)
|
2022-07-19 08:45:18 -07:00
|
|
|
|
|
|
|
#define LC_RU_B LC_HSV( 0, 0, 165)
|
|
|
|
#define LC_RU_G LC_HSV(153, 255, 153)
|
|
|
|
#define LC_RU_K LC_HSV( 0, 255, 145)
|
|
|
|
|
|
|
|
// Define custom keys
|
2022-07-21 14:09:50 -07:00
|
|
|
// (Must be done before keymaps are loaded)
|
2022-07-19 08:45:18 -07:00
|
|
|
enum custom_keycodes {
|
|
|
|
M_SHUTDOWN = BETA_SAFE_RANGE,
|
2022-08-10 09:11:09 -07:00
|
|
|
|
|
|
|
// Macros
|
2022-07-19 08:45:18 -07:00
|
|
|
M_RESETWM,
|
|
|
|
M_RU_CTRL,
|
2022-08-10 09:11:09 -07:00
|
|
|
M_RU_ALT,
|
|
|
|
|
|
|
|
// Special characters.
|
|
|
|
// M_SPECIAL_TOP and M_SPECIAL_BOTTOM are
|
|
|
|
// bounds used to parse these. Only special
|
|
|
|
// characters should be between them.
|
|
|
|
//
|
|
|
|
// Also, characters here should be in the same
|
|
|
|
// order as they are in the host inteface.
|
|
|
|
M_SPECIAL_TOP,
|
|
|
|
M_SC_GRAVE,
|
|
|
|
M_SC_TILD,
|
|
|
|
M_SC_QUOT,
|
|
|
|
M_SC_LBR,
|
|
|
|
M_SC_RBR,
|
|
|
|
M_SC_LCBR,
|
|
|
|
M_SC_RCBR,
|
|
|
|
M_SC_LKVCH,
|
|
|
|
M_SC_RKVCH,
|
|
|
|
|
|
|
|
M_SC_LYUS,
|
|
|
|
M_SC_BYUS,
|
|
|
|
M_SC_YAE,
|
|
|
|
M_SC_SHRUG,
|
2022-11-18 23:33:26 -08:00
|
|
|
M_SPECIAL_BOTTOM
|
2022-07-19 08:45:18 -07:00
|
|
|
};
|