keydown on script?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
shawn
Posts: 18
Joined: Sat Jan 02, 2010 4:11 am

keydown on script?

Post by shawn » Fri May 06, 2011 3:47 pm

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

JonAdams
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1
Joined: Tue Oct 31, 2006 1:59 pm

Re: keydown on script?

Post by JonAdams » Wed May 11, 2011 2:59 am

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

Post Reply