Would like to add this.
I imagine there are a few of these floating around so please let me know, so I can refactor into gio-x packages.
Use case are many but the main one is https://git.sr.ht/~mil/transito , which is a Maps app that is 100% self running, and that I wish to add sensors to.
Very cool!
@whereswaldon can say more about the scope of gio-x, but I'm inclined to ask whether gyro etc. data should be a package outside Gio? I'm assuming you only need a context object (
app.AppContext
/app.JavaVM
) for receiving such data from the device.The advantage is that your package/module would potentially see wider use, e.g. in Fyne. This is also the idea behind https://github.com/go-text .
I'd certainly love to see packages enabling this, but I agree with ~eliasnaur that it seems unlikely to require anything Gio-specific, and as a result we should avoid locking it down into gio-specific packages.