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.