User manual
39
4.16 OBRSetScanningKey
This function sets up scanning Trigger keys. While the scanner driver is being set opened with
OBROpen func
tion, scanning starts when one of the Trigger keys specified with
OBRSetScanningKey fu
nction is pressed.
Calling Sequences
[C++]
int OBRSetScanningKey(
DWORD dwKey
)
[Visual Basic]
Public Shared Function OBRSetScanningKey( _
ByVal dwKey As Int32 _
) As Int32
[C#]
public static Int32 OBRSetScanningKey(
Int32 dwKey
);
Parameters
dwKey
This parameter is for specifying a sum of the values in logical OR for the Trigger keys
selected in the list below.
OBR_TRIGGERKEY_L : L Trigger key
OBR_TRIGGERKEY_R : R Trigger key
OBR_CURSORKEY_L : Cursor left key
OBR_CURSORKEY_R : Cursor right key
OBR_CURSORKEY_U : Cursor-up key
OBR_CURSORKEY_D : Cursor-down key
OBR_GUNTRIGGER : Grip trigger key
OBR_GUNGRIP : Grip trigger key
OBR_CENTERTRIGGER : Center key
Return Values
OBR_OK : Normal end
OBR_PON : Open already
OBR_PRM : Parameter error
OBR_NOT_DEVICE : Scanner driver error. In the Device Emulator, this value is not returned.
FUNCTION_UNSUPPORT : Unsupported error