I'm trying to work out whether there's any means of using a Di2 shifter button press to trigger an event in an app, but it doesn't seem clear. There are a couple of topics on this already, but most seem to be stale.
The only possibility I can see is potentially using an AntPlus.DeviceListener if at all possible, but the shifter buttons are typically setup to be connected directly to the Garmin.
There are certain events that the Garmin allows triggering out of the box with the buttons, like starting/stopping an activity etc. I understand that certain listeners can be configured here but that feels a bit janky to force a user into lapping/start/stopping their activity just to have an app perform a function.
Does anyone know any more about using a Shimano D-Fly channel/Di2 button action in an app directly?