Page MenuHomeFeedback Tracker

displayEventHandler "mouseZChanged" can't cancel default handling of the event like "keyDown"
New, WishlistPublic

Description

The displayEventHandler "MouseZChanged" cannot be made to cancel default mousewheel behavior by returning a boolean, as say "KeyDown" can. Adding this functionality would allow the mousewheel to be used much more gracefully in custom menus and interfaces.

Details

Legacy ID
4005824171
Severity
None
Resolution
Open
Reproducibility
Have Not Tried
Category
Scripting
Steps To Reproduce

Attempt to execute the following:

findDisplay(46) displayAddEventHandler ["MouseZChanged", "true"];

The action menu is still brought up and accessed as normal after execution. Conversely,

findDisplay(46) displayAddEventHandler ["KeyDown", "true"];

Will effectively disable all keyboard input.

Event Timeline

Hypnomatic edited Additional Information. (Show Details)
Hypnomatic set Category to Scripting.
Hypnomatic set Reproducibility to Have Not Tried.
Hypnomatic set Severity to None.
Hypnomatic set Resolution to Open.
Hypnomatic set Legacy ID to 4005824171.May 7 2016, 5:07 PM