New in html5Player (v104 alpha)
https://hyperhh.de/html5/html5Player.html

html5Player adds a function keyCombo to your stack (as behavior)
that you may use in your local stacks.
It is updated on every keydown, keyup, mousedown and mouseup
in the browser window.
[See the stack "FontAndKeyTester" of btn "StackURL".]

keyCombo returns the downstates of 'modifiers', keyCode and key:
Alt, Shift, (Ctrl or Cmd), CapsLock, KeyCode, Key. For example

false,true,false,false,39,ArrowRight

The shiftkey, the cmdkey etc. currently always report "up" in
LC-HTML5. But you may now use in your local stack, running in
html5Player (e.g.):
"if item 2 of keyCombo()" instead of "if the shiftkey is down".

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to