I have been searching for a while now for some sort of package allowing me to create a program that remotely detects android inputs on a computer (Linux or Windows preferably) via wifi or bt. I don’t need to control my computer, I just need something as simple as pressing a button on my android and having my computer recognize the button is pressed. Anything like this out there or am I hoping for too much?
Essentially; any way to turn my Android into a remote sensor? If not, any recommendations on staring such a package?
There’s plenty of ways to do this, but your question is a little too vague to answer well because we don’t know what you want to do. Over wifi you could set up an ssh server on the PC and have the phone login over wifi. Then when the user hits the button send a command to the ssh server. Or just connect over any predefined socket and send customized commands.
If you want to reduce it to local devices, you can use bluetooth and send data over SPP (serial port protocol) and have a receiver on the PC run the command sent. Sending data is pretty easy, you just need an app on the PC to do something with it.