pset_stroke_mode(3g) — Subroutines
Name
pset_stroke_mode − Sets the operating mode and echo state of a stroke device.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pset_stroke_mode (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint dev_num, /∗ (I) Stroke device number ∗/
Pop_mode mode, /∗ (I) Operating mode ∗/
Pecho_switch echo /∗ (I) Echo switch ∗/
)
Data Structures
typedef enum {
POP_REQ, /∗ request mode ∗/
POP_SAMPLE, /∗ sample mode ∗/
POP_EVENT /∗ event mode ∗/
} Pop_mode;
typedef enum {
PSWITCH_NO_ECHO, /∗ echo disabled ∗/
PSWITCH_ECHO /∗ echo enabled ∗/
} Pecho_switch;
Description
pset_stroke_mode sets the specified stroke device to the specified operating mode, and sets the echo state of the device as specified. Depending on the specified input operating mode, Digital PHIGS may begin or end an interaction with the device.
Digital PHIGS stores the input device state defined by the operating mode and the echo switch in the workstation state list for the specified stroke device. For more information on operating modes, see Input Operating Modes.
See Also
pget_stroke
pget_stroke3
pinit_stroke
pinit_stroke3
pinq_stroke_st
pinq_stroke_st3
preq_stroke
preq_stroke3
psample_stroke
psample_stroke3