http://www.wavecom.com/forum Open AT ® Release version: 4.10 |
This Keyboard sample ADL Library provides allows ADL applications to receive keyboard events.
All constants and APIs are defined by the keyboard.h header file, which must be included by any application to allows it to use the Keyboard Library.
The library will need the global variable bellow on link operation, to define the trace level on which will be displayed the Keyboard traces :
The Keyboard APIs are defined bellow :
key_SubscribeParameter | Description |
KeyHandler | keyboard handler, to reveive key-pressed and key-released events. (see bellow). |
RepeatTickTime | after a key is pressed, key-pressed events are repeated each RepeatTickTime ticks period. |
RepeatTickDelay | the repeated events are generated after a RepeatTickDelay ticks delay. |
Parameter | Description |
Key | Pressed or released key code |
Pressed | on 0 : key released event on 1 : key pressed event |
Parameter | Description |
KeyHandler | subscribed keyboard handler. |
Updated: Tue Sep 19 17:07:01 CEST 2006;