[2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Bugs that are actually features.
Nebisan
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Dec 08, 2024 6:31 pm
Contact:

[2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Post by Nebisan »

What did you do?

I am playing on macOS 15.6.1 and using a logitech G402 mouse with the logitech GHUB software. I assigned one of the side mouse buttons to a modifier key (any of shift, control, option, command) using the GHUB software. I pressed that side mouse button in game.

What happened?

Even after I let go of the side mouse button, the game acted as if I had held it down. For example, if I assign the mouse button to option (equivalent to ALT in game), and then press it once, and then click on a chest, instead of opening that chest, it will open the Factoriopedia entry for the chest. The game acts as if the mouse button was held until I press any modifier key (shift, fn, control, option, command) on my keyboard. Then it goes back to normal. It does not go back to normal if I press the mouse button again.

This happens for every modifier key. For instance, if I assigned the mouse button to control, and then open a chest, and press the mouse button, when I click on an item, it will transfer the item to the chest instead of putting it in my cursor.

What did you expect to happen instead? It might be obvious to you, but do it anyway!

Once the mouse button is let go, I expect the game to act as if the modifier key that the mouse button is assigned to is no longer pressed.

Does it happen always, once, or sometimes?

It happens every time I press the mouse button. The game goes back to normal every time I press a modifier key on my keyboard.




I recently got a new mac laptop and this issue is quite irritating as I normally make heavy use of the mouse modifier buttons to bring up things like deconstruction planner and do things like counter-rotate. I would be happy to provide any more details on request. Thank you.
Attachments
factorio-previous.log
(7.48 KiB) Downloaded 12 times
factorio-current.log
(7.89 KiB) Downloaded 11 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16050
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Post by Rseding91 »

Thanks for the report. I suspect this is an issue with what ever software you're using to re-map keys onto the mouse. Factorio does not do anything regarding key events except listen to them - and it sounds like it's simply not getting the key-up event when you release the mouse button.
If you want to get ahold of me I'm almost always on Discord.
Donion
Factorio Staff
Factorio Staff
Posts: 420
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Post by Donion »

I have a Logitech mouse (G403) so I installed G HUB. However I'm on Windows.
Assigning modifier keys to side buttons worked and I didn't experience the issue you're describing. So this might be Mac G HUB specific.
Nebisan
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Dec 08, 2024 6:31 pm
Contact:

Re: [2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Post by Nebisan »

It is for sure a mac-specific issue, as I was using the same mouse and same software on my old windows laptop without any issues. I contacted logitech support and they said the adapter I'm using to connect my mouse to my mac might be the issue, but I used the adapter on my windows laptop and the problem wasn't there. This issue is also present on a different game (shapez 2) so it's not Factorio-specific. The logitech support agent said the issue will be escalated so I'm waiting for their reply now.
Nebisan
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Dec 08, 2024 6:31 pm
Contact:

Re: [2.0.65] Game acts as if mouse button assigned to a modifier key is "held down" when it isn't

Post by Nebisan »

It turns out the mouse model I use is not compatible with macOS, which was the cause of the issue.
Post Reply

Return to “Not a bug”