TwoKeys
 
 
 Bean TwoKeys
 
Bean generated by Bean Creator

Events are functions called when some important event occurred and its processing starts.

Events:

  • EventModule - Name of the user module (without extension), where the events from this bean 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:



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.