MuiRoyale and iskeydown.
Posted: Thu Mar 12, 2015 11:42 pm
My software (ArtBase) uses MUI-Royale.
At some points I use IsKeyDown() to check, if the qualifier "LSHIFT" is pressed.
Since Hollywood V6 this doesnt work anymore.
Normal keys (letters) are checked correctly by IsKeyDown(), but hitting qualifiers only, will not be recogniced anymore.
As an example script I used your Example Class1.hws
I replaced:
repeat
WaitEvent()
forever
with:
Repeat
if iskeydown("LSHIFT")=TRUE then nprint ("LSHIFT")
if iskeydown("a")=TRUE then nprint ("a")
wait(50)
forever
This worked correctly under Hollywood V5.3 (at least in my program...)
A bug???
At some points I use IsKeyDown() to check, if the qualifier "LSHIFT" is pressed.
Since Hollywood V6 this doesnt work anymore.
Normal keys (letters) are checked correctly by IsKeyDown(), but hitting qualifiers only, will not be recogniced anymore.
As an example script I used your Example Class1.hws
I replaced:
repeat
WaitEvent()
forever
with:
Repeat
if iskeydown("LSHIFT")=TRUE then nprint ("LSHIFT")
if iskeydown("a")=TRUE then nprint ("a")
wait(50)
forever
This worked correctly under Hollywood V5.3 (at least in my program...)
A bug???