No internet connection
  1. Home
  2. Support

HID triggers from a gaming mouse (Logitech G502 HERO) doesn't work without fiddling around with the driver of the mouse

By Matt Ch @Matt_Ch
    2023-03-14 15:03:57.803Z

    HID triggers from a gaming mouse (Logitech G502 HERO) doesn't work without fiddling around with the driver of the mouse

    System Information

    SoundFlow 5.3.0

    OS: darwin 21.6.0

    ProductName: macOS
    ProductVersion: 12.6.3
    BuildVersion: 21G419

    Steps to Reproduce

    1. Boot up the computer.
    2. Launch pro tools
    3. Try to use SF with the gaming mouse
    4. Nothing happens

    Expected Result

    I would expect the buttons of my G502 Hero gaming mouse to trigger the macros assigned to it, straight away after boot, without any prior manipulation.

    Actual Result

    Nothing.

    Workaround

    I have to quit PT, quit SF, launch the configuration panel of the mouse driver (Steermouse), click "reconfigure" which basically reset the device, launch SF again, launch PT again, and voilà, it work as it should. Please note I use the extra buttons this mouse for a bunch of application, SF is the only one which is problematic. Please also note that doing this every morning before work is really annoying.

    Other Notes

    I've been using this mouse with SF from day 1, everything worked as it should, until a week back or so. I didn't change anything (same version of mac os, soundflow, pro tools...). Can't figure out what's happening.


    Links

    User UID: WagHEQVuNFMMnDQptgLDx7rMPtI3

    Feedback Key: sffeedback:WagHEQVuNFMMnDQptgLDx7rMPtI3:-NQVdZ73u1XlyW0X3jjJ

    Feedback ZIP

    • 3 replies
    1. Hi Matt,

      Thanks for reporting here. As I mentioned over the chat, we don't recommend using the HID trigger option for mice.
      There's a longer technical explanation for why this is tricky - in short, the HID system works differently for mice in macOS, since they're effectively "seized" by the OS, so the usual things that work for HID devices work differently for mice.

      To sum it up, the HID functionality in SoundFlow was not designed for mice, but for external, custom keyboards such as X-keys, and there's no guarantee it will work with mice in any way.

      To get a more stable functionality, we recommend using the built-in driver that comes with your mouse and set it to launch SoundFlow commands some other way, for example by having it trigger SoundFlow via CLI (terminal commands), having it simulate keystrokes that you then define Keyboard Triggers for in SoundFlow, or through some other means - it comes down to which types of commands you are able to trigger from your Logitech software.

      1. M
        In reply toMatt_Ch:
        Matt Ch @Matt_Ch
          2023-03-14 15:31:29.696Z

          Hi,
          As said in the report, I don't use the Logitech driver, but the Steermouse one:
          https://plentycom.jp/en/steermouse/
          FYI there's no Logitech driver for mac os, at least for their gaming mouse.
          I've been using this mouse and driver combo for years with no issue, even when triggering macros with other macro software. So I have to say your answer is very disappointing.
          Best,
          Matt

          1. Hi Matt,

            I've been using this mouse and driver combo for years with no issue, even when triggering macros with other macro software

            Unfortunately, as mentioned, there are technical reasons why we're limited in supporting this via the HID implementation in SoundFlow. But, as I also mentioned, there are ways you can implement this by using the mechanisms I shared. I'm not sure where your disappointment comes from - you should be able to get this working, just using a different approach than the HID trigger.

            For the Steermouse application, from what I can tell from the link you shared, you'd get the most stable implementation by either simulating key strokes (and then hook those up via a Keyboard Trigger in SoundFlow) or by using the "Open" action.

            You can read more about how to launch SoundFlow commands from command line here, which may also be useful:
            https://soundflow.org/docs/reference/cli