Struct vjoy_wrapper::vjoy_base::driver::VJGeneral[][src]

pub struct VJGeneral(_);
Expand description

Holder of utility methods to retrieve general data regarding the installed vJoy driver.

Implementations

Describes the maximum number of vJoy devices that can potentially exist.

Describes the maximum value of a vJoy axis.

Describes the neutral value of a vJoy axis.

Describes the minimum value of a vJoy axis.

Describes the registry path containing the list of defined devices.

Describes the prefix of a device key in registry.

Returns true if vJoy version 2.x is installed and enabled, false otherwise.

Returns the version number of the installed vJoy driver, or None if no vJoy 2.x is installed and enabled.

Get the Product String of the installed vJoy driver, or None if it fails (vJoy version 2.x is not installed and enabled).

Get the Manufacturer String of the installed vJoy driver, or None if it fails (vJoy version 2.x is not installed and enabled).

Get the Serial Number String of the installed vJoy driver, or None if it fails (vJoy version 2.x is not installed and enabled).

Returns true if the vJoy driver version and the vJoyInterface.dll file version are identical, false otherwise.

Use VJGeneral::get_driver_dll_version if the version numbers should be kept.

Returns the vJoy Driver version and the vJoyInterface.dll file version, or None for either of one if the version cannot be determined.

The return format is a tuple: (driver_version, dll_version).

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.