How to call functions when a key changes it's state

Dependencies:   Hotboards_keypad mbed

no such method: tip