This is an NES controller which was retrofitted with a wireless doorbell module and fixed upon my door jamb. It acts as a regular doorbell.
The module was modified a bit to deal with the relatively high resistance of the NES controller button pads as well as to add a feedback LED.