Page 2 of 2

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Posted: Sun Dec 22, 2024 4:22 pm
by Rseding91
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.

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Posted: Sat May 10, 2025 11:06 pm
by dnsmcbr
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

Posted: Sun May 18, 2025 11:00 pm
by ElOhTeeBee
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.
Same issue, workaround doesn't work, and I also use a multi-monitor setup.

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Posted: Tue May 20, 2025 2:26 pm
by dnsmcbr
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

Posted: Tue May 20, 2025 8:16 pm
by Rseding91
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

Posted: Tue May 20, 2025 9:45 pm
by Maeximus
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.
First of all - thank you! :space-age:

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

Posted: Wed May 21, 2025 9:06 pm
by dnsmcbr
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.
Thanks - I'll switch to Experimental and when that release lands on Steam I can provide rapid feedback :)

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Posted: Fri May 23, 2025 12:40 pm
by dnsmcbr
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.
FYI I've tried on .52, but no luck :(

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

Posted: Fri May 23, 2025 1:37 pm
by dnsmcbr
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.