Game Controller
Connect a Game Controller via Bluetooth to your device and use it as an input device.
You can assign notes to each button, and use the thumbsticks and analogue buttons to control other parameters.
When using PS4 or PS5 controllers, you can also use the accelerometer as input and assign a different light color to each button.