[0.16.51] Mouse wheel not working as Custom input

Things that has been reported already before.
Post Reply
xWyvernx
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Sep 03, 2018 6:13 pm
Contact:

[0.16.51] Mouse wheel not working as Custom input

Post by xWyvernx »

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:

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"
	}
}
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.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [0.16.51] Mouse wheel not working as Custom input

Post by eradicator »

I'm sure this was already reported several times, but the only post i can find about it is rsed refusing to change it :|.
viewtopic.php?f=58&t=42473&hilit=wheel
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Post Reply

Return to “Duplicates”