-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Some work has been started with the static scroll and pointer API:
if (MouseCondition.Scrolled()) {
someValue += MouseCondition.ScrollDelta;
}if (MouseCondition.PointerMoved()) {
someValue += MouseCondition.PointerDelta;
}Perhaps it could be worth it to abstract this into a condition with an out parameter so that it can be used in a non static manner:
if (condition(out int delta)) {
someValue += delta;
}if (condition(out Vector2 delta)) {
someValue += delta;
}Or something similar.
Eventually, this could be used to map analog joystick values, triggers, etc.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request