Hello, I'm trying to do the same thing so I ran the code you posted above but it doesn't recognize the button being released. Is it possible for you to post the final code?
Hello, I've been trying to use this USB Audio card: https://http2.mlstatic.com/tarjeta-de-sonido-usb-71-con-control-de-volumen-D_NQ_NP_904044-MCO31004989404_062019-F.webp as sound output and input. I followed this tutorial: https://www.raspberrypi-spy.co.uk/2019/06/using-a-usb-audio-device-with-the-...