52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
/***********************************************************************
|
|
*
|
|
* Copyright (c) Palm Computing 1994 -- All Rights Reserved
|
|
*
|
|
* PROJECT: Pilot
|
|
* FILE: Keyboard.h
|
|
* AUTHOR: Roger Flores: March 29, 1995
|
|
*
|
|
* DECLARER: UI
|
|
*
|
|
* DESCRIPTION:
|
|
* This file defines the keyboard's structures
|
|
* and routines.
|
|
*
|
|
***********************************************************************/
|
|
|
|
|
|
#ifndef __KBD_H__
|
|
#define __KBD_H__
|
|
|
|
|
|
|
|
#define kbdReturnKey linefeedChr
|
|
#define kbdTabKey tabChr
|
|
#define kbdBackspaceKey backspaceChr
|
|
#define kbdShiftKey 2
|
|
#define kbdCapsKey 1
|
|
#define kbdNoKey -1
|
|
|
|
|
|
|
|
/************************************************************
|
|
* Keyboard procedures
|
|
*************************************************************/
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// At some point the Graffiti code will need access to the
|
|
// shift and caps lock info. Either export the structures
|
|
// or provide calls to the info.
|
|
|
|
extern void SysKeyboardDialog ()
|
|
SYS_TRAP(sysTrapSysKeyboardDialog);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __KBD_H__
|