| 
    ASGE
    3.2.0
    
   Simple Game Framework in GL 
   | 
 
#include <InputEvents.hpp>
Public Attributes | |
| double | xpos = 0 | 
| double | ypos = 0 | 
| int | button = -1 | 
| int | action = -1 | 
| ASGE::KEYS::MODS | mods = 0 | 
a mouse click event
A click event provides any related information that can be used to drive a game through mouse clicks.
Definition at line 76 of file InputEvents.hpp.
| int ASGE::ClickEvent::action = -1 | 
Button action. Has it been pressed or released?
Definition at line 81 of file InputEvents.hpp.
| int ASGE::ClickEvent::button = -1 | 
Mouse button. The mouse button clicked.
Definition at line 80 of file InputEvents.hpp.
| ASGE::KEYS::MODS ASGE::ClickEvent::mods = 0 | 
Modifiers. Any modifiers applied i.e. ctrl, shift etc.
Definition at line 82 of file InputEvents.hpp.
| double ASGE::ClickEvent::xpos = 0 | 
X. The current mouse position on the X axis.
Definition at line 78 of file InputEvents.hpp.
| double ASGE::ClickEvent::ypos = 0 | 
Y. The current mouse position on the Y axis.
Definition at line 79 of file InputEvents.hpp.