View Issue Details

IDProjectCategoryView StatusLast Update
0008926ardourfeaturespublic2022-09-13 17:25
Reportermrmrrs Assigned To 
Status newResolutionopen 
PlatformDebian GNUOSLinuxOS Version(any)
Product Version6.9 
Summary0008926: MIDI learn without middle mouse button (using a trackball)
DescriptionHello. :)

Is there a way to assign a different mouse button for mapping a parameter to a MIDI controller?

As Ardour awaits a middle mouse click on a parameter, to map it to a MIDI controller and I use a trackball ("Kensington Orbit"), that has no middle mouse button, it would absolutely make sense to be able to specify other buttons for MIDI mapping. I know, that many people use trackballs in studios, as they are more practical in terms of space requirement on a mixing desk. However, the Kensington Orbit has buttons for left click, right click and a scroll wheel (non-clickable). The ball is also non-clickable.

The most practical way would be a right click (on any parameter), while pressing the left "ALT" key on the keyboard, as this combination has no particular function in this context.

Have I overlooked an option or is this really not a feature? If the latter is true, please, add this. :))
I don't want to produce e-waste, by just buying a three-button mouse. As the trackball is fully working.
It is also more ergonomical and less likely to cause carpal tunnel syndrome.

Thank you in advance. Namaste.
Best regards,
Steps To ReproduceUsing a two-button mouse or trackball and trying to use the third button. :D
TagsAccessibility, automation, control, feature request, feature-request midi, features, GUI, hotkey, improvements



2022-06-15 19:26

administrator   ~0026482

This is currently not configurable (but may become so in future versions).

On Linux/X11 a common solution to use "Evdev Middle Button Emulation" press left+right mouse button emulates a middle-mouse button press.


2022-09-13 17:21

reporter   ~0026577

Thanks! I am absolutely looking forward to it. :)

In the meanwhile I have successfully set up the emulation.
Somehow it seems to work everywhere else but within Ardour.

For example:
Firefox acknowledges such a button press and reacts accordingly by opening an URL as a new tab or closing a tab etc..
Nautilus also reacts, as expected, by opening a folder as a new tab.
Ardour either does nothing or only acknowledges one of the two buttons.

And I have tried to exactly time the simulatneous press of these buttons.
But as all other applications correctly recognize the emulation as a third button press,
I presume Ardour ignores the time window set for the press or the whole emulation itself.

Is there a need to modify the file "/home/"username"/.config/ardour6/ui_scripts"?
And if so, could you please share a piece of code to be put in there to enable Ardour to recognize the evdev emulation?

If you need some log file or screenshot in this regard, please, let me know.

Thanks in advance. Namaste.

Best regards,

Issue History

Date Modified Username Field Change
2022-06-15 18:48 mrmrrs New Issue
2022-06-15 18:48 mrmrrs Tag Attached: Accessibility
2022-06-15 18:48 mrmrrs Tag Attached: automation
2022-06-15 18:48 mrmrrs Tag Attached: control
2022-06-15 18:48 mrmrrs Tag Attached: feature request
2022-06-15 18:48 mrmrrs Tag Attached: feature-request midi
2022-06-15 18:48 mrmrrs Tag Attached: features
2022-06-15 18:48 mrmrrs Tag Attached: GUI
2022-06-15 18:48 mrmrrs Tag Attached: hotkey
2022-06-15 18:48 mrmrrs Tag Attached: improvements
2022-06-15 19:26 x42 Note Added: 0026482
2022-09-13 17:21 mrmrrs Note Added: 0026577