Device.Poll() Method (Microsoft.DirectX.DirectInput)

Retrieves data from polled objects on a Microsoft® DirectInput® device. If the device does not require polling, calling this method has no effect. If a device that requires polling is not polled periodically, no new data is received from the device. Calling this method causes Microsoft® DirectInput® to update the device state, generate input events (if buffered data is enabled), and set notification events (if notification is enabled).

Definition

Visual Basic Public Sub Poll()
C# public void Poll();
C++ public:
void Poll();
JScript public function Poll();