MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / LinkKeysForCustomCombo

Function LinkKeysForCustomCombo

source/hook.cpp:3977–3985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3975}
3976
3977void LinkKeysForCustomCombo(vk_type aNeutral, vk_type aLeft, vk_type aRight)
3978{
3979 HotkeyIDType first_neutral = kvk[aNeutral].first_hotkey;
3980 if (first_neutral == HOTKEY_ID_INVALID)
3981 return;
3982 // Append the neutral key's list to the lists of the left and right keys.
3983 CustomComboLast(&kvk[aLeft].first_hotkey) = first_neutral;
3984 CustomComboLast(&kvk[aRight].first_hotkey) = first_neutral;
3985}
3986
3987
3988

Callers 1

ChangeHookStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected