InputHandlers.MonoGame
1.0.1
See the version list below for details.
dotnet add package InputHandlers.MonoGame --version 1.0.1
NuGet\Install-Package InputHandlers.MonoGame -Version 1.0.1
<PackageReference Include="InputHandlers.MonoGame" Version="1.0.1" />
paket add InputHandlers.MonoGame --version 1.0.1
#r "nuget: InputHandlers.MonoGame, 1.0.1"
// Install InputHandlers.MonoGame as a Cake Addin #addin nuget:?package=InputHandlers.MonoGame&version=1.0.1 // Install InputHandlers.MonoGame as a Cake Tool #tool nuget:?package=InputHandlers.MonoGame&version=1.0.1
InputHandlers
A library for handling keyboard and mouse input in MonoGame.
Overview
This library processes mouse and keyboard updates from XNA and broadcasts changes in state to subscribers. You subscribe to changes by implementing IMouseHandler and IKeyboardHandler and passing them to the MouseInput and KeyboardInput classes. Upon each Poll call, your implementations of IMouseHandler and IKeyboardHandler will receive calls if any change of state occurred.
A sample project is provided which shows how the events work and how to use the library.
Mouse Events
HandleMouseScrollWheelMove
HandleMouseMoving
HandleLeftMouseClick
HandleLeftMouseDoubleClick
HandleLeftMouseDown
HandleLeftMouseUp
HandleLeftMouseDragging
HandleLeftMouseDragDone
HandleRightMouseClick
HandleRightMouseDoubleClick
HandleRightMouseDown
HandleRightMouseUp
HandleRightMouseDragging
HandleRightMouseDragDone
HandleMiddleMouseClick
HandleMiddleMouseDoubleClick
HandleMiddleMouseDown
HandleMiddleMouseUp
HandleMiddleMouseDragging
HandleMiddleMouseDragDone
Keyboard Events
HandleKeyboardKeyDown
HandleKeyboardKeyLost
HandleKeyboardKeyRepeat
HandleKeyboardKeysReleased
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- MonoGame.Framework.WindowsDX (>= 3.6.0.1625)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial Release