tel_keyboard.h File Reference

gitk renderer keyboard definitions More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  AsciiInfo
 structure which hold the meaning between pressed key and the ASCIItable More...


Defines

#define KEY_A   'A'
#define KEY_B   'B'
#define KEY_C   'C'
#define KEY_D   'D'
#define KEY_EIGHT   '8'
#define KEY_FIVE   '5'
#define KEY_FOUR   '4'
#define KEY_NINE   '9'
#define KEY_ONE   '1'
#define KEY_RAUTE   '#'
 defines the phone keyboard

#define KEY_SEVEN   '7'
#define KEY_SIX   '6'
#define KEY_STAR   '*'
#define KEY_TABLE_ARROW   1
#define KEY_TABLE_NUMBER   2
#define KEY_TABLE_TELEPHONE   0
 defines the keyboard model

#define KEY_THREE   '3'
#define KEY_TWO   '2'
#define KEY_ZERO   '0'

Typedefs

typedef AsciiInfo AsciiInfo
 structure which hold the meaning between pressed key and the ASCIItable


Functions

char get_ascii_of_key (int key, int key_offset)
 returns an ascii character depended of the pressed key

int key_of_char (int keynumber)
 keynumber of the phonekey to a internal number

int navigation (int key, int table)
 returns a navigation character depended of the pressed key


Detailed Description

gitk renderer keyboard definitions

Id
tel_keyboard.h,v 1.3 2004/06/08 10:30:50 sast Exp

Author:
Steffen Ast <ast@users.sf.net>
Date:
Wed Feb 24 20:05:01 2004

Definition in file tel_keyboard.h.


Define Documentation

#define KEY_RAUTE   '#'
 

defines the phone keyboard

Definition at line 18 of file tel_keyboard.h.

Referenced by key_of_char().

#define KEY_TABLE_TELEPHONE   0
 

defines the keyboard model

Definition at line 37 of file tel_keyboard.h.

Referenced by navigation().


Typedef Documentation

typedef struct AsciiInfo AsciiInfo
 

structure which hold the meaning between pressed key and the ASCIItable


Function Documentation

char get_ascii_of_key int  key,
int  key_offset
 

returns an ascii character depended of the pressed key

Definition at line 62 of file tel_keyboard.c.

Referenced by capi_dtmf_input_text().

int key_of_char int  keynumber  ) 
 

keynumber of the phonekey to a internal number

Definition at line 22 of file tel_keyboard.c.

References KEY_RAUTE.

Referenced by capi_dtmf_input_arrow(), and capi_dtmf_input_text().

int navigation int  key,
int  table
 

returns a navigation character depended of the pressed key

Definition at line 74 of file tel_keyboard.c.

References KEY_TABLE_TELEPHONE.

Referenced by capi_dtmf_input_arrow().


Generated on Thu Oct 28 11:03:39 2004 for gitk by doxygen 1.3.6