I'm seeking advice on how to improve my macro to display a "text formatting macro group" palette when "This USB device key OpticalMouse #64* is long pressed.
The palette has intermittently displayed even though I have not long-pressed the mouse button.
The palette has intermittently not displayed even though I have long-pressed the mouse button and the "Copy" menu item is available.
The palette does not display under the mouse cursor, even though the palette's "Place palette under mouse" checkbox is checked. If I use the palette's keyboard shortcut (command escape) instead of long-pressing, the palette displays under the mouse (cursor).
I have resolved items 1 and 3 above, but long-pressing the left button on my Satechi USB-C mouse does not consistently display the associated palette (the assigned keystroke does).
Does this indicate that my mouse and KM are not compatible?
It may be that the mouse button is not being kept down as far as Keyboard Maestro is concerned. It may be the mouse is sending other events. It might be that there are some modifiers doing things, maybe the mouse is sending some modifiers for some reason.
Verify whether the macro is triggering or not (in the Engine.log file).
Try creating two macros, with the USB Device Key trigger on the mouse button, and configure one to pressed and one to released and see what you get in the log if you press and hold the button.