ios app... any ideas how to do this?

Richard Miller wow at together.net
Sun Apr 1 11:19:19 EDT 2012


Hi Ken,

I tried this with a very simple app... only a keydown card script. The 
script puts the pressed key into a locked field on the card. Works as 
expected in LC. Tried it in the iphone simulator, with a regular USB 
keyboard connected to my Mac. No response to a key press. Even selected 
the "simulate hardware keyboard" option under the Hardware menu. No 
effect. Would this result possibly be different with a bluetooth keyboard?

Richard


> Richard, I'm sure that a bluetooth keyboard would act the same as the onscreen keyboard would; that is, it *should* send the keyDown, keyUp, rawKeyDown, and rawKeyUp messages to the current card; you can then trap for this in the card script (or stack script, etc.) and go from there.
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/	
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list