Page 1 of 1

[2.0.9] Taking off headphones pauses the game in singleplayer

Posted: Wed Oct 23, 2024 2:52 pm
by ella
When I take off my headphones the game pauses in singleplayer and multiplayer. In multiplayer I can unpause normally but in singleplayer this is not possible - I need to save the game and load it again to unpause. (as far as I can tell it triggers a multiplayer pause in singleplayer)
Notably, nothing happens when I put my headphones back on.

I am playing on 2.0.9 (build 79509 expansion, linux64) but this also happened prior to 2.0

running showkeys:
when I take headphones off:

Code: Select all

keycode 207 release
keycode 119 press
when I put them on:

Code: Select all

keycode 207 press
keycode 119 release
running showkeys --scancodes
when I take headphones off:

Code: Select all

0xe0 0xb3 0xe1 0x1d 0x45
when I put them on:

Code: Select all

0xe0 0x33 0xe1 0x9d 0xc5

Re: Taking off headphones pauses the game in singleplayer

Posted: Wed Oct 23, 2024 2:55 pm
by Rseding91
Thanks for the report. This sounds like the software for your headphones is sending the "pause" key and by default in Factorio that ... is the key to pause. As far as I know, we do not do anything special with headphones.

Re: [2.0.9] Taking off headphones pauses the game in singleplayer

Posted: Wed Oct 23, 2024 3:49 pm
by ella
That makes sense

I still think that there is an issue with pausing in single player: without pressing the pause key again, it impossible to unpause - as there is no button/GUI. I imagine a GUI element to unpause should appear or, in singleplayer, should just open the game menu (which pauses the game in a different way).

Re: [2.0.9] Taking off headphones pauses the game in singleplayer

Posted: Wed Oct 23, 2024 3:59 pm
by ella
There is also no indication the game is paused in singleplayer other than the darker background making it difficult to tell what has happened.

Re: [2.0.9] Taking off headphones pauses the game in singleplayer

Posted: Wed Oct 23, 2024 4:10 pm
by Bilka
You can unbind the "Pause game" control in the settings.