KMInput 1.0.3

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package KMInput --version 1.0.3
NuGet\Install-Package KMInput -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KMInput" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KMInput --version 1.0.3
#r "nuget: KMInput, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KMInput as a Cake Addin
#addin nuget:?package=KMInput&version=1.0.3

// Install KMInput as a Cake Tool
#tool nuget:?package=KMInput&version=1.0.3

.Net Nuget GitHub

KMInput


KMInput is a library and nuget package that allows you to simulate keyboard and mouse clicks in the Windows operating system.

Examples

using KMInput;
using KMInput.Extensions;
using KMInput.InputCommands;

InputManager.ClickKey(DirectKey.A); // Direct way to simulat input
 
var builder = new InputSequenceBuilder(); // Creating builder
builder.ClickKey(DirectKey.A).Wait(1000).KeyDown(DirectKey.LSHIFT)
.ClickKey(DirectKey.A).KeyUp(DirectKey.LSHIFT); // Configuring builder
InputSequence input = builder.Build(); // Builder creates input sequence
input.Execute(); // Executing sequence
 
var input2 = new InputSequence();// Creating empty sequence
input2.Wheel(-120).Wait(1000).ClickKey(DirectKey.S);// Adding input commands (requires KMInput.Extensions)
input2.Execute();
 
var input3 = new InputSequence();
input3.Add(new KeyboardCommand(DirectKey.T, KeyboardEvent.KeyClick)); // Adding input commands in sequence (requires KMInput.InputCommands)
input3.Add(new MouseCommand(0,0, MouseMovement.SetPos));
input3.Execute();
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated