Adding getKeyboardResponse method to core