Joined: 6-May-2007 Posts: 11180
From: Greensborough, Australia
Hi.
I'm wonder if there is anything OS4 native that can convert mouse wheel events into something 68K programs like editors can understand?
I looked around and didn't see anything OS4 specific. I'm aware of FreeWheel. OS4 doesn't have anything built in?
I wonder how it would work. The obvious way is to convert wheel events into cursor up and down events. But how would the system know what understands wheel events and what doesn't?
Status: Offline
thomas
Re: Utilities to simulate mouse wheel for 68k programs? Posted on 26-Oct-2020 11:02:22
Joined: 6-May-2007 Posts: 11180
From: Greensborough, Australia
@thomas
Quote:
You could write the opposite of this:
Okay, so translating IECLASS_MOUSEWHEEL to NewMouse. The only other thing would be in determining if the window was old style. As I wouldn't want to corrupt the events.
Quote:
Which 68k program do you have in mind? I can't remember that I ever missed mouse wheel support in any program I used.
In my case it would be EE. The classic AmigaE source editor. It's made to work on OS3 but doesn't respond to mouse wheel events. I don't even know how this was added. Without any OS wheel standard it becomes defacto. Was this NewMouse?
But how can even the OS know a program doesn't support mouse events? I'm not aware of any bidirectonal communication. You get an IMsg, you check it for what you want, then reply it back. It's not like you get a message at first asking what you understand. And there are no IDCMP classes I can see specifying any extra mouse events.