Key Press
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Key Press
This may sound strange, but I am struggling with trapping a virtual alphanumeric key press in iOS. It has to do with a BlueTooth accessory sending a key press, such as “1” or “2” which will activate a script. I have been working with keyUp and rawKeyUp, but no luck in iOS. Would anyone have any suggestions? Thanks in advance!
Re: Key Press
Hi...
You could use a UITextfield to catch the input and take advantage of the message 'inputTextChanged' that is sent when text is entered in the field... grab what you entered, do what you have to do and then empty the UITextField waiting for the next 1 or 2... page 57 of the iOS release notes...
be well
Dixie
I have attached a stack that catches the input...
You could use a UITextfield to catch the input and take advantage of the message 'inputTextChanged' that is sent when text is entered in the field... grab what you entered, do what you have to do and then empty the UITextField waiting for the next 1 or 2... page 57 of the iOS release notes...
be well
Dixie
I have attached a stack that catches the input...
- Attachments
-
- UIInputText.livecode.zip
- (2.11 KiB) Downloaded 249 times