|
From: Brian G. <bri...@ea...> - 2018-06-26 17:56:03
|
On Jun 26, 2018, at 1:10 AM, Arjen Markus <Arj...@de...<mailto:Arj...@de...>> wrote: Hi everyone, -----Original Message----- From: Harald Oehlmann [mailto:har...@el...] Sent: Monday, June 25, 2018 4:31 PM To: tcl...@li...<mailto:tcl...@li...> Subject: Re: [TCLCORE] TIP 474: "Treat the mouse wheel events in a uniform way" again Am 25.06.2018 um 16:24 schrieb Brad Lanam: On Mon, Jun 25, 2018 at 6:29 AM, Arjen Markus <Arj...@de...<mailto:Arj...@de...> <mailto:Arj...@de...>> wrote: As the various widgets cope with this variety, I wonder how many packages would be affected if I try to make %D behave uniformly. Would it be a better idea to introduce a new binding code, like, say, %r (for rotation – angle (a, A), and d are already taken)? Its values would be -1 or +1. %D could still contain the current platform-dependent value.____ A new binding code would be better. I could simplify my code. +1 So we have consensus there. It would reduce the incompatibility as the original bindings can still be used and new bindings can be introduced to eventually replace them. As for high-resolution mouse wheels: the new binding code can introduce floating-point numbers. Do we have examples of such mouse wheels? (I am not at all well versed in such matters and seldom use a mouse wheel ;)). I'd say you don't use a mouse wheel because Windows has had very primitive support for this device, even today. I've been using a Mac for about 15 years now and just recently starting working on Windows 10. I find mouse and touch pad behavior on Windows to be horrible at best, whereas on the Mac mouse and touchpad behavior is like an extension of your body. When I move my fingers and hand, things happen on the screen in a natural fashion. With Windows, I struggle to find consistent connection between motion and action, often having to revert to the keyboard to get something sane to happen. But I digress. I have an Apple Magic Mouse connected to Windows 10, using a beta version of a mouse driver from magicutilities.net<http://magicutilities.net>. This works fairly well with Windows applications that support Y-axis and X-axis scroll/tilt/gestures. Only Y-axis scrolling is supported in Tk :( So this is a good example of a high resolution, multi-function mouse. I can certainly test these proposed enhancements when available. -Brian |