summaryrefslogtreecommitdiff
path: root/app/tests/caps-word/deactivate-by-second-press/events.patterns
diff options
context:
space:
mode:
authorPeter Johanson <peter@peterjohanson.com>2021-06-09 06:10:20 +0000
committerPete Johanson <peter@peterjohanson.com>2021-11-28 22:41:35 -0500
commit54dabffd0d371595a8142ee4da4f5d888a310cda (patch)
treebcbdc884b7de743d9804d51ec9355b22c6cff50d /app/tests/caps-word/deactivate-by-second-press/events.patterns
parent30ed2375335acf47da0216c6832ecfd30ea7097c (diff)
feat(behaviors): Add caps word (`&caps_word`).
* Add new `&caps_word` behavior that acts like caps lock, but releases automatically when any "break" keycode is pressed.
Diffstat (limited to 'app/tests/caps-word/deactivate-by-second-press/events.patterns')
-rw-r--r--app/tests/caps-word/deactivate-by-second-press/events.patterns3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/tests/caps-word/deactivate-by-second-press/events.patterns b/app/tests/caps-word/deactivate-by-second-press/events.patterns
new file mode 100644
index 0000000..fa75ab0
--- /dev/null
+++ b/app/tests/caps-word/deactivate-by-second-press/events.patterns
@@ -0,0 +1,3 @@
+s/.*hid_listener_keycode_//p
+s/.*hid_implicit_modifiers_//p
+s/.*caps_word_enhance_usage/enhance_usage/p \ No newline at end of file