We don’t do anything special in any of those cases. What I suspect is happening is when alt tabbed from the game the software stops accepting requests to change colors from Factorio and then once focused again the next time Factorio requests to set a key color it starts updating again.
Given we do not do anything when focus is lost to start the “don’t listen to requests from this process” I don’t see why we should be doing anything to stop that logic. I’d expect the software on the keyboard side to automatically re-enable it when focus switches back to the Factorio process.
But again, I am unable to reproduce any of the mentioned issues so I have nothing to work on around this.
[Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
FYI I, too, have this issue on Logitech.
I wonder if it could be related to multi-monitor stuff, as I often mouse out to another window to chat or do whatever on the other monitor, and then click back in to the factorio window, with the noted issue.
I wonder if it could be related to multi-monitor stuff, as I often mouse out to another window to chat or do whatever on the other monitor, and then click back in to the factorio window, with the noted issue.
-
- Manual Inserter
- Posts: 2
- Joined: Tue Sep 07, 2021 8:54 am
- Contact:
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
Same issue, workaround doesn't work, and I also use a multi-monitor setup.dnsmcbr wrote: Sat May 10, 2025 11:06 pm FYI I, too, have this issue on Logitech.
I wonder if it could be related to multi-monitor stuff, as I often mouse out to another window to chat or do whatever on the other monitor, and then click back in to the factorio window, with the noted issue.
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
To add some extra data points: when clicking back in whilst a loading bar is displayed (i.e. at startup or loading map) it works too.
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
First of all - thank you!Rseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.

I have a new second install for my pY playthrough which I downloaded from the website and when playing that - the behaviour is somehow different. As soon as the game opens, the keyboard changes to the orange "factorio-mode" and only changes back when I close the game.
When I play my steam-installation, the keyboard changes from "factorio-mode" to "windows-desktop-mode" every time I switch out of factorio.
So I guess there is a wrapper from steam which causes all those issues with the keyboard and hopefully the added call will tend to the issues which seem to be introduced by steam...
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
Thanks - I'll switch to Experimental and when that release lands on Steam I can provide rapid feedbackRseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
FYI I've tried on .52, but no luckRseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.

I'll probably just go to the non-steam version which seems to not have this issue.
Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio
Now I'm using the non-steam client, an interesting observation is that the keyboard is *staying* in the Factorio config during tabbing etc. rather than reverting to the default config whent abbed.