[Vm-dev] Unique Mouse Wheel Events

DeNigris Sean sean at clipperadams.com
Mon Mar 23 18:34:27 UTC 2015


Cross-posting to Pharo dev, Squeak dev, and Squeak VM lists...

Recently, we discovered on the Pharo dev list that the key combination used to fake wheel events - ctrl + arrowKey - may be a bit too simple. Apparently ctrl+horizontalArrowKey is a standard in-use combo in Linux and Windows, so adding horizontal wheel events broke some users' workflows. So I propose "ctrl + alt + shift + cmd + arrowKey".
The new combo is:

very unlikely to be typed
backward-compatible with existing Pharo and Squeak images, which only checks that either cmd or ctrl is pressed
frees up ctrl + arrow for our Linux/Windows friends
For Pharo, there is:

https://github.com/pharo-project/pharo-vm/pull/72
Fogbugz Issue 15209: "Mouse Wheel Events Keyboard Clash", with a slice all ready on the image side once the VM patch is integrated.

NB: I changed the combo in the VM for Mac OS and OSX. Are these the only two platforms that fake wheel events? I searched a bit but didn't see similar logic for other platforms...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150323/db1d92ed/attachment.htm


More information about the Vm-dev mailing list