InputStateManager 1.2.1.3
See the version list below for details.
dotnet add package InputStateManager --version 1.2.1.3
NuGet\Install-Package InputStateManager -Version 1.2.1.3
<PackageReference Include="InputStateManager" Version="1.2.1.3" />
paket add InputStateManager --version 1.2.1.3
#r "nuget: InputStateManager, 1.2.1.3"
// Install InputStateManager as a Cake Addin #addin nuget:?package=InputStateManager&version=1.2.1.3 // Install InputStateManager as a Cake Tool #tool nuget:?package=InputStateManager&version=1.2.1.3
A helper PCL (InputStateManager) for MonoGame useful for querying keyboard, mouse, touch and gamepad inputs.
Currently it provides convenience-methods in a fluent manner for:
- Keyboard (Key) Sub-context for 'Is' and 'Was', helper functions for 'Any-ALT (...SHIFT, CTRL)' and NumLock and CapsLock.
- Mouse (Mouse) Sub-context for 'Is' and 'Was' and delta-functions for mouse-wheel, position, etc...
- GamePad (Pad) Sub-context for 'Is' and 'Was' and for 'DPad', 'Triggers' and 'ThumbSticks'.
- TouchPanel (Touch) Sub-context for 'Is' and 'Was'. Currently only exposes TouchCollections.
It is a PCL so you should be able to use it in any MG project.
Learn more about Target Frameworks and .NET Standard.
-
- JetBrains.Annotations (>= 11.1.0)
- MonoGame.Framework.Portable (>= 3.6.0.1625)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on InputStateManager:
Package | Downloads |
---|---|
MonoGameDemoTools
This is a PCL library that contains helper classes that should make writing demos with and for MonoGame more comfortable. In general it contains tools that are boilerplate code and would rather distract the user from the demo. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Changes API slightly because it feels more natural and you may pass several buttons/buttonstates/etc at once (AND). Also adds OneXXX methods (OR).