private void _PollTimer_Tick(object sender, EventArgs e) { _SelectedDevice.Poll(); _UpdateDeviceButtons(_SelectedDevice.Buttons); _UpdateThumbSticks(_SelectedDevice.ThumbSticks); _UpdateDPads(_SelectedDevice.DPads); }
public static void UpdateDirectInputDevice(DirectInputGamepad device) { device.Poll(); device.Buttons.Refresh(); device.ThumbSticks.Refresh(); }