Bazzite comes with joydev, analog, and xpad, so just a cursory search has me believe this should work more or less out of the box (https://askubuntu.com/questions/33676/how-to-configure-an-usb-ddr-dance-pad-for-stepmania) but I acknowledge I have no way to test this. You might have to modprobe each module or add them to /etc/modules-load.d/ddr-pad.conf …
Darn, I don’t have a dance mat0 :/ Silly approach but output dancemat to keystrokes? I have made some silly combinations work with AntiMicroX (https://github.com/AntiMicroX/antimicrox?tab=readme-ov-file) installed as flatpak.
Maybe helpful:
Bazzite comes with joydev, analog, and xpad, so just a cursory search has me believe this should work more or less out of the box (https://askubuntu.com/questions/33676/how-to-configure-an-usb-ddr-dance-pad-for-stepmania) but I acknowledge I have no way to test this. You might have to modprobe each module or add them to /etc/modules-load.d/ddr-pad.conf …
¯_(ツ)_/¯
Good luck!