[0.16.51] Mouse wheel not working as Custom input
Posted: Mon Sep 03, 2018 6:29 pm
Basically, every other custom input seem to work just fine but when i try to use mouse wheel up or down as a custom input the game just ignores it, i tried changing the zoom hotkeys and not change them aswell, the custom input works fine with any other key, just not mouse wheel down and up, in case you are wondering here is the little code regarding the custom input setting:
Its a zoom rework mod in case you are wondering.
Worked fine if i changed the keys to Z and X ingame in the mod hotkeys settings.
Code: Select all
-- INPUT --
data:extend{
{
type = "custom-input",
name = "zoom-out",
key_sequence = "mouse-wheel-down",
consuming = "all"
},
{
type = "custom-input",
name = "zoom-in",
key_sequence = "mouse-wheel-up",
consuming = "all"
}
}Worked fine if i changed the keys to Z and X ingame in the mod hotkeys settings.