HackerOs.AppSdk.VirtualKeyboard
2.2.2
dotnet add package HackerOs.AppSdk.VirtualKeyboard --version 2.2.2
NuGet\Install-Package HackerOs.AppSdk.VirtualKeyboard -Version 2.2.2
<PackageReference Include="HackerOs.AppSdk.VirtualKeyboard" Version="2.2.2" />
<PackageVersion Include="HackerOs.AppSdk.VirtualKeyboard" Version="2.2.2" />
<PackageReference Include="HackerOs.AppSdk.VirtualKeyboard" />
paket add HackerOs.AppSdk.VirtualKeyboard --version 2.2.2
#r "nuget: HackerOs.AppSdk.VirtualKeyboard, 2.2.2"
#:package HackerOs.AppSdk.VirtualKeyboard@2.2.2
#addin nuget:?package=HackerOs.AppSdk.VirtualKeyboard&version=2.2.2
#tool nuget:?package=HackerOs.AppSdk.VirtualKeyboard&version=2.2.2
HackerOs.AppSdk.VirtualKeyboard
A reusable, host-agnostic on-screen keyboard and a keyboard-aware split container. The keyboard
never fills a focused text field and contains no <input>/contenteditable element anywhere, so
it can never itself trigger a native on-screen keyboard — it only raises typed key events to
whatever target the host wires up.
Wrap the content you want to stay visible above the keyboard in VirtualKeyboardHost. The content
region shrinks via ordinary CSS flex layout when the keyboard docks below it:
@using HackerOs.AppSdk.VirtualKeyboard
<VirtualKeyboardHost IsKeyboardVisible="_showKeyboard"
Options="_keyboardOptions"
OnKeyPressed="HandleKeyAsync">
<MyTextSurface />
</VirtualKeyboardHost>
private VirtualKeyboardOptions _keyboardOptions = new() { ShowModifierRow = true };
private Task HandleKeyAsync(VirtualKeyPressedEvent evt)
{
// Decide what the key means for your own target — e.g. append evt.Text to a buffer,
// or translate evt.Key into your own domain's key contract.
return Task.CompletedTask;
}
HackerOs.AppSdk.Terminal consumes this package to drive the Terminal's line-mode input and,
through the existing full-screen key-event pipeline, full-screen commands like nano with no
changes to those commands.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- HackerOs.AppSdk (>= 2.2.2)
- Microsoft.AspNetCore.Components.Web (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HackerOs.AppSdk.VirtualKeyboard:
| Package | Downloads |
|---|---|
|
HackerOs.AppSdk.Terminal
HackerOS App SDK for terminal commands and the embeddable terminal contract (IHackTerminal, HackConsole). |
GitHub repositories
This package is not used by any popular GitHub repositories.
HackerOS 2.2.2: no change for app developers.
Release notes: https://github.com/Kazo-ca/HackerOs/releases/tag/v2.2.2