Struct vjoy_wrapper::vjoy_base::device::feeding::VJDPosFeed[][src]

pub struct VJDPosFeed(_);
Expand description

Holder of utility methods to feed/update vJoy devices in the most efficient way by using VJDPosition.

Feeds vJoy devices by directly providing VJDPositions. This is the most efficient way, because you can make changes in batch to a position and then push the updated position at the proper time.

Another strategy exist with VJDSeqFeed which won’t force you keep track of a position, but is less efficient. See VJDSeqFeed for more details.

Implementations

Send the position data of the device encoded in VJDPosition to vJoy. Only a device in state VJDStatus::Own can have his position updated.

Returns true if the operation succeeds, false otherwise.

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.