Name: Kaleidoscope-TopsyTurvy
Owner: Keyboardio
Description: Turn the effect of Shift upside down for certain keys.
Created: 2017-01-16 14:28:44.0
Updated: 2018-05-15 05:12:18.0
Pushed: 2018-05-15 05:12:19.0
Homepage: null
Size: 41
Language: C++
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
TopsyTurvy
is a plugin that inverts the behaviour of the Shift
key for some
selected keys. That is, if configured so, it will input !
when pressing the
1
key without Shift
, but with the modifier pressed, it will input the
original 1
symbol.
To use the plugin, one needs to include the header, mark keys to apply plugin effects to, and use the plugin:
lude <Kaleidoscope.h>
lude <Kaleidoscope-TopsyTurvy.h>
n the keymap:
Y(1), TOPSY(2), TOPSY(3)
IDOSCOPE_INIT_PLUGINS(TopsyTurvy);
setup () {
leidoscope.setup ();
There is only one macro that the plugin provides, which one can use in keymap definitions:
TOPSY(key)
Mark the specified
key
(without theKey_
prefix!) for TopsyTurvy, and swap the effect ofShift
when the key is used. One can have any number of topsy-turvy keys on a keymap.The keys must be plain old keys, modifiers or anything other augmentation cannot be applied.
The plugin provides a number of macros one can use in keymap definitions:
The plugin provides the TopsyTurvy
object, without any public methods or properties.
Starting from the example is the recommended way of getting started with the plugin.