Grumson.cSharp.GamePad
1.0.0.2
dotnet add package Grumson.cSharp.GamePad --version 1.0.0.2
NuGet\Install-Package Grumson.cSharp.GamePad -Version 1.0.0.2
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="Grumson.cSharp.GamePad" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grumson.cSharp.GamePad --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Grumson.cSharp.GamePad, 1.0.0.2"
#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 Grumson.cSharp.GamePad as a Cake Addin #addin nuget:?package=Grumson.cSharp.GamePad&version=1.0.0.2 // Install Grumson.cSharp.GamePad as a Cake Tool #tool nuget:?package=Grumson.cSharp.GamePad&version=1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Grumson GamePad
Properties:
int PoolInterval (Controller pool interval in ms)
bool SendDataChangedb (If set to true: GamePadPoolEvent trigger just whene data is changed)
int DeadZone (Axis dead zone.)
int <b>AxisRange</b> (Axis Range (if AxisRange = 100; axisValue is from -100 to 100))
List <b>DeviceNameList</b> (Names of all devices connected to pc (Gamepads and Joysticks))
List <b>DeviceEffectsList</b> (Lis of enabled device effects)
Event:
- void <b>GamePadPoolEvent</b>(object, GamePadEventArg) <br>If SendDataChanged is false: event triger every pool. If SendDataChanged is true: event triger just vhene controller data changed.</br> <br><b>GamePadEventArg</b></br>
- All axis values (x,y,z,rs)
- All button state (on - off; true - false)
- All button folling edge detection
- All button rising edge detection
Methods:
- public bool Enable(); // enable first device from DeviceNameList
- Enable(string productName); // enable selected device from DeviceNameList
- void Disable();
- bool Start(); // Start pooling
- void Stop(); // Stop pooling
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Grumson.cSharp.Timer (>= 1.0.0.3)
- SharpDX.DirectInput (>= 4.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add new features and some bug fix.