<p>Mouse wheels have been implemented in this commit for OSX and unix VM:</p>
<p><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/897ef1725e32c2eb3d24e3402b2e95b114b8b28b/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/897ef1725e32c2eb3d24e3402b2e95b114b8b28b"><tt>897ef17</tt></a></p>
<p>I'm also proposing <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="542667153" data-permission-text="Issue title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/461" data-hovercard-type="pull_request" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/pull/461/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/461">#461</a> for windows VM</p>
<p>Those events will be generated with a VM parameter saved with image.<br>
In Squeak 5.3, see: <code>Smalltalk sendMouseWheelEvents: true.</code>.</p>
<p>So we are near to close this issue...</p>
<p>However, the linux and OSX commit do not report button and modifiers state correctly (correctly = like every other mouse event).<br>
We have to change that.</p>
<p>Also, some devices (like MacBook trackpad) generate a flow of wheel events with very small deltas (far less than 120, I observed deltas down to 1!).<br>
This delivers far too many events to image side, making Morphic not responsive.<br>
Thus we shall better accumulate a few of those events at VM side until a threshold is reached.<br>
I have hardcoded a threshold of 20 on windows VM (<code>WHEEL_DELTA/6</code>), it kind of works for me... (maybe 10 would give a greater sensitivity).</p>
<p>I will create another branch with fixes for OSX/linux.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/41?email_source=notifications&email_token=AIJPEW7VL5T4674LNT4LW7TQ2UOW7A5CNFSM4CNA2S22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWFJZI#issuecomment-569136357">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW5GTJTTDQ7P2VTI2O3Q2UOW7ANCNFSM4CNA2S2Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW52TYIQ55PQFQWPGPDQ2UOW7A5CNFSM4CNA2S22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWFJZI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/41?email_source=notifications\u0026email_token=AIJPEW7VL5T4674LNT4LW7TQ2UOW7A5CNFSM4CNA2S22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWFJZI#issuecomment-569136357",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/41?email_source=notifications\u0026email_token=AIJPEW7VL5T4674LNT4LW7TQ2UOW7A5CNFSM4CNA2S22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWFJZI#issuecomment-569136357",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>