Page 1 of 1

OnKeyUp for iOS

Posted: Fri Jan 03, 2020 7:12 pm
by sashapont
I use this function and it works well on Desktop platform& How I can use it on iOs? There are no left key on iOS keyboard, and left may possible by long tap an space and swap to left. Are any way to check this event?

Code: Select all

Function p_HandlerFunc(msg)
  Switch(msg.action)
  Case "OnKeyUp":
If msg.key = "LEFT" 
SystemRequest("Attention", "Left ","OK",#REQICON_WARNING)
EndIf
  EndSwitch
EndFunction

InstallEventHandler({ActiveWindow = p_HandlerFunc,
   OnKeyUp = p_HandlerFunc})

Repeat
  WaitEvent
Forever

Re: OnKeyUp for iOS

Posted: Fri Jan 03, 2020 9:43 pm
by airsoftsoftwair
You need to use ShowKeyboard() first. Then you'll be able to get those key events.

Re: OnKeyUp for iOS

Posted: Fri Jan 03, 2020 9:58 pm
by sashapont
I know. about ShowKeyboard() without this don't work Letter луныю But what can you say about left and write swipes?

Re: OnKeyUp for iOS

Posted: Sat Jan 04, 2020 9:13 pm
by airsoftsoftwair
You mean you want to have "LEFT" and "RIGHT" key events for left and right swipe?

Re: OnKeyUp for iOS

Posted: Sun Jan 05, 2020 12:21 am
by sashapont
Yes

Re: OnKeyUp for iOS

Posted: Sun Jan 05, 2020 1:58 pm
by airsoftsoftwair
Well, swipes are currently not supported by Hollywood. But maybe in the future...