[2.0.9] Taking off headphones pauses the game in singleplayer

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
ella
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Oct 23, 2024 2:32 pm
Contact:

[2.0.9] Taking off headphones pauses the game in singleplayer

Post 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
Last edited by ella on Wed Oct 23, 2024 2:56 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14273
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Taking off headphones pauses the game in singleplayer

Post 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.
If you want to get ahold of me I'm almost always on Discord.
ella
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Oct 23, 2024 2:32 pm
Contact:

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

Post 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).
ella
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Oct 23, 2024 2:32 pm
Contact:

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

Post 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.
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

You can unbind the "Pause game" control in the settings.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Technical Help”