Using Android phone to control a raspberry pi nintendo 64 emulator Say I make a nintendo 64 emulator on a raspberry pi 4, and I want to use my phone as a wireless controller ether over bluetooth or WiFi.
I doubt that any Android software would have support for linux, let alone support an N64 emulator.
So what would be the best course of action here, make a python translator that catches the signal sent by the phone, reads it, then simulates button presses on the raspberry? If anyone has a better solution, please let me know!
Android 9 added support for the Bluetooth HID Device Profile which can be used to make a Android device behave like a HID gamepad:
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice
The Bluetooth HID profile isn't available on all devices, you can use the Bluetooth HID Profile Tester app to see if it's supported:
https://play.google.com/store/apps/details?id=com.rdapps.bluetoothhidtester&amp;hl=en_US&amp;gl=US
I've had some luck using ginkage's GamePad app:
https://github.com/ginkage/GamePad