Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets touch-panel information.
Namespace: Microsoft.SPOT.Touch
Assembly: Microsoft.SPOT.Touch (in Microsoft.SPOT.Touch.dll)
Syntax
'Declaration
Public Shared Sub SetTouchInput ( _
flag As TouchCollectorConfiguration.TouchInput, _
param1 As Integer, _
param2 As Integer, _
param3 As Integer _
)
public static void SetTouchInput(
TouchCollectorConfiguration.TouchInput flag,
int param1,
int param2,
int param3
)
public:
static void SetTouchInput(
TouchCollectorConfiguration::TouchInput flag,
int param1,
int param2,
int param3
)
static member SetTouchInput :
flag:TouchCollectorConfiguration.TouchInput *
param1:int *
param2:int *
param3:int -> unit
public static function SetTouchInput(
flag : TouchCollectorConfiguration..::..TouchInput,
param1 : int,
param2 : int,
param3 : int
)
Parameters
- flag
Type: Microsoft.SPOT.Touch. . :: . .TouchCollectorConfiguration. . :: . .TouchInput
Indicates what kind of touch panel input to set. If LastTouchPoint is specified, then the last touch point is set. If SamplingDistance is specified, then the sampling rate in micro-seconds is set. If TouchMoveFrequency is specified, then the stylus move frequency is set.
- param1
Type: System. . :: . .Int32
If flag is LastTouchPoint, this parameter sets the X coordinate of the last touch point. If flag is SamplingDistance, this parameter sets the sampling rate in microseconds.If flag is TouchMoveFrequency, this parameter sets the maximum stylus event frequency per second. A value of 0 turns off stylus events, whereas a value of 10 limits the maximum number of stylus events to ten per second. This frequency value does not apply to gesture or ink, both of which receive all points picked up by the hardware.
- param2
Type: System. . :: . .Int32
If flag is LastTouchPoint, this parameter sets the Y coordinate of the last touch point. If flag is SamplingDistance, this parameter is unused and can be specified as 0.If flag is TouchMoveFrequency, this parameter is unused and can be specified as 0.
- param3
Type: System. . :: . .Int32
Unused; can be specified as 0.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.