user_input_zoomusing#

prefs.user_input_zoomusing(p0: str) int#

Allows selection of the mode used for zoom transformations for the User Defined Input Device.

Steps outlining the implementation of the library for input devices are found in the file: $CEI_HOME/ensight92/src/input/README.
Args:
p0:

‘mode’

  • must be one of:

  • valuator

  • position

Examples:
ensight.prefs.user_defined_input("ON")
ensight.prefs.user_input_zoomusing("position")
Returns:

zero on success, non-zero on error