ProScript .NET Documentation
ProScript .NET Documentation
ProScript
TouchParameters Class
TouchParameters Constructor
TouchParameters Methods

# TouchParameters Constructor

Initializes a new instance of the TouchParameters class.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public TouchParameters(
    	byte adcAverage,
    	byte coordinateAverage,
    	short slopeDown,
    	short slopeLiftoff,
    	byte slopeMinimum,
    	ushort pressureSingle,
    	ushort pressureMultiple,
    	byte gain,
    	bool errorCorrectionEnabled,
    	byte reserved,
    	ushort scaleX,
    	short offsetX,
    	ushort scaleY,
    	short offsetY
    )

    Public Sub New (
    	adcAverage As Byte,
    	coordinateAverage As Byte,
    	slopeDown As Short,
    	slopeLiftoff As Short,
    	slopeMinimum As Byte,
    	pressureSingle As UShort,
    	pressureMultiple As UShort,
    	gain As Byte,
    	errorCorrectionEnabled As Boolean,
    	reserved As Byte,
    	scaleX As UShort,
    	offsetX As Short,
    	scaleY As UShort,
    	offsetY As Short
    )

    public:
    TouchParameters(
    	unsigned char adcAverage,
    	unsigned char coordinateAverage,
    	short slopeDown,
    	short slopeLiftoff,
    	unsigned char slopeMinimum,
    	unsigned short pressureSingle,
    	unsigned short pressureMultiple,
    	unsigned char gain,
    	bool errorCorrectionEnabled,
    	unsigned char reserved,
    	unsigned short scaleX,
    	short offsetX,
    	unsigned short scaleY,
    	short offsetY
    )

    new :
            adcAverage : byte *
            coordinateAverage : byte *
            slopeDown : int16 *
            slopeLiftoff : int16 *
            slopeMinimum : byte *
            pressureSingle : uint16 *
            pressureMultiple : uint16 *
            gain : byte *
            errorCorrectionEnabled : bool *
            reserved : byte *
            scaleX : uint16 *
            offsetX : int16 *
            scaleY : uint16 *
            offsetY : int16 -> TouchParameters

#### Parameters

adcAverage
  Type: System
  Byte
  The number of ADC averages required to produce a coordinate.
coordinateAverage
  Type: System
  Byte
  The number of coordinate averages required to produce a coordinate.
slopeDown
  Type: System
  Int16
  slope down
slopeLiftoff
  Type: System
  Int16
  slope liftoff
slopeMinimum
  Type: System
  Byte
  slope minimum
pressureSingle
  Type: System
  UInt16
  pressure single
pressureMultiple
  Type: System
  UInt16
  pressure multiple
gain
  Type: System
  Byte
  The gain.
errorCorrectionEnabled
  Type: System
  Boolean
  error correction enabled
reserved
  Type: System
  Byte
  The parameter is not used.
scaleX
  Type: System
  UInt16
  scale x
offsetX
  Type: System
  Int16
  offset x
scaleY
  Type: System
  UInt16
  scale y
offsetY
  Type: System
  Int16
  offset y

See Also

#### Reference

TouchParameters Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.