API Guide Home (Online version only) |

# HsKeyTypes.h File Reference

## Detailed Description

palmOne's key constant definitions shared by DAL and Palm OS (see Palm OS' CmnKeyTypes.h)

Definition in file HsKeyTypes.h.

Go to the source code of this file.

## Defines

- #define keyBitNumPower 0
- #define keyBitNumPageUp 1
- #define keyBitNumPageDown 2
- #define keyBitNumHard1 3
- #define keyBitNumHard2 4
- #define keyBitNumHard3 5
- #define keyBitNumHard4 6
- #define keyBitNumCradle 7
- #define keyBitNumAntenna 8
- #define keyBitNumContrast 9
- #define keyBitNumJogUp 12
- #define keyBitNumJogDown 13
- #define keyBitNumJogPress 14
- #define keyBitNumJogBack 15
- #define keyBitNumRockerUp 16
- #define keyBitNumRockerDown 17
- #define keyBitNumRockerLeft 18
- #define keyBitNumRockerRight 19
- #define keyBitNumRockerCenter 20
- #define keyBitExt1Q 0x00000001
- #define keyBitNumExt1Q 0
- #define keyBitExt1W 0x00000002
- #define keyBitNumExt1W 1
- #define keyBitExt1E 0x00000004
- #define keyBitNumExt1E 2
- #define keyBitExt1R 0x00000008
- #define keyBitNumExt1R 3
- #define keyBitExt1T 0x00000010
- #define keyBitNumExt1T 4
- #define keyBitExt1Y 0x00000020
- #define keyBitNumExt1Y 5
- #define keyBitExt1U 0x00000040
- #define keyBitNumExt1U 6
- #define keyBitExt1I 0x00000080
- #define keyBitNumExt1I 7
- #define keyBitExt1O 0x00000100
- #define keyBitNumExt1O 8
- #define keyBitExt1P 0x00000200
- #define keyBitNumExt1P 9
- #define keyBitExt1A 0x00000400
- #define keyBitNumExt1A 10
- #define keyBitExt1S 0x00000800
- #define keyBitNumExt1S 11
- #define keyBitExt1D 0x00001000
- #define keyBitNumExt1D 12
- #define keyBitExt1F 0x00002000
- #define keyBitNumExt1F 13
- #define keyBitExt1G 0x00004000
- #define keyBitNumExt1G 14
- #define keyBitExt1H 0x00008000
- #define keyBitNumExt1H 15
- #define keyBitExt1J 0x00010000
- #define keyBitNumExt1J 16
- #define keyBitExt1K 0x00020000
- #define keyBitNumExt1K 17
- #define keyBitExt1L 0x00040000
- #define keyBitNumExt1L 18
- #define keyBitExt1Bksp 0x00080000
- #define keyBitNumExt1Bksp 19
- #define keyBitExt1Opt 0x00100000
- #define keyBitNumExt1Opt 20
- #define keyBitExt1Z 0x00200000
- #define keyBitNumExt1Z 21
- #define keyBitExt1X 0x00400000
- #define keyBitNumExt1X 22
- #define keyBitExt1C 0x00800000
- #define keyBitNumExt1C 23
- #define keyBitExt1V 0x01000000
- #define keyBitNumExt1V 24
- #define keyBitExt1B 0x02000000
- #define keyBitNumExt1B 25
- #define keyBitExt1N 0x04000000
- #define keyBitNumExt1N 26
- #define keyBitExt1M 0x08000000
- #define keyBitNumExt1M 27
- #define keyBitExt1Period 0x10000000
- #define keyBitNumExt1Period 28
- #define keyBitExt1Enter 0x20000000
- #define keyBitNumExt1Enter 29
- #define keyBitExt1Shift 0x40000000
- #define keyBitNumExt1Shift 30
- #define keyBitExt1Space 0x80000000
- #define keyBitNumExt1Space 31
- #define keyBitsAllExt1 0xFFFFFFFF
- #define keyBitExt2Symbol 0x00000001
- #define keyBitNumExt2Symbol 0
- #define keyBitExt2CmdMenu 0x00000002
- #define keyBitNumExt2CmdMenu 1
- #define keyBitExt2Launcher 0x00000020
- #define keyBitNumExt2Launcher 5
- #define keyBitExt2Unused6 0x00000040
- #define keyBitNumExt2Unused6 6
- #define keyBitExt2MfgTest 0x00000080
- #define keyBitNumExt2MfgTest 7
- #define keyBitExt2VolumeUp 0x00000100
- #define keyBitNumExt2VolumeUp 8
- #define keyBitExt2VolumeDown 0x00000200
- #define keyBitNumExt2VolumeDown 9
- #define keyBitExt2Side 0x00000400
- #define keyBitNumExt2Side 10
- #define keyBitExt2Zero 0x00000800
- #define keyBitNumExt2Zero 11
- #define keyBitExt2RShift 0x00001000
- #define keyBitNumExt2RShift 12
- #define keyBitExt2Hard11 0x00002000
- #define keyBitNumExt2Hard11 13
- #define keyBitsAllExt2 0xFFFFFFFF
- #define keyBitNumUnused 0xFFFF
- #define specialHoldKeyMask (autoRepeatKeyMask | doubleTapKeyMask)
- #define specialReleaseKeyMask (autoRepeatKeyMask | poweredOnKeyMask)
- #define specialAvail3KeyMask (doubleTapKeyMask | poweredOnKeyMask)
- #define specialAvail4KeyMask (autoRepeatKeyMask | doubleTapKeyMask | poweredOnKeyMask)
- #define specialKeyMask (autoRepeatKeyMask | doubleTapKeyMask | poweredOnKeyMask)
- #define hsGrfTempShiftOpt (grfTempShiftLower+1)
- #define hsGlfOptLock (glfNumLock << 1)
- #define hsGsiOptLock 0xFE
- #define hsGsiShiftOpt 0xFF

## Define Documentation

#define hsGlfOptLock (glfNumLock << 1)

Local names for shift lock states (see GraffitiShift.h)

Definition at line 248 of file HsKeyTypes.h.

#define hsGrfTempShiftOpt (grfTempShiftLower+1)

Temp shift states (see Graffiti.h)

Definition at line 245 of file HsKeyTypes.h.

#define hsGsiOptLock 0xFE

Internal shift states (extends GsiShiftStateTag)

Definition at line 255 of file HsKeyTypes.h.

#define hsGsiShiftOpt 0xFF

Definition at line 256 of file HsKeyTypes.h.

#define keyBitExt1A 0x00000400

A key

Definition at line 105 of file HsKeyTypes.h.

#define keyBitExt1B 0x02000000

B key

Definition at line 150 of file HsKeyTypes.h.

#define keyBitExt1Bksp 0x00080000

Backspace key

Definition at line 132 of file HsKeyTypes.h.

#define keyBitExt1C 0x00800000

C key

Definition at line 144 of file HsKeyTypes.h.

#define keyBitExt1D 0x00001000

D key

Definition at line 111 of file HsKeyTypes.h.

#define keyBitExt1E 0x00000004

E key

Definition at line 81 of file HsKeyTypes.h.

#define keyBitExt1Enter 0x20000000

Enter key

Definition at line 162 of file HsKeyTypes.h.

#define keyBitExt1F 0x00002000

F key

Definition at line 114 of file HsKeyTypes.h.

#define keyBitExt1G 0x00004000

G key

Definition at line 117 of file HsKeyTypes.h.

#define keyBitExt1H 0x00008000

H key

Definition at line 120 of file HsKeyTypes.h.

#define keyBitExt1I 0x00000080

I key

Definition at line 96 of file HsKeyTypes.h.

#define keyBitExt1J 0x00010000

J key

Definition at line 123 of file HsKeyTypes.h.

#define keyBitExt1K 0x00020000

K key

Definition at line 126 of file HsKeyTypes.h.

#define keyBitExt1L 0x00040000

L key

Definition at line 129 of file HsKeyTypes.h.

#define keyBitExt1M 0x08000000

M key

Definition at line 156 of file HsKeyTypes.h.

#define keyBitExt1N 0x04000000

N key

Definition at line 153 of file HsKeyTypes.h.

#define keyBitExt1O 0x00000100

O key

Definition at line 99 of file HsKeyTypes.h.

#define keyBitExt1Opt 0x00100000

Option key

Definition at line 135 of file HsKeyTypes.h.

#define keyBitExt1P 0x00000200

P key

Definition at line 102 of file HsKeyTypes.h.

#define keyBitExt1Period 0x10000000

Period key

Definition at line 159 of file HsKeyTypes.h.

#define keyBitExt1Q 0x00000001

Q key

Definition at line 75 of file HsKeyTypes.h.

#define keyBitExt1R 0x00000008

R key

Definition at line 84 of file HsKeyTypes.h.

#define keyBitExt1S 0x00000800

S key

Definition at line 108 of file HsKeyTypes.h.

#define keyBitExt1Shift 0x40000000

Shift key

Definition at line 165 of file HsKeyTypes.h.

#define keyBitExt1Space 0x80000000

Space key

Definition at line 168 of file HsKeyTypes.h.

#define keyBitExt1T 0x00000010

T key

Definition at line 87 of file HsKeyTypes.h.

#define keyBitExt1U 0x00000040

U key

Definition at line 93 of file HsKeyTypes.h.

#define keyBitExt1V 0x01000000

V key

Definition at line 147 of file HsKeyTypes.h.

#define keyBitExt1W 0x00000002

W key

Definition at line 78 of file HsKeyTypes.h.

#define keyBitExt1X 0x00400000

X key

Definition at line 141 of file HsKeyTypes.h.

#define keyBitExt1Y 0x00000020

Y key

Definition at line 90 of file HsKeyTypes.h.

#define keyBitExt1Z 0x00200000

Z key

Definition at line 138 of file HsKeyTypes.h.

#define keyBitExt2CmdMenu 0x00000002

Cmd/menu

Definition at line 183 of file HsKeyTypes.h.

#define keyBitExt2Hard11 0x00002000

Our Phone key

Definition at line 219 of file HsKeyTypes.h.

#define keyBitExt2Launcher 0x00000020

Launcher

Definition at line 195 of file HsKeyTypes.h.

#define keyBitExt2MfgTest 0x00000080

Manufacturing Test

Definition at line 201 of file HsKeyTypes.h.

#define keyBitExt2RShift 0x00001000

Right Shift key

Definition at line 216 of file HsKeyTypes.h.

#define keyBitExt2Side 0x00000400

Side button

Definition at line 210 of file HsKeyTypes.h.

#define keyBitExt2Symbol 0x00000001

Symbol (list type)

Definition at line 180 of file HsKeyTypes.h.

#define keyBitExt2Unused6 0x00000040

UNUSED: Available for use (was going to be RadioPower)

Definition at line 198 of file HsKeyTypes.h.

#define keyBitExt2VolumeDown 0x00000200

Volume Down

Definition at line 207 of file HsKeyTypes.h.

#define keyBitExt2VolumeUp 0x00000100

Volume Up

Definition at line 204 of file HsKeyTypes.h.

#define keyBitExt2Zero 0x00000800

Zero key

Definition at line 213 of file HsKeyTypes.h.

#define keyBitNumAntenna 8

Antenna "key" <chg 3-31-98 RM>

Definition at line 44 of file HsKeyTypes.h.

#define keyBitNumContrast 9

Contrast key

Definition at line 46 of file HsKeyTypes.h.

#define keyBitNumCradle 7

Button on cradle

Definition at line 42 of file HsKeyTypes.h.

#define keyBitNumExt1A 10

Definition at line 106 of file HsKeyTypes.h.

#define keyBitNumExt1B 25

Definition at line 151 of file HsKeyTypes.h.

#define keyBitNumExt1Bksp 19

Definition at line 133 of file HsKeyTypes.h.

#define keyBitNumExt1C 23

Definition at line 145 of file HsKeyTypes.h.

#define keyBitNumExt1D 12

Definition at line 112 of file HsKeyTypes.h.

#define keyBitNumExt1E 2

Definition at line 82 of file HsKeyTypes.h.

#define keyBitNumExt1Enter 29

Definition at line 163 of file HsKeyTypes.h.

#define keyBitNumExt1F 13

Definition at line 115 of file HsKeyTypes.h.

#define keyBitNumExt1G 14

Definition at line 118 of file HsKeyTypes.h.

#define keyBitNumExt1H 15

Definition at line 121 of file HsKeyTypes.h.

#define keyBitNumExt1I 7

Definition at line 97 of file HsKeyTypes.h.

#define keyBitNumExt1J 16

Definition at line 124 of file HsKeyTypes.h.

#define keyBitNumExt1K 17

Definition at line 127 of file HsKeyTypes.h.

#define keyBitNumExt1L 18

Definition at line 130 of file HsKeyTypes.h.

#define keyBitNumExt1M 27

Definition at line 157 of file HsKeyTypes.h.

#define keyBitNumExt1N 26

Definition at line 154 of file HsKeyTypes.h.

#define keyBitNumExt1O 8

Definition at line 100 of file HsKeyTypes.h.

#define keyBitNumExt1Opt 20

Definition at line 136 of file HsKeyTypes.h.

#define keyBitNumExt1P 9

Definition at line 103 of file HsKeyTypes.h.

#define keyBitNumExt1Period 28

Definition at line 160 of file HsKeyTypes.h.

#define keyBitNumExt1Q 0

Definition at line 76 of file HsKeyTypes.h.

#define keyBitNumExt1R 3

Definition at line 85 of file HsKeyTypes.h.

#define keyBitNumExt1S 11

Definition at line 109 of file HsKeyTypes.h.

#define keyBitNumExt1Shift 30

Definition at line 166 of file HsKeyTypes.h.

#define keyBitNumExt1Space 31

Definition at line 169 of file HsKeyTypes.h.

#define keyBitNumExt1T 4

Definition at line 88 of file HsKeyTypes.h.

#define keyBitNumExt1U 6

Definition at line 94 of file HsKeyTypes.h.

#define keyBitNumExt1V 24

Definition at line 148 of file HsKeyTypes.h.

#define keyBitNumExt1W 1

Definition at line 79 of file HsKeyTypes.h.

#define keyBitNumExt1X 22

Definition at line 142 of file HsKeyTypes.h.

#define keyBitNumExt1Y 5

Definition at line 91 of file HsKeyTypes.h.

#define keyBitNumExt1Z 21

Definition at line 139 of file HsKeyTypes.h.

#define keyBitNumExt2CmdMenu 1

Definition at line 184 of file HsKeyTypes.h.

#define keyBitNumExt2Hard11 13

Definition at line 220 of file HsKeyTypes.h.

#define keyBitNumExt2Launcher 5

Definition at line 196 of file HsKeyTypes.h.

#define keyBitNumExt2MfgTest 7

Definition at line 202 of file HsKeyTypes.h.

#define keyBitNumExt2RShift 12

Definition at line 217 of file HsKeyTypes.h.

#define keyBitNumExt2Side 10

Definition at line 211 of file HsKeyTypes.h.

#define keyBitNumExt2Symbol 0

Definition at line 181 of file HsKeyTypes.h.

#define keyBitNumExt2Unused6 6

Definition at line 199 of file HsKeyTypes.h.

#define keyBitNumExt2VolumeDown 9

Definition at line 208 of file HsKeyTypes.h.

#define keyBitNumExt2VolumeUp 8

Definition at line 205 of file HsKeyTypes.h.

#define keyBitNumExt2Zero 11

Definition at line 214 of file HsKeyTypes.h.

#define keyBitNumHard1 3

App #1

Definition at line 34 of file HsKeyTypes.h.

#define keyBitNumHard2 4

App #2

Definition at line 36 of file HsKeyTypes.h.

#define keyBitNumHard3 5

App #3

Definition at line 38 of file HsKeyTypes.h.

#define keyBitNumHard4 6

App #4

Definition at line 40 of file HsKeyTypes.h.

#define keyBitNumJogBack 15

jog wheel back button

Definition at line 56 of file HsKeyTypes.h.

#define keyBitNumJogDown 13

jog wheel down

Definition at line 52 of file HsKeyTypes.h.

#define keyBitNumJogPress 14

press/center on jog wheel

Definition at line 54 of file HsKeyTypes.h.

#define keyBitNumJogUp 12

jog wheel up

Definition at line 50 of file HsKeyTypes.h.

#define keyBitNumPageDown 2

Page-down

Definition at line 32 of file HsKeyTypes.h.

#define keyBitNumPageUp 1

Page-up

Definition at line 30 of file HsKeyTypes.h.

#define keyBitNumPower 0

Power key

Definition at line 28 of file HsKeyTypes.h.

#define keyBitNumRockerCenter 20

5-way rocker center/press

Definition at line 66 of file HsKeyTypes.h.

#define keyBitNumRockerDown 17

5-way rocker down

Definition at line 60 of file HsKeyTypes.h.

#define keyBitNumRockerLeft 18

5-way rocker left

Definition at line 62 of file HsKeyTypes.h.

#define keyBitNumRockerRight 19

5-way rocker right

Definition at line 64 of file HsKeyTypes.h.

#define keyBitNumRockerUp 16

5-way rocker up

Definition at line 58 of file HsKeyTypes.h.

#define keyBitNumUnused 0xFFFF

This keyBit is guaranteed not to map to any character

Definition at line 226 of file HsKeyTypes.h.

#define keyBitsAllExt1 0xFFFFFFFF

All keys

Definition at line 171 of file HsKeyTypes.h.

#define keyBitsAllExt2 0xFFFFFFFF

All keys

Definition at line 222 of file HsKeyTypes.h.

#define specialAvail3KeyMask (doubleTapKeyMask | poweredOnKeyMask)

Definition at line 235 of file HsKeyTypes.h.

#define specialAvail4KeyMask (autoRepeatKeyMask | doubleTapKeyMask | poweredOnKeyMask)

Definition at line 236 of file HsKeyTypes.h.

#define specialHoldKeyMask (autoRepeatKeyMask | doubleTapKeyMask)

Definition at line 233 of file HsKeyTypes.h.

#define specialKeyMask (autoRepeatKeyMask | doubleTapKeyMask | poweredOnKeyMask)

Definition at line 238 of file HsKeyTypes.h.

#define specialReleaseKeyMask (autoRepeatKeyMask | poweredOnKeyMask)

Definition at line 234 of file HsKeyTypes.h.

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