![]() | |
![]() | ![]() |
CL_Event_ButtonPressEvent callback interface for button presses. Parents: public virtual CL_Event Description
This interface is used to intercept button presses from the keyboard, mouse and joystick. To use this interface, inherit it and implement on_button_press(). Then add it to a CL_EventChain_ButtonPress chain. The topmost chain is located in CL_Input. ClanLib has some common case inheritance of most of our events, and you may want to have a look at them before using this interface. One example is the CL_InputBuffer class, which converts button events into a poll queue. Class membersvirtual ~CL_Event_ButtonPress() See AlsoNone |