PrApi: ButtonEvent

ButtonEvent

Occurs when a button is pressed or released on the device.

 Event ButtonEvent(
	  ByVal keycode As Long,
	  ByVal event_ As Long )

Parameters

keycode
The code of the button.
event_
The event of the button.

Languages

[Visual Basic] Event ButtonEvent(ByVal keycode As Long, ByVal event_ As Long)

[Delphi] procedure ButtonEvent(Sender: TObject; keycode: Integer; event_: Integer);

[C++] void ButtonEvent(long keycode, long event_);

Remarks

[Delphi] The Sender parameter indicates which component received the event and therefore called the handler.

See Also

Class PrApi Overview PrApi Properties PrApi Methods BlinkStatus Calibrate