Page 1 of 1
[0.18.18] Toggle Filter Bug
Posted: Tue Apr 14, 2020 1:43 pm
by DJQuad
On mice without out a middle button, Toggle Filter is set to RMB, however when I right-click an empty inventory slot on a cargo wagon for example, nothing happens. I tried rebinding Filter Toggle from RMB to another key but it says it has to be mouse-related, and all other combinations of shift/alt/ctrl/RMB/LMB are taken.
If you need any further info please let me know.
Re: [0.18.18] Toggle Filter Bug
Posted: Tue Apr 14, 2020 4:09 pm
by Rseding91
Thanks for the report however as far as I can see there is no such logic to change the default key binding based off the mouse the computer has.
You need a mouse with a scroll wheel to play the game because as you said: the other combinations of buttons are already used.
Re: [0.18.18] Toggle Filter Bug
Posted: Wed Apr 15, 2020 1:25 am
by DJQuad
Thanks for the reply. It's a Lenovo mouse that came with the PC. It does have a scroll wheel but pressing it doesn't act like a middle mouse button.
I originally reported this in "Simple Questions and Short Answers" and many others said it's a bug and to report it.
Edit: There's clearly some sort of logic involved because when going into the default keybindings, there's nothing that's bound to MMB.
- controls.png (1.13 MiB) Viewed 1987 times
This varies from
https://wiki.factorio.com/Keyboard_bindings#Inventory
Re: [0.18.18] Toggle Filter Bug
Posted: Thu Apr 16, 2020 1:37 pm
by DJQuad
Since you don't think this is a bug, what's the workaround?
Re: [0.18.18] Toggle Filter Bug
Posted: Thu Apr 16, 2020 4:51 pm
by Rseding91
DJQuad wrote: Thu Apr 16, 2020 1:37 pm
Since you don't think this is a bug, what's the workaround?
You need a mouse with a middle button that's clickable.
Re: [0.18.18] Toggle Filter Bug
Posted: Thu Apr 16, 2020 8:13 pm
by DJQuad
It's stupid not to support that but oh well. You were incorrect about the "no such logic to change the default key binding based off the mouse"
It would take all of 4 lines of code to fix this.
Code: Select all
lbutton & rbutton::mouseclick, middle
rbutton & lbutton::mouseclick, middle
rbutton::mouseclick, right
lbutton::mouseclick, left
Re: [0.18.18] Toggle Filter Bug
Posted: Fri Apr 17, 2020 5:55 am
by mmmPI
DJQuad wrote: Tue Apr 14, 2020 1:43 pm
all other combinations of shift/alt/ctrl/RMB/LMB are taken.
Rseding91 wrote: Thu Apr 16, 2020 4:51 pm
You need a mouse with a middle button that's clickable.
i have to respectfully disagree :
- magictrick.jpg (89.26 KiB) Viewed 1892 times
works fine for me.
PS: i found a funny thing, when you try to bind it to "wheel up", it says "it has to be mouse enable" to justify not accepting which is slightly misleading.
Re: [0.18.18] Toggle Filter Bug
Posted: Fri Apr 17, 2020 1:58 pm
by DJQuad
The workaround works. Thanks!