1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Update modifier Variable.tid with a test-button and... (#5002)

... a tip for meta-key detection on various operating systems
This commit is contained in:
Simon Huber 2020-11-08 12:46:13 +01:00 committed by GitHub
parent 9854a4fc08
commit c729115506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,3 +24,11 @@ The variable contains a string that identifies the keys:
|ctrl+alt+shift |ctrl-alt-shift | |ctrl+alt+shift |ctrl-alt-shift |
|meta+ctrl+alt+shift |meta-ctrl-alt-shift | |meta+ctrl+alt+shift |meta-ctrl-alt-shift |
|no modifier (normal click / drag) |normal | |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=<<modifier>>/>""">Test modifier keys here</$button>
!!! Modifier keys held while clicking the button above:
{{$:/temp/test-modifier-keys}}