Skip to content

Coloryr/AvaloniaKeyboard

Repository files navigation

AvaloniaKeyboard

Use it!

  1. add submodule
git submodule add https://github.com/Coloryr/AvaloniaKeyboard.git
git submodule update --init --recursive

and add project AvaloniaKeyboard

  1. add style
<StyleInclude Source="avares:https://AvaloniaKeyboard/Views/KeyboardControl.axaml" />
  1. use it
xmlns:view="clr-namespace:AvaloniaKeyboard.Views;assembly=AvaloniaKeyboard"
<StackPanel>
    <TextBox Name="Text1" />
    <view:KeyboardControl Name="Input1" TextBox="{ResolveByName Text1}" />
</StackPanel>

Keyboard must set a TextBox TextBox can set from code or xaml

With Rime

  1. Download rime In Action download zip and unzip it. copy rime.dll to your Run Path

  2. Download data make a dir data

download all data from librime

- net8.0 \
  - data \
     - cangjie5.dict.yaml
     - cangjie5.schema.yaml
     - default.yaml
     - ...
  - rime.dll
  - RimeSharp.dll
  - AvaloniaKeyboard.dll
  - {your program.exe}
  - ...
  1. Init Rime
using AvaloniaKeyboard;

RimeUtils.Init();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published