VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
VulkanEngine::KeyboardInput Class Reference

Class which provides ability to read keyboard input from windowing system. More...

#include <KeyboardInput.h>

Classes

struct  KeyInfo
 Contains information about a particular key. More...
 

Public Types

enum  KeyStatus { PRESSED , RELEASED , REPEAT , NO_STATUS }
 Represents different states that keys can be in.
 

Public Member Functions

const KeyStatus getLastKeyStatus (int key_id)
 

Friends

class Window
 

Detailed Description

Class which provides ability to read keyboard input from windowing system.

Member Function Documentation

◆ getLastKeyStatus()

const VulkanEngine::KeyboardInput::KeyStatus VulkanEngine::KeyboardInput::getLastKeyStatus ( int  key_id)

Get the last status of the key provided.

Parameters
key_idThe windowing system specific key id.
Returns
The status of the provided key.

The documentation for this class was generated from the following files: