Enter function using keypad

if (key == something) {
do_some_things();
}