mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-26 03:35:30 +03:00
Add Henkan
, Muhenkan
and Zenkaku
entries to macOS
Note: these keys are sometimes referred as `international4` and `international5`, respectively.
This commit is contained in:
parent
eec676948c
commit
7a4c6a25d7
@ -43,6 +43,9 @@ static const UInt32 s_launchpadVK = 131;
|
||||
|
||||
static const UInt32 s_osxNumLock = 1 << 16;
|
||||
|
||||
static const UInt32 s_int4VK = 0x8a; // international4
|
||||
static const UInt32 s_int5VK = 0x8b; // international5
|
||||
|
||||
struct KeyEntry {
|
||||
public:
|
||||
KeyID m_keyID;
|
||||
@ -126,7 +129,10 @@ static const KeyEntry s_controlKeys[] = {
|
||||
|
||||
// JIS keyboards only
|
||||
{ kKeyEisuToggle, kVK_JIS_Eisu },
|
||||
{ kKeyKana, kVK_JIS_Kana }
|
||||
{ kKeyKana, kVK_JIS_Kana },
|
||||
{ kKeyMuhenkan, s_int5VK },
|
||||
{ kKeyHenkan, s_int4VK },
|
||||
{ kKeyZenkaku, kVK_ANSI_Grave }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user