Back to index

nux  3.0.0
Namespaces | Functions
Events.cpp File Reference
#include "GLResource.h"
#include "Events.h"

Go to the source code of this file.


namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.


MouseButton nux::GetEventButton (unsigned long button_state)
 Returns index of the mouse button that triggered an event.
bool nux::GetButtonState (unsigned long button_state, MouseButton button)
 Returns the state of a mouse button: pressed or released.
bool nux::GetKeyModifierState (unsigned long key_modifiers_states, KeyModifier key_modifier)
 Returns the state of a special key: CTRL, Shift, Alt, NumLock...