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.