Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qxcbkeyboard.cpp File Reference

(02de77535f2a94cbeb7e0ea01895ba4e556e165c)

#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()

void applyModifier ( uint * mask,
int modifierBit )
inlinestatic

Definition at line 689 of file qxcbkeyboard.cpp.

◆ fromSendEvent()

bool fromSendEvent ( const void * event)
static

Definition at line 916 of file qxcbkeyboard.cpp.

◆ getUnshiftedXKey()

xcb_keysym_t getUnshiftedXKey ( xcb_keysym_t unshifted,
xcb_keysym_t shifted )
static

Definition at line 45 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::keymapFromCore().

Here is the caller graph for this function:

◆ keycodes_contains()

bool keycodes_contains ( xcb_keycode_t * codes,
xcb_keycode_t which )
inlinestatic

Definition at line 718 of file qxcbkeyboard.cpp.

◆ lockedGroup()

xkb_layout_index_t lockedGroup ( quint16 state)
static

Definition at line 413 of file qxcbkeyboard.cpp.

◆ symbolsGroupString()

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

Definition at line 62 of file qxcbkeyboard.cpp.