Take [Bobricius]’ handheld Arduino-based game console ... and it includes three buttons and a small piezoelectric speaker. He’s implemented a whole slew of games, including clones of Pong ...
This simple STM setup utilises a piezoelectric actuator constructed by deliberately cutting a piezo speaker into four quadrants ... was programmed using the Arduino stack for ease of use.