My Pokemon blue version went through the washer and dryer probably 20 years ago and it still works to this day. Talk about some hardware. I wonder if an SD card would take that sort of abuse.
Keyboards can also survive dishwashing with gentle soap. So can motherboards
I don't advise it, but tech can take quite some abuse.
Strategically placed underwear and socks can do wonders to protect things.
(never tried it with a wireless one, so...)