Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic KeyDown/KeyUp are not done correctly (Read 1351 times)
GB_Rollo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 17th, 2023
KeyDown/KeyUp are not done correctly
Mar 17th, 2023 at 10:23am
Print Post  
Hi,

Using this site to analyse the behaviour of your virtual keyboard, the keydown/keyup events are not used correctly. Specially when we keep pressing down a key.
It send always keydown + keyup events repeatly. But when doing same action on OSK or physical keyboard, we can see a lot of keydown event until one final keyup.

https://w3c.github.io/uievents/tools/key-event-viewer.html

Can you please change your virtual keyboard to act the same as OSK and physical keyboard ? I mean one/multiple event/s keydown and one event keyup when long pressing a key.

Thank you,
Guillaume
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: KeyDown/KeyUp are not done correctly
Reply #1 - Mar 20th, 2023 at 9:28am
Print Post  
Hi,

We'll have it in mind for next releases. Logically either repeat implementation should lead to same result when entering texts. We imagine this would matter only for some inertia / physics calculations, like slider speed animation when moving it with arrow keys? Or do you need this for playing computer games from virtual keyboard? Wink

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
GB_Rollo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 17th, 2023
Re: KeyDown/KeyUp are not done correctly
Reply #2 - Mar 20th, 2023 at 1:37pm
Print Post  
Hi,

Yeah in my case it's not when entering texts or playing  Wink but moving a cursor into something that look like a graph.

The application having this "issue" is an old third party application and in that case it surelly want keyboard acting like the physical keyboard or the OSK.

Thank you,
Guillaume
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: KeyDown/KeyUp are not done correctly
Reply #3 - May 1st, 2023 at 10:04am
Print Post  
Hi,

Try setting vkb.RepeatDownOnly = true with this build -

https://mindfusion.eu/_temp/vkb_repeat.zip

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
GB_Rollo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 17th, 2023
Re: KeyDown/KeyUp are not done correctly
Reply #4 - May 5th, 2023 at 8:05am
Print Post  
I'll try your solution a soon as possible and give you feedback.

Thank you,
Guillaume
  
Back to top
 
IP Logged
 
GB_Rollo
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Mar 17th, 2023
Re: KeyDown/KeyUp are not done correctly
Reply #5 - May 30th, 2023 at 11:07am
Print Post  
Hi Slavcho,

I confirm, this fix solve the issue.
Can you please add this to the next release and can we expect this release soon ?

Thank you,
Guillaume
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: KeyDown/KeyUp are not done correctly
Reply #6 - Jun 1st, 2023 at 7:02am
Print Post  
Hi,

At this time this has been released as part of our WPF controls pack -
https://www.nuget.org/packages/MindFusion.Pack.Wpf/

Your license key should work for the keyboard assembly from it. We hope to release the standalone control in few weeks.

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