API Guide Home
(Online version only)

HsKeyCommon.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /** 
00006  *
00007  * @ingroup PmKeyLib
00008  *
00009  */
00010  
00011 /**
00012  * @file    HsKeyCommon.h
00013  *
00014  * @brief   Header file with additional keyboard related definitions
00015  *
00016  */
00017 
00018 #ifndef   __HS_KEY_COMMON_H__
00019 #define   __HS_KEY_COMMON_H__
00020 
00021 
00022 #if 0
00023 #pragma mark -------- Incs:Core:System:Chars.h -----------
00024 #endif
00025 
00026 #define vchrHardRockerCenter            0x013D  // Character tied directly to rocker-
00027                                                 //  center hardware key.  vchrRockerCenter
00028                                                 //  is associated with select action of
00029                                                 //  rocker-center (which happens on key-up
00030                                                 //  of rocker-center hardware key).
00031 
00032 #if 0
00033 #pragma mark -------- Incs:Core:System:KeyMgr.h -----------
00034 #endif
00035 
00036 //*********************************************************
00037 // Bit definitions for new hardware keys
00038 //*********************************************************
00039 
00040 #define keyBitThumbWheelUp    0x00001000  // Thumb-wheel up
00041 #define keyBitThumbWheelDown  0x00002000  // Thumb-wheel down
00042 #define keyBitThumbWheelPress 0x00004000  // Press/center on thumb-wheel
00043 #define keyBitThumbWheelBack  0x00008000  // Thumb-wheel back button
00044 
00045 #define keyBitRockerUp        0x00010000  // 5-way rocker up
00046 #define keyBitRockerDown      0x00020000  // 5-way rocker down
00047 #define keyBitRockerLeft      0x00040000  // 5-way rocker left
00048 #define keyBitRockerRight     0x00080000  // 5-way rocker right
00049 #define keyBitRockerCenter    0x00100000  // 5-way rocker center/press
00050 
00051 
00052 #if 0
00053 #pragma mark -------- Incs:Core:System:SystemMgr.h ---------
00054 #endif
00055 
00056 //*********************************************************
00057 // Feature definitions for publishing what hardware keys
00058 //  are available on a device
00059 //*********************************************************
00060 
00061 #define sysFtrNumUIHardwareFlags              27          // Additional User Input Hardware (PalmOS 5.x)
00062 #define sysFtrNumUIHardwareHas5Way            0x00000001  // Device has a 5-way rocker
00063 #define sysFtrNumUIHardwareHasThumbWheel      0x00000002  // Device has a thumb wheel
00064 #define sysFtrNumUIHardwareHasThumbWheelBack  0x00000004  // Device has a thumb wheel with a 'back' button
00065 #define sysFtrNumUIHardwareHasKbd             0x00000008  // Device has a dedicated keyboard
00066 
00067 
00068 #if 0
00069 #pragma mark -------- Incs:Core:System:SysEvent.h (68K) -------
00070 #pragma mark ------ Incs:Core:Common:CmnKeyTypes.h (ARM) ------
00071 #endif
00072 
00073 //*********************************************************
00074 // New modifiers mask for keyDown event
00075 //*********************************************************
00076 
00077 #define willSendUpKeyMask  0x0800   // True if a keyUp event will be sent later
00078 
00079 
00080 
00081 #endif    // __HS_KEY_COMMON_H__
00082 
00083 
00084 
00085 

Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:53 2008 for Palm API Guide