共用方式為


Unicode Range Values of Gestures

Unicode Range Values of Gestures

When implementing your own gesture recognizer, you must define the name and Unicode range value for any gesture that your recognizer is to recognize.

If you decide to implement the gestures that are already supported or defined as part of the Microsoft® gesture recognizer, use the defined names and Unicode range values for these gestures. The entire collection of names and Unicode range values for both implemented and unimplemented gestures in the gesture recognizer are provided in the Recdefs.h header file (installed by default in C:\Program Files\Microsoft Tablet PC Platform SDK\Include). The gesture names and Unicode range values are also listed in the following tables.

Note: The GESTURE_NULL gesture is used to indicate that a recognizer does not recognize input as a gesture.

Implemented Gestures

Gesture name Unicode range value
GESTURE_NULL 0xf000
GESTURE_SCRATCHOUT 0xf001
GESTURE_TRIANGLE 0xf002
GESTURE_SQUARE 0xf003
GESTURE_STAR 0xf004
GESTURE_CHECK 0xf005
GESTURE_CURLICUE 0xf010
GESTURE_DOUBLE_CURLICUE 0xf011
GESTURE_CIRCLE 0xf020
GESTURE_DOUBLE_CIRCLE 0xf021
GESTURE_SEMICIRCLE_LEFT 0xf028
GESTURE_SEMICIRCLE_RIGHT 0xf029
GESTURE_CHEVRON_UP 0xf030
GESTURE_CHEVRON_DOWN 0xf031
GESTURE_CHEVRON_LEFT 0xf032
GESTURE_CHEVRON_RIGHT 0xf033
GESTURE_ARROW_UP 0xf038
GESTURE_ARROW_DOWN 0xf039
GESTURE_ARROW_LEFT 0xf03a
GESTURE_ARROW_RIGHT 0xf03b
GESTURE_UP 0xf058
GESTURE_DOWN 0xf059
GESTURE_LEFT 0xf05a
GESTURE_RIGHT 0xf05b
GESTURE_UP_DOWN 0xf060
GESTURE_DOWN_UP 0xf061
GESTURE_LEFT_RIGHT 0xf062
GESTURE_RIGHT_LEFT 0xf063
GESTURE_UP_LEFT_LONG 0xf064
GESTURE_UP_RIGHT_LONG 0xf065
GESTURE_DOWN_LEFT_LONG 0xf066
GESTURE_DOWN_RIGHT_LONG 0xf067
GESTURE_UP_LEFT 0xf068
GESTURE_UP_RIGHT 0xf069
GESTURE_DOWN_LEFT 0xf06a
GESTURE_DOWN_RIGHT 0xf06b
GESTURE_LEFT_UP 0xf06c
GESTURE_LEFT_DOWN 0xf06d
GESTURE_RIGHT_UP 0xf06e
GESTURE_RIGHT_DOWN 0xf06f
GESTURE_EXCLAMATION 0xf0a4
GESTURE_TAP 0xf0f0
GESTURE_DOUBLE_TAP 0xf0f1

Unimplemented Gestures

Gesture name Unicode range value
GESTURE_INFINITY 0xf006
GESTURE_CROSS 0xf007
GESTURE_PARAGRAPH 0xf008
GESTURE_SECTION 0xf009
GESTURE_BULLET 0xf00a
GESTURE_BULLET_CROSS 0xf00b
GESTURE_SQUIGGLE 0xf00c
GESTURE_SWAP 0xf00d
GESTURE_OPENUP 0xf00e
GESTURE_CLOSEUP 0xf00f
GESTURE_RECTANGLE 0xf012
GESTURE_CIRCLE_TAP 0xf022
GESTURE_CIRCLE_CIRCLE 0xf023
GESTURE_CIRCLE_CROSS 0xf025
GESTURE_CIRCLE_LINE_VERT 0xf026
GESTURE_CIRCLE_LINE_HORZ 0xf027
GESTURE_DOUBLE_ARROW_UP 0xf03c
GESTURE_DOUBLE_ARROW_DOWN 0xf03d
GESTURE_DOUBLE_ARROW_LEFT 0xf03e
GESTURE_DOUBLE_ARROW_RIGHT 0xf03f
GESTURE_UP_ARROW_LEFT 0xf040
GESTURE_UP_ARROW_RIGHT 0xf041
GESTURE_DOWN_ARROW_LEFT 0xf042
GESTURE_DOWN_ARROW_RIGHT 0xf043
GESTURE_LEFT_ARROW_UP 0xf044
GESTURE_LEFT_ARROW_DOWN 0xf045
GESTURE_RIGHT_ARROW_UP 0xf046
GESTURE_RIGHT_ARROW_DOWN 0xf047
GESTURE_DIAGONAL_LEFTUP 0xf05c
GESTURE_DIAGONAL_RIGHTUP 0xf05d
GESTURE_DIAGONAL_LEFTDOWN 0xf05e
GESTURE_DIAGONAL_RIGHTDOWN 0xf05f
GESTURE_LETTER_A 0xf080
GESTURE_LETTER_B 0xf081
GESTURE_LETTER_C 0xf082
GESTURE_LETTER_D 0xf083
GESTURE_LETTER_E 0xf084
GESTURE_LETTER_F 0xf085
GESTURE_LETTER_G 0xf086
GESTURE_LETTER_H 0xf087
GESTURE_LETTER_I 0xf088
GESTURE_LETTER_J 0xf089
GESTURE_LETTER_K 0xf08a
GESTURE_LETTER_L 0xf08b
GESTURE_LETTER_M 0xf08c
GESTURE_LETTER_N 0xf08d
GESTURE_LETTER_O 0xf08e
GESTURE_LETTER_P 0xf08f
GESTURE_LETTER_Q 0xf090
GESTURE_LETTER_R 0xf091
GESTURE_LETTER_S 0xf092
GESTURE_LETTER_T 0xf093
GESTURE_LETTER_U 0xf094
GESTURE_LETTER_V 0xf095
GESTURE_LETTER_W 0xf096
GESTURE_LETTER_X 0xf097
GESTURE_LETTER_Y 0xf098
GESTURE_LETTER_Z 0xf099
GESTURE_DIGIT_0 0xf09a
GESTURE_DIGIT_1 0xf09b
GESTURE_DIGIT_2 0xf09c
GESTURE_DIGIT_3 0xf09d
GESTURE_DIGIT_4 0xf09e
GESTURE_DIGIT_5 0xf09f
GESTURE_DIGIT_6 0xf0a0
GESTURE_DIGIT_7 0xf0a1
GESTURE_DIGIT_8 0xf0a2
GESTURE_DIGIT_9 0xf0a3
GESTURE_QUESTION 0xf0a5
GESTURE_SHARP 0xf0a6
GESTURE_DOLLAR 0xf0a7
GESTURE_ASTERISK 0xf0a8
GESTURE_PLUS 0xf0a9
GESTURE_DOUBLE_UP 0xf0b8
GESTURE_DOUBLE_DOWN 0xf0b9
GESTURE_DOUBLE_LEFT 0xf0ba
GESTURE_DOUBLE_RIGHT 0xf0bb
GESTURE_TRIPLE_UP 0xf0bc
GESTURE_TRIPLE_DOWN 0xf0bd
GESTURE_TRIPLE_LEFT 0xf0be
GESTURE_TRIPLE_RIGHT 0xf0bf
GESTURE_BRACKET_OVER 0xf0e4
GESTURE_BRACKET_UNDER 0xf0e5
GESTURE_BRACKET_LEFT 0xf0e6
GESTURE_BRACKET_RIGHT 0xf0e7
GESTURE_BRACE_OVER 0xf0e8
GESTURE_BRACE_UNDER 0xf0e9
GESTURE_BRACE_LEFT 0xf0ea
GESTURE_BRACE_RIGHT 0xf0eb
GESTURE_TRIPLE_TAP 0xf0f2
GESTURE_QUAD_TAP 0xf0f3