sButtons
Buttons Function Reference | Example
This function returns the associated numbers for the button that has
been pressed on the device.
Declare Function sButtons
Lib "SapphireButtons.dll"
(ByVal lLicence
As Long, ByRef lKey1 As
Long, ByRef lKey2 As
Long) As Long |
Parameters
|
lLicence |
|
|
A long specifying the licence number of the registered utility.
If using in demo mode, enter 1234567890. |
|
lKey1 |
|
|
A long that stores the first button number. |
|
lKey2 |
|
|
A long that stores the second button number. |
Return Values
|
Returns a number indicating whether a button has been pressed, 0
indicates that no button was pressed. |
Remarks
|
The reason for having two key values for the button number is because
some buttons are identified by only one number whereas other require
two. |
|