https://github.com/coloryr/avaloniakeyboard
https://github.com/coloryr/avaloniakeyboard
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coloryr/avaloniakeyboard
- Owner: Coloryr
- License: mit
- Created: 2024-03-18T05:23:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T06:54:40.000Z (about 2 years ago)
- Last Synced: 2024-04-11T07:50:33.485Z (about 2 years ago)
- Language: C#
- Size: 152 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AvaloniaKeyboard

## Use it!
1. add submodule
```
git submodule add https://github.com/Coloryr/AvaloniaKeyboard.git
git submodule update --init --recursive
```
and add project `AvaloniaKeyboard`
2. add style
```
```
3. use it
```
xmlns:view="clr-namespace:AvaloniaKeyboard.Views;assembly=AvaloniaKeyboard"
```
```
```
**Keyboard must set a TextBox**
TextBox can set from code or xaml
## With [Rime](https://github.com/rime/librime)
1. Download rime
In [Action](https://github.com/rime/librime/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](https://github.com/rime/librime/tree/master/data/minimal)
```
- net8.0 \
- data \
- cangjie5.dict.yaml
- cangjie5.schema.yaml
- default.yaml
- ...
- rime.dll
- RimeSharp.dll
- AvaloniaKeyboard.dll
- {your program.exe}
- ...
```
3. Init Rime
```
using AvaloniaKeyboard;
RimeUtils.Init();
```