35 , State( device->GetState()[ key ] )
37 , IsUp( device->GetState()[ key ].IsUp() )
38 , IsDown( device->GetState()[ key ].IsPressed() )
bool IsUp
Definition: KeyEventArgs.h:28
Definition: DirectInputModule.cpp:11
Key state changed event.
Definition: KeyEventArgs.h:21
Base class for keyboard events.
Definition: KeyboardEventArgs.h:15
KeyEventArgs(input::KeyboardDevice *device, input::Keyboard::PhysicalKeys key)
Definition: KeyEventArgs.h:33
const input::KeyState & State
Definition: KeyEventArgs.h:26
input::Keyboard::PhysicalKeys Key
Definition: KeyEventArgs.h:27
DEFINE_OPTR_TYPE(UIElement)
bool IsDown
Definition: KeyEventArgs.h:29