I am still very much a newbie so maybe there is a workaround for this that I haven't found yet, but it would be really useful to be able to map a steering wheel button to a macro rather than a single command.
My use case is that I am going to be using one of these to help control my Dudu7 headunit.
https://vi.aliexpress.com/item/1005009332616180.html
The buttons on it are a resistance ladder so I have been able to connect it to the Key1 input line and set up various commands for it. It works great but only for a single action - for the Media and Radio buttons I would really like it to activate the relevant player and then after a second or 2 return to the home screen.