- Home /
How to prevent window sleep when use gamepad
I have built a game for window standalone. The game play by use Gamepad or Keyboard (as Bastion). But when i use gamepad (not use keyboard or mouse) after about 5 minutes, window auto sleep. I have search information about this but can't find out solution. Thank!
Answer by oscarlundberg · Jun 12, 2017 at 09:07 AM
I don't think this can be achieved through unity, sounds more like a windows "issue". Unless you want to roll with an "ugly" solution and simulate keypress, you can of course change these settings under Power & Sleep in the windows control panel.
Your answer
Follow this Question
Related Questions
Windows Standalone Crashes in -batchmode , how do I read the strack from the log? 1 Answer
Player can't move in windows standalone 2 Answers
How do I bypass standalone config dialog? 2 Answers
Is it possible to create a game build in unity’s runtime? (I’m making something like terror engine) 0 Answers
Mac VS Windows Builds 3 Answers