Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_val_mode(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_val_mode(3g)  —  Subroutines

Name

pset_val_mode − Sets the operating mode and echo state of a valuator device. 

 
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pset_val_mode (
  Pint           wsid,      /∗ (I) Workstation identifier ∗/
  Pint           dev_num,   /∗ (I) Valuator 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_val_mode sets the specified valuator 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 valuator device.  For more information on operating modes, see Input Operating Modes. 

See Also

pget_val
pinit_val
pinit_val3
pinq_val_st
preq_val
psample_val

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026