Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Pluralinput.Sdk Build status

This is complete rewrite of the previous, non-open Pluralinput SDK.

Installation

NuGet

PM> Install-Package Pluralinput.Sdk

or install via VS Package Management window.

Code samples

Basic usage

using Pluralinput.Sdk;

...

// the InputManager initializes the SDK and should only be created once per application
var im = new InputManager();
// returns a list of all mouse devices
var mice = im.Devices.Mice;
// listen to the first mouse's button up event
mice.First().ButtonUp += (o, e) =>
{
    Console.WriteLine($"{o}: ButtonUp {e.Button}");
};

Make sure to check out the samples-folder for more.

TODO

  • add package to nuget.org
  • check x64/x86 compatibility issues
  • check .NET Core compatibility
  • add Unity sample project
  • add WinForms sample project
  • add WPF sample project
  • add UWP sample project

About

Develop .NET applications that can distinguish between multiple mouse and keyboard devices.

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.