Page 1 of 1

keydown on script?

Posted: Fri May 06, 2011 3:47 pm
by shawn
Hi,

I have the commercial version of Livecode for desktop apps. I'm thinking about a simple IOS app but before I spend money on a development environment I wanted to confirm if something can be done on IOS first.

On the card or stack script can you look for keydown without having the IOS keyboard active? I see in the forum if you have an entry field and you give focus to it the keyboard automatically pops up. That won't work for the application I am considering. Is it possible in IOS to just watch for keydown at the card or script level without having the keyboard on screen? Keypresses would be sent from a paired bluetooth keyboard.

Thanks,

Shawn

Re: keydown on script?

Posted: Wed May 11, 2011 2:59 am
by JonAdams
Hi Shawn,

It appears so. At least in the IOS simulator, if I turn on “Simulate Hardware Keyboard” then I can capture keyDown messages without the onscreen keyboard appearing.

Jon