public static void PauseAll(bool pause, bool onlyInGame)
 {
     device.Pause(pause, onlyInGame);
 }