Update edvorak keymap simplify (#5350)
* Update edvorakjp layouts * swap master hand * update tapping_term
This commit is contained in:
parent
cd9e15036e
commit
9d915ed051
19 changed files with 249 additions and 727 deletions
|
@ -4,8 +4,7 @@
|
|||
typedef union {
|
||||
uint8_t raw;
|
||||
struct {
|
||||
bool enable_jp_extra_layer : 1;
|
||||
bool enable_kc_lang : 1; // for macOS
|
||||
bool enable_kc_lang; // for macOS
|
||||
};
|
||||
} edvorakjp_config_t;
|
||||
static edvorakjp_config_t edvorakjp_config;
|
||||
|
@ -34,15 +33,6 @@ void edvorakjp_status_init(void) {
|
|||
edvorakjp_config.raw = eeconfig_read_edvorakjp();
|
||||
}
|
||||
|
||||
bool get_enable_jp_extra_layer(void) {
|
||||
return edvorakjp_config.enable_jp_extra_layer;
|
||||
}
|
||||
|
||||
void set_enable_jp_extra_layer(bool new_state) {
|
||||
edvorakjp_config.enable_jp_extra_layer = new_state;
|
||||
eeconfig_update_edvorakjp(edvorakjp_config.raw);
|
||||
}
|
||||
|
||||
bool get_enable_kc_lang(void) {
|
||||
return edvorakjp_config.enable_kc_lang;
|
||||
}
|
||||
|
@ -65,7 +55,6 @@ void set_japanese_mode(bool new_state) {
|
|||
SEND_STRING(SS_LALT("`"));
|
||||
}
|
||||
} else {
|
||||
dvorakj_layer_off();
|
||||
if (edvorakjp_config.enable_kc_lang) {
|
||||
SEND_STRING(SS_TAP(X_LANG2));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue