- Welcome, Guest. Please Login or Register
  We have released initial version of MindFusion.JavaScript pack. It includes chart, diagram, calendar, map, virtual keyboard, gauge and UI components. Here are more details and live demo for anyone interested.  
Page Index Toggle Pages: 1 Send Topic Print  
TouchUp event - which key is pressed
Read 782 times

sinisa   Offline
YaBB Newbies
Posts: 1
I Love MindFusion!

TouchUp event - which key is pressed
Oct 14th, 2019 at 3:26pm

I am using FPS virtual keyboard on touchscreen and on first pressing on button the OnKeyDown event is not triggered.
After second pressing OnKeyDown event is triggered.
Therefore I've added TouchUp event, which is correctly after first pressing on button triggered.
However, I cannot find the pressed button in the arrived TouchEventArgs.
How can I find out the pressed key in the TouchEventArgs?

Thank you.
IP Logged    

Slavcho   Offline
YaBB Moderator
Posts: 1912
Gender: male

Re: TouchUp event - which key is pressed
Reply #1 - Oct 14th, 2019 at 3:59pm

Do you mean you are using original keyboard by FreezePro Software? You might check if more recent Mindfusion version isn't handling that better in your set up. Otherwise I guess try looping over keyboard.Layout.Keys and compare each key's coordinates with the touch position.

IP Logged    
Page Index Toggle Pages: 1 Send Topic Print