|
|
@ -67,48 +67,48 @@ likely to generate errors and out-of-order events.
|
|
|
|
### DualUse key definitions
|
|
|
|
### DualUse key definitions
|
|
|
|
|
|
|
|
|
|
|
|
In addition to normal `Qukeys` described above, Kaleidoscope-Qukeys also treats
|
|
|
|
In addition to normal `Qukeys` described above, Kaleidoscope-Qukeys also treats
|
|
|
|
DualUse keys in the keymap as `Qukeys`. This makes `Qukeys` a drop-in replacement
|
|
|
|
DualUse keys in the keymap as `Qukeys`. This makes `Qukeys` a drop-in replacement
|
|
|
|
for the `DualUse` plugin, without the need to edit the keymap.
|
|
|
|
for the `DualUse` plugin, without the need to edit the keymap.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The plugin provides a number of macros one can use in keymap definitions:
|
|
|
|
The plugin provides a number of macros one can use in keymap definitions:
|
|
|
|
|
|
|
|
|
|
|
|
#### `CTL_T(key)`
|
|
|
|
#### `CTL_T(key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that acts as the *left* `Control` when held, or used in conjunction with
|
|
|
|
> A key that acts as the *left* `Control` when held, or used in conjunction with
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
|
|
|
|
|
|
|
|
#### `ALT_T(key)`
|
|
|
|
#### `ALT_T(key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that acts as the *left* `Alt` when held, or used in conjunction with
|
|
|
|
> A key that acts as the *left* `Alt` when held, or used in conjunction with
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
|
|
|
|
|
|
|
|
#### `SFT_T(key)`
|
|
|
|
#### `SFT_T(key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that acts as the *left* `Shift` when held, or used in conjunction with
|
|
|
|
> A key that acts as the *left* `Shift` when held, or used in conjunction with
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
|
|
|
|
|
|
|
|
#### `GUI_T(key)`
|
|
|
|
#### `GUI_T(key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that acts as the *left* `GUI` when held, or used in conjunction with
|
|
|
|
> A key that acts as the *left* `GUI` when held, or used in conjunction with
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> other keys, but as `key` when tapped in isolation. The `key` argument must be
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
> a plain old key, and can't have any modifiers or anything else applied.
|
|
|
|
|
|
|
|
|
|
|
|
#### `MT(mod, key)`
|
|
|
|
#### `MT(mod, key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that acts as `mod` when held, or used in conjunction with other keys,
|
|
|
|
> A key that acts as `mod` when held, or used in conjunction with other keys,
|
|
|
|
> but as `key` when tapped in isolation. The `key` argument must be a plain old
|
|
|
|
> but as `key` when tapped in isolation. The `key` argument must be a plain old
|
|
|
|
> key, and can't have any modifiers or anything else applied. The `mod` argument
|
|
|
|
> key, and can't have any modifiers or anything else applied. The `mod` argument
|
|
|
|
> can be any of the modifiers, *left* or *right* alike.
|
|
|
|
> can be any of the modifiers, *left* or *right* alike.
|
|
|
|
|
|
|
|
|
|
|
|
#### `LT(layer, key)`
|
|
|
|
#### `LT(layer, key)`
|
|
|
|
|
|
|
|
|
|
|
|
> A key that momentarily switches to `layer` when held, or used in conjunction
|
|
|
|
> A key that momentarily switches to `layer` when held, or used in conjunction
|
|
|
|
> with other keys, but as `key` when tapped in isolation. The `key` argument
|
|
|
|
> with other keys, but as `key` when tapped in isolation. The `key` argument
|
|
|
|
> must be a plain old key, and can't have any modifiers or anything else
|
|
|
|
> must be a plain old key, and can't have any modifiers or anything else
|
|
|
|
> applied.
|
|
|
|
> applied.
|
|
|
|
|
|
|
|
|
|
|
|
## Design & Implementation
|
|
|
|
## Design & Implementation
|
|
|
|