cmdfx 0.2.1
Lightweight game engine for your terminal
Loading...
Searching...
No Matches
device.hpp File Reference

C++ Extensions for the CmdFX Device API. More...

#include "cmdfx/core/device.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  CmdFX
 Primary namespace for CmdFX.
 
namespace  CmdFX::Device
 C++ wrapper for the CmdFX Device API.
 

Functions

std::vector< bool > CmdFX::Device::getKeyboardKeysPressed ()
 Gets a vector of booleans representing the state of the keyboard keys.
 
char CmdFX::Device::fromKeyCode (int keyCode)
 
std::vector< bool > CmdFX::Device::getMouseButtonsPressed ()
 Gets a vector of mouse buttons that are currently pressed.
 

Detailed Description

C++ Extensions for the CmdFX Device API.

Author
Gregory Mitchell (me@gm.nosp@m.itch.nosp@m.215.x.nosp@m.yz)
Version
0.2.1
Date
2025-05-20