Empirical
|
Keyboard-specific information about web events. More...
#include <events.h>
Public Member Functions | |
template<int ARG_ID> | |
void | LoadFromArg () |
Public Attributes | |
bool | altKey |
Was "ALT" key was pressed? More... | |
bool | ctrlKey |
Was "CTRL" key pressed? More... | |
bool | metaKey |
Was "META" key pressed? More... | |
bool | shiftKey |
Was "SHIFT" key pressed? More... | |
int | charCode |
Unicode character pressed. More... | |
int | keyCode |
Which key was pressed on the keyboard (e.g., 'a' and 'A' are the same) More... | |
bool | bubbles |
Is this a bubbling event? More... | |
bool | cancelable |
Can the default action be prevented? More... | |
Keyboard-specific information about web events.
|
inline |
bool emp::web::KeyboardEvent::altKey |
Was "ALT" key was pressed?
|
inherited |
Is this a bubbling event?
|
inherited |
Can the default action be prevented?
int emp::web::KeyboardEvent::charCode |
Unicode character pressed.
bool emp::web::KeyboardEvent::ctrlKey |
Was "CTRL" key pressed?
int emp::web::KeyboardEvent::keyCode |
Which key was pressed on the keyboard (e.g., 'a' and 'A' are the same)
bool emp::web::KeyboardEvent::metaKey |
Was "META" key pressed?
bool emp::web::KeyboardEvent::shiftKey |
Was "SHIFT" key pressed?