Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qxcbkeyboard.cpp File Reference
#include "qxcbkeyboard.h"
#include "qxcbwindow.h"
#include "qxcbscreen.h"
#include <qpa/qwindowsysteminterface.h>
#include <qpa/qplatforminputcontext.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformcursor.h>
#include <QtCore/QMetaEnum>
#include <private/qguiapplication_p.h>
#include <xcb/xinput.h>
+ Include dependency graph for qxcbkeyboard.cpp:

Go to the source code of this file.

Functions

static xcb_keysym_t getUnshiftedXKey (xcb_keysym_t unshifted, xcb_keysym_t shifted)
 
static QByteArray symbolsGroupString (const xcb_keysym_t *symbols, int count)
 
static xkb_layout_index_t lockedGroup (quint16 state)
 
static void applyModifier (uint *mask, int modifierBit)
 
static bool keycodes_contains (xcb_keycode_t *codes, xcb_keycode_t which)
 
static bool fromSendEvent (const void *event)
 

Function Documentation

◆ applyModifier()

static void applyModifier ( uint mask,
int  modifierBit 
)
inlinestatic

Definition at line 677 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::updateModifiers().

+ Here is the caller graph for this function:

◆ fromSendEvent()

static bool fromSendEvent ( const void event)
static

Definition at line 904 of file qxcbkeyboard.cpp.

References e.

Referenced by QXcbWindow::handleConfigureNotifyEvent(), QXcbKeyboard::handleKeyEvent(), QXcbKeyboard::handleKeyPressEvent(), and QXcbKeyboard::handleKeyReleaseEvent().

+ Here is the caller graph for this function:

◆ getUnshiftedXKey()

static xcb_keysym_t getUnshiftedXKey ( xcb_keysym_t  unshifted,
xcb_keysym_t  shifted 
)
static

Definition at line 42 of file qxcbkeyboard.cpp.

References QXkbCommon::xkbcommon_XConvertCase().

Referenced by QXcbKeyboard::keymapFromCore().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ keycodes_contains()

static bool keycodes_contains ( xcb_keycode_t *  codes,
xcb_keycode_t  which 
)
inlinestatic

Definition at line 706 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::keysymsToModifiers().

+ Here is the caller graph for this function:

◆ lockedGroup()

static xkb_layout_index_t lockedGroup ( quint16  state)
static

Definition at line 401 of file qxcbkeyboard.cpp.

References state.

Referenced by QXcbKeyboard::handleKeyEvent(), and QXcbKeyboard::updateXKBStateFromCore().

+ Here is the caller graph for this function:

◆ symbolsGroupString()

static QByteArray symbolsGroupString ( const xcb_keysym_t *  symbols,
int  count 
)
static

Definition at line 59 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::keymapFromCore().

+ Here is the caller graph for this function: