Doco updates

ugfx_release_2.6
inmarket 2014-08-23 13:00:10 +10:00
parent 1a495f3013
commit 8c953378ca
2 changed files with 6 additions and 6 deletions

View File

@ -14,10 +14,10 @@
/* Driver hardware support. */
/*===========================================================================*/
/* This driver has problems with other orientations and requires significantly
* extra code to handle them. By default we turn this on (only if the GDISP_NEED_CONTROL
* is turned on). If you are worried about code size and don't need orientation support
* define GDISP_NOKIA_ORIENTATION as false.
/* This driver has problems with other orientations and requires significant
* extra code to handle them. By default we turn this on only if the GDISP_NEED_CONTROL
* is turned on. If you are worried about code size and don't need orientation support
* define GDISP_NOKIA_ORIENTATION as false in your gfxconf.h.
*/
#ifndef GDISP_NOKIA_ORIENTATION
#define GDISP_NOKIA_ORIENTATION TRUE

View File

@ -31,10 +31,10 @@
typedef struct GEventKeyboard_t {
GEventType type; // The type of this event (GEVENT_KEYBOARD)
uint16_t instance; // The keyboard instance
char c; // The Ascii code for the current key press.
char c; // The ASCII code for the current key press.
// The only possible values are 0(NUL), 8(BS), 9(TAB), 13(CR), 27(ESC), 32(SPACE) to 126(~), 127(DEL)
// 0 indicates an extended only key.
uint16_t code; // An extended keyboard code. Codes less than 128 match their ascii equivelent.
uint16_t code; // An extended keyboard code. Codes less than 128 match their ASCII equivalent.
#define GKEY_NULL 0
#define GKEY_BACKSPACE 8
#define GKEY_TAB 9