From c72911550649b1fd195ab6a35c1aaf4b3ecb119a Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Sun, 8 Nov 2020 12:46:13 +0100 Subject: [PATCH] Update modifier Variable.tid with a test-button and... (#5002) ... a tip for meta-key detection on various operating systems --- editions/tw5.com/tiddlers/variables/modifier Variable.tid | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editions/tw5.com/tiddlers/variables/modifier Variable.tid b/editions/tw5.com/tiddlers/variables/modifier Variable.tid index 0399c7b28..d5db7d702 100644 --- a/editions/tw5.com/tiddlers/variables/modifier Variable.tid +++ b/editions/tw5.com/tiddlers/variables/modifier Variable.tid @@ -24,3 +24,11 @@ The variable contains a string that identifies the keys: |ctrl+alt+shift |ctrl-alt-shift | |meta+ctrl+alt+shift |meta-ctrl-alt-shift | |no modifier (normal click / drag) |normal | + +<<.tip """Some operating systems may intercept the ''meta'' key so it is never detected""">> + +<$button actions="""<$action-setfield $tiddler="$:/temp/test-modifier-keys" text=<>/>""">Test modifier keys here + +!!! Modifier keys held while clicking the button above: + +{{$:/temp/test-modifier-keys}}