[Vm-dev] Re: [squeak-dev] Unique Mouse Wheel Events
Bert Freudenberg
bert at freudenbergs.de
Tue Mar 24 13:35:45 UTC 2015
> On 23.03.2015, at 19:34, DeNigris Sean <sean at clipperadams.com> wrote:
>
> 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
I'm not quite sure I understand.
It shouldn't matter if ctrl-arrow OS keyboard events have some system-wide binding. E.g. on a Mac, this is the default to switch between desktops.
The mouse wheel does *not* generate an OS keyboard event. We only synthesize a VM keyboard event for the image to consume. So how could that possibly affect anything outside the image?
I'm not against changing how the VM handles scroll events. However, I would like to understand what the actual problem is in the first place.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150324/85d8cdfe/smime.bin
More information about the Vm-dev
mailing list