#include <XkbcommonKeymap.h>
◆ CXkbcommonKeymap()
Construct for known xkb_keymap
◆ ActiveXBMCModifiers()
XBMCMod CXkbcommonKeymap::ActiveXBMCModifiers |
( |
| ) |
const |
◆ CurrentModifiers()
xkb_mod_mask_t CXkbcommonKeymap::CurrentModifiers |
( |
| ) |
const |
Gets the currently depressed, latched and locked modifiers for the keyboard
◆ KeyComposerFeed()
Feed a given keycode to the key composer
- Parameters
-
- Returns
- the status of the operation (both the state and the equivalent unicode dead key char resulting from the dead key press)
◆ KeyComposerFlush()
void CXkbcommonKeymap::KeyComposerFlush |
( |
| ) |
|
◆ KeysymForKeycode()
xkb_keysym_t CXkbcommonKeymap::KeysymForKeycode |
( |
xkb_keycode_t | code | ) |
const |
Get xkb keysym for keycode - only a single keysym is supported
◆ ShouldKeycodeRepeat()
bool CXkbcommonKeymap::ShouldKeycodeRepeat |
( |
xkb_keycode_t | code | ) |
const |
Check whether a given keycode should have key repeat
◆ SupportsKeyComposition()
bool CXkbcommonKeymap::SupportsKeyComposition |
( |
| ) |
const |
Check if the system supports key composition
- Returns
- true if composition is supported, false otherwise
◆ UnicodeCodepointForKeycode()
std::uint32_t CXkbcommonKeymap::UnicodeCodepointForKeycode |
( |
xkb_keycode_t | code | ) |
const |
Get Unicode codepoint/UTF32 code for provided keycode
◆ UpdateMask()
void CXkbcommonKeymap::UpdateMask |
( |
xkb_mod_mask_t | depressed, |
|
|
xkb_mod_mask_t | latched, |
|
|
xkb_mod_mask_t | locked, |
|
|
xkb_mod_mask_t | group ) |
Updates the currently depressed, latched, locked and group modifiers for a keyboard being tracked.
This function must be called whenever modifiers change, or the state will be wrong and keysym translation will be off.
◆ XBMCKeyForKeycode()
XBMCKey CXkbcommonKeymap::XBMCKeyForKeycode |
( |
xkb_keycode_t | code | ) |
const |
Get XBMCKey for provided keycode
◆ XBMCKeyForKeysym()
XBMCKey CXkbcommonKeymap::XBMCKeyForKeysym |
( |
xkb_keysym_t | sym | ) |
|
|
static |
The documentation for this class was generated from the following files: