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.]
Gets touch-panel information.
Namespace: Microsoft.SPOT.Touch
Assembly: Microsoft.SPOT.Touch (in Microsoft.SPOT.Touch.dll)
Syntax
'Declaration
Public Shared Sub GetTouchInput ( _
flag As TouchCollectorConfiguration.TouchInput, _
ByRef param1 As Integer, _
ByRef param2 As Integer, _
ByRef param3 As Integer _
)
public static void GetTouchInput(
TouchCollectorConfiguration.TouchInput flag,
ref int param1,
ref int param2,
ref int param3
)
public:
static void GetTouchInput(
TouchCollectorConfiguration::TouchInput flag,
int% param1,
int% param2,
int% param3
)
static member GetTouchInput :
flag:TouchCollectorConfiguration.TouchInput *
param1:int byref *
param2:int byref *
param3:int byref -> unit
public static function GetTouchInput(
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 get. If LastTouchPoint is specified, then the last touch point is obtained. If SamplingDistance is specified, then the sampling rate in micro-seconds is obtained. If TouchMoveFrequency is specified, then the move frequency is obtained.
- param1
Type: System. . :: . .Int32%
If flag is LastTouchPoint, this parameter is used to return the X coordinate of the last touch point. If flag is SamplingDistance, this parameter is used to return the sampling rate in microseconds. If flag is TouchMoveFrequency, this parameter is used to return the maximum stylus event frequency per second. A value of 0 means stylus events are turned off, whereas a value of 10 means the maximum number of stylus events is limited 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 is used to return the Y coordinate of the last touch point.If flag is SamplingDistance, this parameter is unused.If flag is TouchMoveFrequency, this parameter is unused.
- param3
Type: System. . :: . .Int32%
Unused.
.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.