private void inputManagerSync_NewInputDevice(object sender, NewInputDeviceEventArgs e) { if (e.Input is ConfigurableInput) { HandleNewDevice(e.DeviceId, (ConfigurableInput)e.Input); } }
private void inputManagerSync_NewInputDevice(object sender, NewInputDeviceEventArgs e) { HandleNewDevice(e.DeviceId, e.Input); }
private void inputManager_NewInputDevice(object sender, NewInputDeviceEventArgs e) { Console.WriteLine("New device: " + e.DeviceId); this.BeginInvoke(new NewInputDeviceHandler(inputManagerSync_NewInputDevice), this, e); }
private void inputManagerSync_NewInputDevice(object sender, NewInputDeviceEventArgs e) { if (e.Input is ConfigurableInput) HandleNewDevice(e.DeviceId, (ConfigurableInput)e.Input); }
private void inputManager_NewInputDevice(object sender, NewInputDeviceEventArgs e) { Console.WriteLine("New device: " + e.DeviceId); Dispatcher.BeginInvoke(new NewInputDeviceHandler(inputManagerSync_NewInputDevice), this, e); }
private void inputManager_NewInputDevice(object sender, NewInputDeviceEventArgs e) { UpdateUIAsync("New input device: " + e.DeviceName); }
private void inputManager_NewInputDevice(object sender, NewInputDeviceEventArgs e) { UpdateUIAsync("New input device: " + e.DeviceName); }
private void InvokeNewInputDeviceEvent(GenericInput input) { if (NewInputDevice != null) { NewInputDeviceEventArgs eventArgs = new NewInputDeviceEventArgs(input.DeviceInstanceId, input.DeviceName, input); NewInputDevice.Invoke(this, eventArgs); } }