Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic preview of Virtual Keyboard for Avalonia UI (Read 813 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
preview of Virtual Keyboard for Avalonia UI
Feb 18th, 2024 at 10:04am
Print Post  
We are soon releasing Avalonia version of our Virtual Keyboard control. It synthesizes keyboard events through Avalonia event routing system, so it should work on any platform supported by Avalonia UI. Unlike MindFusion Windows keyboard controls, events can be sent only to input controls in current process, and not to external processes.

In addition, language support cannot be generated automatically via OS APIs as in Windows controls, but we'll be creating character maps for each language. Currently supported cultures that can be assigned to VirtualKeyboard.InputLocale property are en-US, fr-FR, de-DE and nl-NL.

If anyone is interested in trying the preview version, please install the nuget package -
https://www.nuget.org/packages/MindFusion.Keyboard.Avalonia/

In order to load keyboard's Xaml resources into the application, call UseMindFusionKeyboard extension method from BuildAvaloniaApp in program.cs:

Code
Select All
public static AppBuilder BuildAvaloniaApp()
    => AppBuilder.Configure<App>()
        .UsePlatformDetect()
        .UseMindFusionKeyboard()
        ...;
 



A sample project that shows the minimal configuration to load the keyboard is available here -
https://mindfusion.eu/_beta/AvaloniaKeyboard.zip

Custom keyboard layout files can be created using the Keyboard Creator tool from our .NET WPF/WinForms controls' distributions.

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Jon Sales Cyberitas
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Mar 15th, 2024
Re: preview of Virtual Keyboard for Avalonia UI
Reply #1 - Mar 15th, 2024 at 8:39pm
Print Post  
Hi,

Is there a particular reason that the target framework is .net 8? Are there .net8 introduced features being used. Is there any reason that this shouldn't work in .net 6 or 7? Thank you kindly for any assistance.


Cheers,
Jon Sales
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: preview of Virtual Keyboard for Avalonia UI
Reply #2 - Mar 16th, 2024 at 12:51pm
Print Post  
Hi,

Microsoft is ending support for .net 7 in less than two months. Our guess is Avalonia will move their templates to .net 8 then, and we won't have released stable 1.0 version of the keyboard yet anyway.

We do have a .net 7 build here, in Assemblies subfolder -
https://mindfusion.eu/_beta/KeyboardTestNet7.zip

You can use it by adding references manually from local file system at this time. We'll have in mind publishing it to nuget too with next update.

Regards,
Slavcho
Mindfusion
« Last Edit: Mar 16th, 2024 at 1:52pm by Slavcho »  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: preview of Virtual Keyboard for Avalonia UI
Reply #3 - Mar 20th, 2024 at 2:31pm
Print Post  
New nuget package here adds .net7 assemblies -
https://www.nuget.org/packages/MindFusion.Keyboard.Avalonia/0.7.1

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