chromebook-linux/cros-keyboard-map/keyd/examples/simlayer.conf
2025-06-08 19:32:41 -05:00

18 lines
461 B
Text

# This example demonstrates what is sometimes called a simlayer: when the layer is
# activated, if no action is taken within a specified period of time, another action
# takes place. This can be used, for example, to preserve the repeat action of the key
# that is being overloaded (backspace in this case).
[ids]
*
[main]
backspace = timeout(overload(shortcuts, backspace), 500, backspace)
[shortcuts]
1 = M-pageup
2 = M-pagedown
# Other shortcuts here.