Lugdunum  0.1.0
Public Attributes | List of all members
lug::Window::KeyEvent Struct Reference

Represents a keyboard event. More...

#include <Event.hpp>

Collaboration diagram for lug::Window::KeyEvent:
[legend]

Public Attributes

Keyboard::Key code
 The key that triggered the event. More...
 
bool alt
 True if alt was pressed, False otherwise. More...
 
bool ctrl
 True if ctrl was pressed, False otherwise. More...
 
bool shift
 True if shift was pressed, False otherwise. More...
 
bool system
 True if system was pressed, False otherwise. More...
 

Detailed Description

Represents a keyboard event.

Definition at line 17 of file Event.hpp.

Member Data Documentation

◆ code

Keyboard::Key lug::Window::KeyEvent::code

The key that triggered the event.

Definition at line 18 of file Event.hpp.

◆ alt

bool lug::Window::KeyEvent::alt

True if alt was pressed, False otherwise.

Definition at line 19 of file Event.hpp.

◆ ctrl

bool lug::Window::KeyEvent::ctrl

True if ctrl was pressed, False otherwise.

Definition at line 20 of file Event.hpp.

◆ shift

bool lug::Window::KeyEvent::shift

True if shift was pressed, False otherwise.

Definition at line 21 of file Event.hpp.

◆ system

bool lug::Window::KeyEvent::system

True if system was pressed, False otherwise.

Definition at line 22 of file Event.hpp.


The documentation for this struct was generated from the following file: