TouchParameters Constructor |
Namespace:
ProScript
Assembly:
proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax 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: SystemByte
The number of ADC averages required to produce a coordinate. - coordinateAverage
- Type: SystemByte
The number of coordinate averages required to produce a coordinate. - slopeDown
- Type: SystemInt16
slope down - slopeLiftoff
- Type: SystemInt16
slope liftoff - slopeMinimum
- Type: SystemByte
slope minimum - pressureSingle
- Type: SystemUInt16
pressure single - pressureMultiple
- Type: SystemUInt16
pressure multiple - gain
- Type: SystemByte
The gain. - errorCorrectionEnabled
- Type: SystemBoolean
error correction enabled - reserved
- Type: SystemByte
The parameter is not used. - scaleX
- Type: SystemUInt16
scale x - offsetX
- Type: SystemInt16
offset x - scaleY
- Type: SystemUInt16
scale y - offsetY
- Type: SystemInt16
offset y
See Also