Change default select button
My administration doesn't allow me to change my keyboard settings, can I make a different button select measures rather than shift+click, or I'll hear the DO YOU WANT TO TURN ON STICKY KEYS option without the ability to turn it off. Where is the location either in the default program, or the open source version where I can turn this off?
Adding because parts of my question were answered. You can't change it in preferences, but what part of the code do I have to change to rewire the shift command?
Comments
Edit/Preferences/Shortcuts?
In reply to Edit/Preferences/Shortcuts? by Shoichi
I already looked in shortcuts and couldn't find it. It might be there still, can you or anyone else give me pointers?
In reply to I already looked in… by mickyfitz808
https://musescore.org/en/handbook/keyboard-shortcuts
That is a hard-coded interaction, so no, you can't change it.
Note that you also shouldn't have to hold down Shift all that long though, so it doesn't have to trigger the "sticky keys" warning (which by default happens only after holding that key for 5 seconds or more).
Click on the first element, move your mouse above the 2nd element. Then press shift and click immediately after pressing the key. Release the shift key directly after clicking. You likely will be able to perform that click in less than 5 seconds..
Also: there is only the "open source version" of this software. There is no other.
In reply to That is a hard-coded… by jeetee
What part of the code would I have to change?
And yes it's a bad habit I have.
In reply to What part of the code would… by mickyfitz808
At the very least https://github.com/musescore/MuseScore/blob/81662a270ef92590e43986c9ff2… as that is where having Shift pressed during a mouse click event in normal mode is handled to make it a range selection.
But there are many actions and thus event handlers that behave differently in MuseScore (and I imagine in many other programs as well) that use the Shift modifier as a differentiator (according to this quick search https://github.com/musescore/MuseScore/search?q=Qt%3A%3AShiftModifier&u… at least 28 files use it).
I do wonder though.. do you also have issues writing capital letters? As the time required to press the Shift button would be pretty much equal to the time required to press it during mouse interaction..