Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

Air for iOS 7 App - Listen for wireless Keyboard events

$
0
0

Greetings i've been reviewing this older posting relating to the same problem that I have, but cannot surmise the solution from the thread. Could someone help point me in the right direction?

 

https://forums.adobe.com/message/5618417

 

I've built a flash ios app that relies on the input from 5 keys to function. I'm using Flash CS6 and AIR 13.0.0.111 for iOS. The app wont recognize the input from my bluetooth keyboard though.

 

This code works until loaded onto the iPhone:

 

stage.addEventListener(KeyboardEvent.KEY_DOWN, ScrollDown);

 

function ScrollDown(e:KeyboardEvent):void{

if (e.keyCode == 83){

}

 

I guess in need to use a event.CHANGE listener but I can't find any similar tutorials to follow.

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>