Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qxcbkeyboard.cpp File Reference

(d5c867ee292d4a650f68d9b079e5c393c2ee51f9)

#include "qxcbkeyboard.h"
#include "qxcbwindow.h"
#include "qxcbscreen.h"
#include "qxcbcursor.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 687 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 914 of file qxcbkeyboard.cpp.

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 43 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 716 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 411 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 60 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::keymapFromCore().

+ Here is the caller graph for this function: