I want to create a custom shortcut triggered by clicking (not rolling) the middle mouse button. But a seemingly trivial question gets in the way: What is the middle mouse button called in Mathematica? (For instance, the key "6" on the numeric keypad is called "Keypad6" in Mathematica's file for shortcut configuration.) There does not seem to be any information about it either in the Documentaion or on the Interenet.
Or... can this button be detected at all by Mathematica (on Windows)?
Dynamic[CurrentValue["MouseButtons"], UpdateInterval -> 0.02]
. Clicking somewhere outside the front end window works best. $\endgroup$Dynamic[CurrentValue[{"MouseButtonTest", 3}], UpdateInterval -> 0.02]
works well. However, using{"MouseClicked", 3}
insideEventHandler
doesn't work. Probably because of the window scroll thing. Didn't check if one can switch that mouse scroll thing off to get{"MouseClicked", 3}
working. $\endgroup$