I remember seeing the inside of one of those - there was a metal bar inside with a hammer that struck the bar when you pressed one of the buttons, the detector in the TV would pick up the resultant noise from the bar being struck and change channels - or whatever.