HI guys,
Iam trying to recognise keyup and keydown events exactly on ipad.In my livecode ios application, i have a textbox field.
when i select that textbox field , virtual keyboard is opens up in ipad.on that virtual keyboard, i have to recognise the events of keyPress(holding), and key released.
I have placed a label there, to see the status of keyup and keydown events.
When i press and hold a button on virtual keyboard, lable wont change, if i released that button label is changing to keyup and keydown status.
i have recognise exactly when it is holded, and released.
Thanks,
Ramesh
recognising keyup and keydown events perfectly on ios ipad
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 23
- Joined: Fri Jan 31, 2014 12:09 pm
Re: recognising keyup and keydown events perfectly on ios ip
Hi,
I'm not sure that this is possible. The iOS keyboard notifies the active app of the keyboard event after the user releases the key. That's how it is made possible to choose characters from the popup menu, which appears if the user holds the key a little longer.
Kind regards,
Mark
I'm not sure that this is possible. The iOS keyboard notifies the active app of the keyboard event after the user releases the key. That's how it is made possible to choose characters from the popup menu, which appears if the user holds the key a little longer.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 23
- Joined: Fri Jan 31, 2014 12:09 pm
Re: recognising keyup and keydown events perfectly on ios ip
Hi Mark,
Can u suggest me any alternative way to achieve this..
Thanks,
Ramesh
Can u suggest me any alternative way to achieve this..
Thanks,
Ramesh
Re: recognising keyup and keydown events perfectly on ios ip
Hi Ramesh,
You could make your own emulated keyboard, but that's a lot of work.
Kind regards,
Mark
You could make your own emulated keyboard, but that's a lot of work.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode