- Welcome, Guest. Please Login or Register
MindFusion  
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
  HomeHelpSearchLoginRegister   
     
     
   
 
Page Index Toggle Pages: 1 Send Topic Print  
Dutch (Belgium) keyboard - how to create chars with umlauts
Read 395 times

Bryan Maule   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Dutch (Belgium) keyboard - how to create chars with umlauts
Apr 11th, 2018 at 7:42pm
 
I installed the Dutch (Belgium) keyboard and ran the MindFusion Virtual Keyboard Creator and selected Keyboard Language as Dutch (Belgium).  The resulting keyboard has only a small subset of these Dutch characters:



How would I add something that isn't already on the list, for example ?  If I try to just paste that character into a regular key it doesn't work.
 
 
 
IP Logged    
 
     

Slavcho   Offline
YaBB Moderator
*****
Posts: 1511
Gender: male
tech.support


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #1 - Apr 11th, 2018 at 8:40pm
 
I think the creator's Character textbox tries to detect the code of actual typed key, so pasting with Ctrl+V might not give you expected result but only V's keycode. If you have an actual Dutch keyboard, try typing into that field with it to get the code. Otherwise edit the layout xml file and specify the code inside <VirtualKey> element of the new key.

Regards,
Slavcho
Mindfusion
 
 
 
IP Logged    
 
     

Bryan Maule   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #2 - Apr 12th, 2018 at 12:54pm
 
The "alt-code" (for a u with an umlaut on top) in decimal is alt-0252. So, I typed that into the XML and got this:

<Key xsi:type="RegularKey">
<Left>55</Left>
<Top>70</Top>
<Width>40</Width>
<Height>40</Height>
<VirtualKey></VirtualKey>
<Repeat>1</Repeat>
</Key>

But when I try to load that with Virtual Keyboard Creator, it says there is an error on this line:
<VirtualKey></VirtualKey>

... and then it crashes.
 
 
 
IP Logged    
 
     

Slavcho   Offline
YaBB Moderator
*****
Posts: 1511
Gender: male
tech.support


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #3 - Apr 12th, 2018 at 1:13pm
 
That should be an integer number corresponding the Windows virtual key code for the key. The control will translate it automatically to a label depending on current keyboard language and state of shift / caps keys.

Regards,
Slavcho
 
 
 
IP Logged    
 
     

Bryan Maule   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #4 - Apr 12th, 2018 at 1:33pm
 
I just printed out every single virtual key code with Dutch (Belgium) as the selected keyboard and there is no u with umlaut.

Is there a way to just use the alt-code?
 
 
 
IP Logged    
 
     

Slavcho   Offline
YaBB Moderator
*****
Posts: 1511
Gender: male
tech.support


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #5 - Apr 12th, 2018 at 2:28pm
 
Right, it seems there's no single virtual key for that character from what I can see on the Windows on-screen keyboard, but it's entered as a combination of Shift + umlaut key + U. We'll investigate if we can reproduce that with ours.
 
 
 
IP Logged    
 
     

Slavcho   Offline
YaBB Moderator
*****
Posts: 1511
Gender: male
tech.support


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #6 - Apr 13th, 2018 at 1:14pm
 
You cannot create the three-key combination umlauted characters with Mindfusion's keyboard because it immediately releases the umlaut modifier when you click it, sending both down and up key events, unlike the shift key which sends only down. If that's what you are after we'll send you a new build that keeps the umlaut modifier down until next char is pressed. If you need to send umlauted character with a single key that does not have its own virtual keycode, we'll have to create a new type of key class that sends the whole sequence of events:  shift + umlaut + character.

Regards,
Slavcho
 
 
 
IP Logged    
 
     

Slavcho   Offline
YaBB Moderator
*****
Posts: 1511
Gender: male
tech.support


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #7 - Apr 23rd, 2018 at 6:57am
 
We have added a UnicodeKey class, please check if it helps for your scenario -
https://mindfusion.eu/_beta/vkwpf443.zip

UnicodeKey can send arbitrary Unicode symbols as input, even ones that do not have a direct corresponding virtual key code as the umlauted U.

We haven't updated the keyboard creator tool yet to let you add UnicodeKey instances, at this time you can only add it from .NET code or as XML inside layout files -

Code:
<Key xsi:type="UnicodeKey">
 <Image />
 <Left>40</Left>
 <Top>0</Top>
 <Width>40</Width>
 <Height>40</Height>
 <Character>26152</Character>
 <Repeat>1</Repeat>
</Key>
<Key xsi:type="UnicodeKey">
 <Image />
 <Left>80</Left>
 <Top>0</Top>
 <Width>40</Width>
 <Height>40</Height>
 <Character>25101</Character>
 <Repeat>1</Repeat>
</Key>
<Key xsi:type="UnicodeKey">
 <Image />
 <Left>120</Left>
 <Top>0</Top>
 <Width>40</Width>
 <Height>40</Height>
 <Character>252</Character>
 <Repeat>1</Repeat>
</Key>
 



...

Regards,
Slavcho
 
 
« Last Edit: Apr 23rd, 2018 at 10:36am by Slavcho »
 
IP Logged    
 
     

Bryan Maule   Offline
YaBB Newbies
*
Posts: 11
I Love MindFusion!


   
     
 
Re: Dutch (Belgium) keyboard - how to create chars with umlauts
Reply #8 - Apr 25th, 2018 at 6:41pm
 
Thanks, this will be helpful. 

I haven't had a chance to try it yet as I need to migrate to the newest "MindFusion" version.  Purchasing a license and working on that today.
 
 
 
IP Logged    
 
     
Page Index Toggle Pages: 1 Send Topic Print