-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.h
48 lines (42 loc) · 1.04 KB
/
my.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include "quantum_keycodes.h"
enum Layer {
L_BASE,
#ifdef ENABLE_STABLE_LAYER
L_STABLE,
#endif
#ifndef NO_JAPANESE
L_KANA,
#endif
L_NUM_SIGN,
L_FN,
};
#define LAYER_KANA L_KANA
enum user_code {
CLEAR = SAFE_RANGE,
#ifndef NO_JAPANESE
COMMIT_MODE,
KANA_RANGE,
#endif
};
enum raw_hid {
id_im_off = 0x01,
id_im_on = 0x02,
};
#ifndef NO_JAPANESE
#define BIT_NEIGHBOR_VOWEL_A BIT_VOWEL_YA
#define BIT_NEIGHBOR_VOWEL_I BIT_VOWEL_E
#define BIT_NEIGHBOR_VOWEL_U BIT_VOWEL_YU
#define BIT_NEIGHBOR_VOWEL_E BIT_VOWEL_YE
#define BIT_NEIGHBOR_VOWEL_O BIT_VOWEL_A
#define BIT_NEIGHBOR_VOWEL_YO BIT_VOWEL_U
#define BIT_NEIGHBOR_CONSONANT_A BIT_CONSONANT_N
#define BIT_NEIGHBOR_CONSONANT_K BIT_CONSONANT_R
#define BIT_NEIGHBOR_CONSONANT_S BIT_CONSONANT_T
#define BIT_NEIGHBOR_CONSONANT_T BIT_CONSONANT_P
#define BIT_NEIGHBOR_CONSONANT_H BIT_CONSONANT_A
#define BIT_NEIGHBOR_CONSONANT_R BIT_CONSONANT_M
#define BIT_CONSONANT_TH BIT_CONSONANT_R
#define BIT_NEIGHBOR_CONSONANT_TH BIT_NEIGHBOR_CONSONANT_R
#define BIT_CONSONANT_V BIT_CONSONANT_B
#endif