TwoKeys
 
Component TwoKeys
Component generated by Component Creator
Component Level: High
Events:
(Events are call-back functions called when an important event occurrs. Please see the Embedded Components page for more information.)
  • EventModule - Name of the user module (without extension), where the events from this component are placed.
  • OnKeyPress - This event is called when some button is pressed or released

      ANSIC prototype: void OnKeyPress(bool But1, bool But2, bool Down)
    • But1:bool - State of the Button 1 - true = pressed
    • But2:bool - State of the Button 2 - true = pressed
    • Down:bool - Some key is pressed (true) or released (false)
    • Priority - OnKeyPress priority. For details see description below of the page.


For each generated event it is possible to set: