Scripting API

Scripting API

ScrollUnit

Enum in Abyss.Core, from Abyss.Core.

How far one unit of scroll goes.

public enum ScrollUnit : uint

Remarks

Worth branching on rather than ignoring: a mouse wheel reports lines and a trackpad reports pixels, so a game that treats them alike scrolls either imperceptibly or absurdly fast depending on the hardware it is run on.

Values

NameValueDescription
Lines0Deltas are in lines of text — a mouse wheel.
Pixels1Deltas are in pixels — a trackpad.