예제 #1
0
 //Xbox 360 device disconnection handler
 private static void Receiver_DeviceDisconnected(object sender, DeviceEventArgs e)
 {
     _Handle360TabletDisconnect(e.Index);
 }
예제 #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);
 }