CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
ConKeyEvent Struct Reference

A single decoded key press. More...

#include <conin.h>

Data Fields

ConKey key
 Which key. CON_Key_Char means ch holds the codepoint.
 
int32 ch
 Unicode codepoint for CON_Key_Char; 0 for every other key.
 
flags_t mods
 

Detailed Description

A single decoded key press.

Definition at line 62 of file conin.h.

Field Documentation

◆ mods

flags_t ConKeyEvent::mods

Bitwise OR of CON_MOD_FLAGS. Not all terminals report all modifiers on all keys – Ctrl+<letter> is reliable everywhere; Alt and Shift on arrow/function keys depend on the terminal emulator.

Definition at line 65 of file conin.h.


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