I'm a newbie and still learning my way around SK and plugins. I was trying to add a push button to a KIP display that would do the "Next point" action to move the current leg of a course to the next one (as is available on Freeboard). But in my test setup, I can see no paths that are available as a button for the KIP push button widget. Looking at debug from Feeboard, I see that clicking that button does a
PUT /signalk/v2/api/vessels/self/navigation/course/activeRoute/pointIndex
PUT /signalk/v2/api/vessels/self/navigation/course/activeRoute/pointIndex
so that looks like it is calculating the next point itself and setting it as an absolute index into the route.
So how would I go about making an API for a push button that would be visible to a KIP button widget? Are there any example I can look at of how to wire up a KIP push button? Once I know the basics, writing a little plugin to do the next point logic should be easy enough.