Beispiel #1
0
 private void inputManagerSync_NewInputDevice(object sender, NewInputDeviceEventArgs e)
 {
     if (e.Input is ConfigurableInput)
     {
         HandleNewDevice(e.DeviceId, (ConfigurableInput)e.Input);
     }
 }
Beispiel #2
0
 private void inputManagerSync_NewInputDevice(object sender, NewInputDeviceEventArgs e)
 {
     HandleNewDevice(e.DeviceId, e.Input);
 }
Beispiel #3
0
 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);
 }
Beispiel #7
0
 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);
         }
 }