Beispiel #1
0
 //Xbox 360 device disconnection handler
 private static void Receiver_DeviceDisconnected(object sender, DeviceEventArgs e)
 {
     _Handle360TabletDisconnect(e.Index);
 }
Beispiel #2
0
 //Thread off 360 connected handler.
 private static void Receiver_DeviceConnected(object sender, DeviceEventArgs e)
 {
     var th = new Thread(new ParameterizedThreadStart(_HandleConnected));
       th.IsBackground = true;
       th.Start(e.Index);
 }