<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 10, 2016 at 11:05 AM,  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
Note that this commit has a postscript in the Morphic package to install an event filter in all hands to do the conversion of CTRL+up/down to MouseWheelEvent. This is the first application of our new event filters to convert a keyboard event into a mouse event.<br>
<br>
We should really update our VM to provide real mouse-wheel events... :-)<br>
</blockquote><div> </div></div>Yes we should.</div><div class="gmail_extra"><br></div><div class="gmail_extra">And in preparation for that, we should generate VM-level mouse-wheel events in EventSensor, not using event filters.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Such a wheel event should have x and y delta values in anticipation of smooth scrolling. E.g. Chrome uses 120 per &quot;notch&quot; on clicking wheels and otherwise computes it from the actual scroll amount (e.g. on a trackpad). See <a href="https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel#Chrome">https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel#Chrome</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">- Bert -</div></div>