-
Notifications
You must be signed in to change notification settings - Fork 18
Keyword: COMBO
cajhin edited this page Dec 30, 2020
·
4 revisions
COMBO key [modstring] > function()
or
COMBO deadkey-DK keyLabel [modstring] > function()
deadkey-DK
: optional. DK: any real key label. See Function: deadkey()
keyLabel
: any real key. (New in v70: real modifiers are now possible, too)
modstring
: see Modifier Strings
function
: any function like key() or altChar()
Use keyword COMBO
to define anything beyond simple key A>B mappings.
An incoming key matches a combo IF
- no other combo has matched before
- there is no active deadkey and no
deadkey-DK
defined, OR the active deadkey =DK
- key event = key down
- incoming key =
keyLabel
- state of all modifiers matches with
modstring
If the key matches the combo, the function() is triggered.
No other combos or alpha mappings will be evaluated.
See the file capsicain.example.ini and capsicain.cajhin.ini for a ton of examples.