|
void | setDevice (LInputDevice *device) noexcept |
| Sets the input device that originated the event.
|
|
LInputDevice * | device () const noexcept |
| Gets the input device that originated this event.
|
|
| ~LEvent () noexcept=default |
| Destructor.
|
|
Type | type () const noexcept |
| Retrieves the type of the event.
|
|
Subtype | subtype () const noexcept |
| Retrieves the subtype of the event.
|
|
void | setSerial (UInt32 serial) noexcept |
| Sets the serial of the event.
|
|
UInt32 | serial () const noexcept |
| Retrieves the serial of the event.
|
|
void | setMs (UInt32 ms) noexcept |
| Sets the time the event was generated in milliseconds.
|
|
UInt32 | ms () const noexcept |
| Retrieves the time the event was generated in milliseconds.
|
|
void | setUs (UInt32 us) noexcept |
| Sets the time the event was generated in microseconds.
|
|
UInt64 | us () const noexcept |
| Retrieves the time the event was generated in microseconds.
|
|
LEvent * | copy () const noexcept |
| Creates a deep copy of the event.
|
|
Base class for input events.