Millisecond Forums

Nextkey with mouse?

https://forums.millisecond.com/Topic15344.aspx

By Jurre - 1/13/2015

Hi everyone,

Quick question: is there a way to incorporate a mousekey into the <instruct> element?
I tried this, but it doesn't work:

<instruct>
/ fontstyle = ("Arial", 3.00%, false, false, false, false, 5, 0)
/ windowsize = (70%, 70%)
/ txcolor = (0,0,0)
/ screencolor = (255, 255, 255)
/ inputdevice = mousekey
/ nextkey = (mbuttondown)
/ lastlabel = "Druk op 0"
</instruct>

Thanks!
By Dave - 1/14/2015

No, with instructions / the <instruct> element, the expected /inputdevice is mouse and clicking the navigation buttons is the expected response.

If you want navigation via mousekey, you could use standard <trial> elements run via a <block> to present your instructions.

Hope this helps.