PDK_ State Bits for Pen Driver KitThe PDK_ values inform the system when a mouse event is being generated by pen movement, as well as the current state of any barrel buttons. This information is contained in the wPDK and wPdk members of the STROKEINFO and PENPACKET structures, respectively. The GetPenAsyncState function also accepts a PDK_ value as its only argument. The following table lists the PDK_ values:
||No flags set (default).
||Same as PDK_NULL.
||Barrel button 1 is depressed.
||Barrel button 2 is depressed.
||Barrel button 3 is depressed.
||Pen is in contact with the tablet.
||All of the above.
||Mask for testing PDK_DOWN.
||Only has meaning if set by pen services. This bit is set if the first point in
the sequence being returned is in a different pen-tip state (up or down) from
the previous points returned.
If set on a call to AddPointsPenData, a new stroke is created even if the previous call to AddPointsPenData appended points of the same pen state. By default, a sub-sequent call to AddPointsPenData adding points of the same state as the previous call appends the points to the last stroke instead of creating a new stroke.
||Alias for PDK_TRANSITION.
||Mask for bits 811 (see paragraph following table).
||Pen is upside down ("eraser" end is in contact with tablet).
||Inking has stopped.
||Set if the tablet detects the pen leaving the range of detection. If set,
other information in the packet is invalid.
||Set if event is generated by the pen driver (as opposed to the mouse driver).
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database