Implement keyboard handling, and use it to enter

a number to dial in the 'message' area under the
keypad.

Now you can make calls using the keypad as a regular phone
(or the keyboard for chars not present on the keypad)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2008-01-09 16:44:20 +00:00
parent 2ad2f92405
commit aaddb77f42
4 changed files with 102 additions and 67 deletions

View File

@@ -86,5 +86,16 @@ int console_video_config(struct video_desc **penv, const char *var, const char *
void console_video_uninit(struct video_desc *env);
void console_video_start(struct video_desc *env, struct ast_channel *owner);
/* console_board.c */
struct board;
/* !\brief print a message on a board */
int print_message(struct board *b, const char *s);
/*! \brief return the whole text from a board */
const char *read_message(const struct board *b);
/*! \brief reset the board to blank */
int reset_board(struct board *b);
#endif /* CONSOLE_VIDEO_H */
/* end of file */