Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TouchUp event - which key is pressed (Read 1290 times)
sinisa
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Oct 14th, 2019
TouchUp event - which key is pressed
Oct 14th, 2019 at 2:26pm
Print Post  
Hello

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.
  

TouchUpEvent_FindPressedKey.PNG ( 101 KB | 27 Downloads )
TouchUpEvent_FindPressedKey.PNG
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 2164
Joined: Oct 19th, 2005
Re: TouchUp event - which key is pressed
Reply #1 - Oct 14th, 2019 at 2:59pm
Print Post  
Hi,

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.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint