I have been playing with Gnome Mobile on PostMarketOS on my PinePhone. Been thinking about writing an application. I was just wondering if there is a way to programmically figure out what device you are on, as the UI will need to work differently depending on if there is a mouse/keyboard, touch screen, or a remote.