Support #8306
3-button mouse to portable mouse mapping?
0%
History
#1 Updated by Vladimir Tsichevski over 2 years ago
Does anyone know?
#3 Updated by Hynek Cihlar over 2 years ago
Vladimir Tsichevski wrote:
Does anyone know?
Please be more specific.
#4 Updated by Vladimir Tsichevski over 2 years ago
I have to know how to map physical mouse buttons from mouse events to OE portable mouse events: if I know, for example, that button 5 is pressed on my mouse, which portable mouse events will it produce. I need this to create LAST-EVENT:LABEL values.
I gather, the left mouse button (button 1) is named as MOUSE-SELECT. There are also MOUSE-MENU and MOUSE-MOVE events, and I do not know which button numbers these events are mapped to. Is this mapping hard-coded or is configured somewhere? Does OE support other mouse buttons?
#5 Updated by Hynek Cihlar over 2 years ago
Vladimir Tsichevski wrote:
I have to know how to map physical mouse buttons from mouse events to OE portable mouse events: if I know, for example, that button 5 is pressed on my mouse, which portable mouse events will it produce. I need this to create
LAST-EVENT:LABELvalues.I gather, the left mouse button (button 1) is named as
MOUSE-SELECT. There are alsoMOUSE-MENUandMOUSE-MOVEevents, and I do not know which button numbers these events are mapped to. Is this mapping hard-coded or is configured somewhere? Does OE support other mouse buttons?
Please see MouseEvt.legacyEvents, you will find how the portable mouse events are mapped in FWD now. AFAIK there are portable events only for the 3-button mouse: MOUSE-SELECT-*, MOUSE-MENU-*, MOUSE-EXTEND-* and MOUSE-MOVE-*.
How OE handles additional buttons, I have no idea. We would need to test this on an OE instance with a physical mouse attached I guess.