3 ms·
You could just detect key presses. For most games 30 seconds without wasd or 1234 means you're in a menu.
by growt 9y ago
You could just detect key presses. For most games 30 seconds without wasd or 1234 means you're in a menu.
- hanrelan 9y agoWe do use that for idle detection (so we don't count it for your total played time). But for the end-game detection we need to be more accurate because we don't want to accidentally trigger in the middle of a game (maybe you're waiting for a respawn and stepped away from your comp while dead) and we want to immediately trigger when the game ends so you can't queue for the next one.