Esempio n. 1
0
 public DMouse(SlimDX.DirectInput.Mouse mouse)
 {
     umouse = mouse;
     mouse.Acquire();
     System.Threading.Thread mthread = new System.Threading.Thread(thetar);
     mthread.Start();
 }
Esempio n. 2
0
 public DKeyboard(SlimDX.DirectInput.Keyboard underlyingKeyboard)
 {
     underlyingKeyboard.Acquire();
     mboard = underlyingKeyboard;
     System.Threading.Thread mthread = new System.Threading.Thread(thetar);
     mthread.Start();
 }