The automatic feature is thanks to a capacitive sensor built with a wire that loops the perimeter of the keyboard. Of course to monitor the sensor and drive the servos you need some kind of brain.