• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • kdeui
  • util
Namespaces | Macros | Functions | Variables
kkeyserver_x11.cpp File Reference
#include "kkeyserver_x11.h"
#include "kdebug.h"
#include "klocale.h"
#include <QX11Info>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/keysymdef.h>

Go to the source code of this file.

Namespaces

namespace  KKeyServer
 

Macros

#define X11_ONLY(arg)   arg,
 
#define XF86XK_AddFavorite   0x1008FF39
 
#define XF86XK_ApplicationLeft   0x1008FF50
 
#define XF86XK_ApplicationRight   0x1008FF51
 
#define XF86XK_AudioCycleTrack   0x1008FF9B
 
#define XF86XK_AudioForward   0x1008FF97
 
#define XF86XK_AudioLowerVolume   0x1008FF11
 
#define XF86XK_AudioMedia   0x1008FF32
 
#define XF86XK_AudioMute   0x1008FF12
 
#define XF86XK_AudioNext   0x1008FF17
 
#define XF86XK_AudioPause   0x1008FF31
 
#define XF86XK_AudioPlay   0x1008FF14
 
#define XF86XK_AudioPrev   0x1008FF16
 
#define XF86XK_AudioRaiseVolume   0x1008FF13
 
#define XF86XK_AudioRandomPlay   0x1008FF99
 
#define XF86XK_AudioRecord   0x1008FF1C
 
#define XF86XK_AudioRepeat   0x1008FF98
 
#define XF86XK_AudioRewind   0x1008FF3E
 
#define XF86XK_AudioStop   0x1008FF15
 
#define XF86XK_Away   0x1008FF8D
 
#define XF86XK_Back   0x1008FF26
 
#define XF86XK_BackForward   0x1008FF3F
 
#define XF86XK_Battery   0x1008FF93
 
#define XF86XK_Bluetooth   0x1008FF94
 
#define XF86XK_Book   0x1008FF52
 
#define XF86XK_BrightnessAdjust   0x1008FF3B
 
#define XF86XK_Calculater   0x1008FF54
 
#define XF86XK_Calculator   0x1008FF1D
 
#define XF86XK_Calendar   0x1008FF20
 
#define XF86XK_CD   0x1008FF53
 
#define XF86XK_Clear   0x1008FF55
 
#define XF86XK_ClearGrab   0x1008FE21
 
#define XF86XK_Close   0x1008FF56
 
#define XF86XK_Community   0x1008FF3D
 
#define XF86XK_ContrastAdjust   0x1008FF22
 
#define XF86XK_Copy   0x1008FF57
 
#define XF86XK_Cut   0x1008FF58
 
#define XF86XK_Display   0x1008FF59
 
#define XF86XK_Documents   0x1008FF5B
 
#define XF86XK_DOS   0x1008FF5A
 
#define XF86XK_Eject   0x1008FF2C
 
#define XF86XK_Excel   0x1008FF5C
 
#define XF86XK_Explorer   0x1008FF5D
 
#define XF86XK_Favorites   0x1008FF30
 
#define XF86XK_Finance   0x1008FF3C
 
#define XF86XK_Forward   0x1008FF27
 
#define XF86XK_Game   0x1008FF5E
 
#define XF86XK_Go   0x1008FF5F
 
#define XF86XK_Hibernate   0x1008FFA8
 
#define XF86XK_History   0x1008FF37
 
#define XF86XK_HomePage   0x1008FF18
 
#define XF86XK_HotLinks   0x1008FF3A
 
#define XF86XK_iTouch   0x1008FF60
 
#define XF86XK_KbdBrightnessDown   0x1008FF06
 
#define XF86XK_KbdBrightnessUp   0x1008FF05
 
#define XF86XK_KbdLightOnOff   0x1008FF04
 
#define XF86XK_Launch0   0x1008FF40
 
#define XF86XK_Launch1   0x1008FF41
 
#define XF86XK_Launch2   0x1008FF42
 
#define XF86XK_Launch3   0x1008FF43
 
#define XF86XK_Launch4   0x1008FF44
 
#define XF86XK_Launch5   0x1008FF45
 
#define XF86XK_Launch6   0x1008FF46
 
#define XF86XK_Launch7   0x1008FF47
 
#define XF86XK_Launch8   0x1008FF48
 
#define XF86XK_Launch9   0x1008FF49
 
#define XF86XK_LaunchA   0x1008FF4A
 
#define XF86XK_LaunchB   0x1008FF4B
 
#define XF86XK_LaunchC   0x1008FF4C
 
#define XF86XK_LaunchD   0x1008FF4D
 
#define XF86XK_LaunchE   0x1008FF4E
 
#define XF86XK_LaunchF   0x1008FF4F
 
#define XF86XK_LightBulb   0x1008FF35
 
#define XF86XK_LogOff   0x1008FF61
 
#define XF86XK_Mail   0x1008FF19
 
#define XF86XK_MailForward   0x1008FF90
 
#define XF86XK_Market   0x1008FF62
 
#define XF86XK_Meeting   0x1008FF63
 
#define XF86XK_Memo   0x1008FF1E
 
#define XF86XK_MenuKB   0x1008FF65
 
#define XF86XK_MenuPB   0x1008FF66
 
#define XF86XK_Messenger   0x1008FF8E
 
#define XF86XK_MonBrightnessDown   0x1008FF03
 
#define XF86XK_MonBrightnessUp   0x1008FF02
 
#define XF86XK_Music   0x1008FF92
 
#define XF86XK_MyComputer   0x1008FF33
 
#define XF86XK_MySites   0x1008FF67
 
#define XF86XK_News   0x1008FF69
 
#define XF86XK_OfficeHome   0x1008FF6A
 
#define XF86XK_OpenURL   0x1008FF38
 
#define XF86XK_Option   0x1008FF6C
 
#define XF86XK_Paste   0x1008FF6D
 
#define XF86XK_Phone   0x1008FF6E
 
#define XF86XK_Pictures   0x1008FF91
 
#define XF86XK_PowerDown   0x1008FF21
 
#define XF86XK_PowerOff   0x1008FF2A
 
#define XF86XK_Refresh   0x1008FF29
 
#define XF86XK_Reload   0x1008FF73
 
#define XF86XK_Reply   0x1008FF72
 
#define XF86XK_RotateWindows   0x1008FF74
 
#define XF86XK_RotationKB   0x1008FF76
 
#define XF86XK_RotationPB   0x1008FF75
 
#define XF86XK_Save   0x1008FF77
 
#define XF86XK_ScreenSaver   0x1008FF2D
 
#define XF86XK_Search   0x1008FF1B
 
#define XF86XK_Select   0x1008FFA0
 
#define XF86XK_Send   0x1008FF7B
 
#define XF86XK_Shop   0x1008FF36
 
#define XF86XK_Sleep   0x1008FF2F
 
#define XF86XK_Spell   0x1008FF7C
 
#define XF86XK_SplitScreen   0x1008FF7D
 
#define XF86XK_Standby   0x1008FF10
 
#define XF86XK_Start   0x1008FF1A
 
#define XF86XK_Stop   0x1008FF28
 
#define XF86XK_Subtitle   0x1008FF9A
 
#define XF86XK_Support   0x1008FF7E
 
#define XF86XK_Suspend   0x1008FFA7
 
#define XF86XK_TaskPane   0x1008FF7F
 
#define XF86XK_Terminal   0x1008FF80
 
#define XF86XK_Time   0x1008FF9F
 
#define XF86XK_ToDoList   0x1008FF1F
 
#define XF86XK_Tools   0x1008FF81
 
#define XF86XK_TopMenu   0x1008FFA2
 
#define XF86XK_Travel   0x1008FF82
 
#define XF86XK_UWB   0x1008FF96
 
#define XF86XK_Video   0x1008FF87
 
#define XF86XK_View   0x1008FFA1
 
#define XF86XK_WakeUp   0x1008FF2B
 
#define XF86XK_WebCam   0x1008FF8F
 
#define XF86XK_WLAN   0x1008FF95
 
#define XF86XK_Word   0x1008FF89
 
#define XF86XK_WWW   0x1008FF2E
 
#define XF86XK_Xfer   0x1008FF8A
 
#define XF86XK_ZoomIn   0x1008FF8B
 
#define XF86XK_ZoomOut   0x1008FF8C
 
#define XK_MISCELLANY
 
#define XK_XKB_KEYS
 

Functions

uint KKeyServer::accelModMaskX ()
 
void KKeyServer::checkDisplay ()
 
bool KKeyServer::codeXToSym (uchar codeX, uint modX, uint *sym)
 
uint KKeyServer::getModsRequired (uint sym)
 
bool KKeyServer::initializeMods ()
 
bool KKeyServer::keyboardHasMetaKey ()
 
bool KKeyServer::keyQtToCodeX (int keyQt, int *keyCode)
 
bool KKeyServer::keyQtToModX (int keyQt, uint *mod)
 
bool KKeyServer::keyQtToSymX (int keyQt, int *sym)
 
uint KKeyServer::modXAlt ()
 
uint KKeyServer::modXCtrl ()
 
uint KKeyServer::modXLock ()
 
uint KKeyServer::modXMeta ()
 
uint KKeyServer::modXModeSwitch ()
 
uint KKeyServer::modXNumLock ()
 
uint KKeyServer::modXScrollLock ()
 
uint KKeyServer::modXShift ()
 
bool KKeyServer::modXToQt (uint modX, int *modQt)
 
bool KKeyServer::symXToKeyQt (uint sym, int *keyQt)
 
bool KKeyServer::xEventToQt (XEvent *e, int *keyModQt)
 

Variables

static uint KKeyServer::g_alt_mask
 
static bool KKeyServer::g_bInitializedMods
 
static uint KKeyServer::g_hyper_mask
 
static uint KKeyServer::g_meta_mask
 
static uint KKeyServer::g_modXModeSwitch
 
static uint KKeyServer::g_modXNumLock
 
static uint KKeyServer::g_modXScrollLock
 
static const TransKey KKeyServer::g_rgQtToSymX []
 
static const SymName KKeyServer::g_rgSymNames []
 
static X11ModInfo KKeyServer::g_rgX11ModInfo [4]
 
static uint KKeyServer::g_super_mask
 

Macro Definition Documentation

◆ X11_ONLY

#define X11_ONLY (   arg)    arg,

Definition at line 35 of file kkeyserver_x11.cpp.

◆ XF86XK_AddFavorite

#define XF86XK_AddFavorite   0x1008FF39

◆ XF86XK_ApplicationLeft

#define XF86XK_ApplicationLeft   0x1008FF50

◆ XF86XK_ApplicationRight

#define XF86XK_ApplicationRight   0x1008FF51

◆ XF86XK_AudioCycleTrack

#define XF86XK_AudioCycleTrack   0x1008FF9B

◆ XF86XK_AudioForward

#define XF86XK_AudioForward   0x1008FF97

◆ XF86XK_AudioLowerVolume

#define XF86XK_AudioLowerVolume   0x1008FF11

◆ XF86XK_AudioMedia

#define XF86XK_AudioMedia   0x1008FF32

◆ XF86XK_AudioMute

#define XF86XK_AudioMute   0x1008FF12

◆ XF86XK_AudioNext

#define XF86XK_AudioNext   0x1008FF17

◆ XF86XK_AudioPause

#define XF86XK_AudioPause   0x1008FF31

◆ XF86XK_AudioPlay

#define XF86XK_AudioPlay   0x1008FF14

◆ XF86XK_AudioPrev

#define XF86XK_AudioPrev   0x1008FF16

◆ XF86XK_AudioRaiseVolume

#define XF86XK_AudioRaiseVolume   0x1008FF13

◆ XF86XK_AudioRandomPlay

#define XF86XK_AudioRandomPlay   0x1008FF99

◆ XF86XK_AudioRecord

#define XF86XK_AudioRecord   0x1008FF1C

◆ XF86XK_AudioRepeat

#define XF86XK_AudioRepeat   0x1008FF98

◆ XF86XK_AudioRewind

#define XF86XK_AudioRewind   0x1008FF3E

◆ XF86XK_AudioStop

#define XF86XK_AudioStop   0x1008FF15

◆ XF86XK_Away

#define XF86XK_Away   0x1008FF8D

◆ XF86XK_Back

#define XF86XK_Back   0x1008FF26

◆ XF86XK_BackForward

#define XF86XK_BackForward   0x1008FF3F

◆ XF86XK_Battery

#define XF86XK_Battery   0x1008FF93

◆ XF86XK_Bluetooth

#define XF86XK_Bluetooth   0x1008FF94

◆ XF86XK_Book

#define XF86XK_Book   0x1008FF52

◆ XF86XK_BrightnessAdjust

#define XF86XK_BrightnessAdjust   0x1008FF3B

◆ XF86XK_Calculater

#define XF86XK_Calculater   0x1008FF54

◆ XF86XK_Calculator

#define XF86XK_Calculator   0x1008FF1D

◆ XF86XK_Calendar

#define XF86XK_Calendar   0x1008FF20

◆ XF86XK_CD

#define XF86XK_CD   0x1008FF53

◆ XF86XK_Clear

#define XF86XK_Clear   0x1008FF55

◆ XF86XK_ClearGrab

#define XF86XK_ClearGrab   0x1008FE21

◆ XF86XK_Close

#define XF86XK_Close   0x1008FF56

◆ XF86XK_Community

#define XF86XK_Community   0x1008FF3D

◆ XF86XK_ContrastAdjust

#define XF86XK_ContrastAdjust   0x1008FF22

◆ XF86XK_Copy

#define XF86XK_Copy   0x1008FF57

◆ XF86XK_Cut

#define XF86XK_Cut   0x1008FF58

◆ XF86XK_Display

#define XF86XK_Display   0x1008FF59

◆ XF86XK_Documents

#define XF86XK_Documents   0x1008FF5B

◆ XF86XK_DOS

#define XF86XK_DOS   0x1008FF5A

◆ XF86XK_Eject

#define XF86XK_Eject   0x1008FF2C

◆ XF86XK_Excel

#define XF86XK_Excel   0x1008FF5C

◆ XF86XK_Explorer

#define XF86XK_Explorer   0x1008FF5D

◆ XF86XK_Favorites

#define XF86XK_Favorites   0x1008FF30

◆ XF86XK_Finance

#define XF86XK_Finance   0x1008FF3C

◆ XF86XK_Forward

#define XF86XK_Forward   0x1008FF27

◆ XF86XK_Game

#define XF86XK_Game   0x1008FF5E

◆ XF86XK_Go

#define XF86XK_Go   0x1008FF5F

◆ XF86XK_Hibernate

#define XF86XK_Hibernate   0x1008FFA8

◆ XF86XK_History

#define XF86XK_History   0x1008FF37

◆ XF86XK_HomePage

#define XF86XK_HomePage   0x1008FF18

◆ XF86XK_HotLinks

#define XF86XK_HotLinks   0x1008FF3A

◆ XF86XK_iTouch

#define XF86XK_iTouch   0x1008FF60

◆ XF86XK_KbdBrightnessDown

#define XF86XK_KbdBrightnessDown   0x1008FF06

◆ XF86XK_KbdBrightnessUp

#define XF86XK_KbdBrightnessUp   0x1008FF05

◆ XF86XK_KbdLightOnOff

#define XF86XK_KbdLightOnOff   0x1008FF04

◆ XF86XK_Launch0

#define XF86XK_Launch0   0x1008FF40

◆ XF86XK_Launch1

#define XF86XK_Launch1   0x1008FF41

◆ XF86XK_Launch2

#define XF86XK_Launch2   0x1008FF42

◆ XF86XK_Launch3

#define XF86XK_Launch3   0x1008FF43

◆ XF86XK_Launch4

#define XF86XK_Launch4   0x1008FF44

◆ XF86XK_Launch5

#define XF86XK_Launch5   0x1008FF45

◆ XF86XK_Launch6

#define XF86XK_Launch6   0x1008FF46

◆ XF86XK_Launch7

#define XF86XK_Launch7   0x1008FF47

◆ XF86XK_Launch8

#define XF86XK_Launch8   0x1008FF48

◆ XF86XK_Launch9

#define XF86XK_Launch9   0x1008FF49

◆ XF86XK_LaunchA

#define XF86XK_LaunchA   0x1008FF4A

◆ XF86XK_LaunchB

#define XF86XK_LaunchB   0x1008FF4B

◆ XF86XK_LaunchC

#define XF86XK_LaunchC   0x1008FF4C

◆ XF86XK_LaunchD

#define XF86XK_LaunchD   0x1008FF4D

◆ XF86XK_LaunchE

#define XF86XK_LaunchE   0x1008FF4E

◆ XF86XK_LaunchF

#define XF86XK_LaunchF   0x1008FF4F

◆ XF86XK_LightBulb

#define XF86XK_LightBulb   0x1008FF35

◆ XF86XK_LogOff

#define XF86XK_LogOff   0x1008FF61

◆ XF86XK_Mail

#define XF86XK_Mail   0x1008FF19

◆ XF86XK_MailForward

#define XF86XK_MailForward   0x1008FF90

◆ XF86XK_Market

#define XF86XK_Market   0x1008FF62

◆ XF86XK_Meeting

#define XF86XK_Meeting   0x1008FF63

◆ XF86XK_Memo

#define XF86XK_Memo   0x1008FF1E

◆ XF86XK_MenuKB

#define XF86XK_MenuKB   0x1008FF65

◆ XF86XK_MenuPB

#define XF86XK_MenuPB   0x1008FF66

◆ XF86XK_Messenger

#define XF86XK_Messenger   0x1008FF8E

◆ XF86XK_MonBrightnessDown

#define XF86XK_MonBrightnessDown   0x1008FF03

◆ XF86XK_MonBrightnessUp

#define XF86XK_MonBrightnessUp   0x1008FF02

◆ XF86XK_Music

#define XF86XK_Music   0x1008FF92

◆ XF86XK_MyComputer

#define XF86XK_MyComputer   0x1008FF33

◆ XF86XK_MySites

#define XF86XK_MySites   0x1008FF67

◆ XF86XK_News

#define XF86XK_News   0x1008FF69

◆ XF86XK_OfficeHome

#define XF86XK_OfficeHome   0x1008FF6A

◆ XF86XK_OpenURL

#define XF86XK_OpenURL   0x1008FF38

◆ XF86XK_Option

#define XF86XK_Option   0x1008FF6C

◆ XF86XK_Paste

#define XF86XK_Paste   0x1008FF6D

◆ XF86XK_Phone

#define XF86XK_Phone   0x1008FF6E

◆ XF86XK_Pictures

#define XF86XK_Pictures   0x1008FF91

◆ XF86XK_PowerDown

#define XF86XK_PowerDown   0x1008FF21

◆ XF86XK_PowerOff

#define XF86XK_PowerOff   0x1008FF2A

◆ XF86XK_Refresh

#define XF86XK_Refresh   0x1008FF29

◆ XF86XK_Reload

#define XF86XK_Reload   0x1008FF73

◆ XF86XK_Reply

#define XF86XK_Reply   0x1008FF72

◆ XF86XK_RotateWindows

#define XF86XK_RotateWindows   0x1008FF74

◆ XF86XK_RotationKB

#define XF86XK_RotationKB   0x1008FF76

◆ XF86XK_RotationPB

#define XF86XK_RotationPB   0x1008FF75

◆ XF86XK_Save

#define XF86XK_Save   0x1008FF77

◆ XF86XK_ScreenSaver

#define XF86XK_ScreenSaver   0x1008FF2D

◆ XF86XK_Search

#define XF86XK_Search   0x1008FF1B

◆ XF86XK_Select

#define XF86XK_Select   0x1008FFA0

◆ XF86XK_Send

#define XF86XK_Send   0x1008FF7B

◆ XF86XK_Shop

#define XF86XK_Shop   0x1008FF36

◆ XF86XK_Sleep

#define XF86XK_Sleep   0x1008FF2F

◆ XF86XK_Spell

#define XF86XK_Spell   0x1008FF7C

◆ XF86XK_SplitScreen

#define XF86XK_SplitScreen   0x1008FF7D

◆ XF86XK_Standby

#define XF86XK_Standby   0x1008FF10

◆ XF86XK_Start

#define XF86XK_Start   0x1008FF1A

◆ XF86XK_Stop

#define XF86XK_Stop   0x1008FF28

◆ XF86XK_Subtitle

#define XF86XK_Subtitle   0x1008FF9A

◆ XF86XK_Support

#define XF86XK_Support   0x1008FF7E

◆ XF86XK_Suspend

#define XF86XK_Suspend   0x1008FFA7

◆ XF86XK_TaskPane

#define XF86XK_TaskPane   0x1008FF7F

◆ XF86XK_Terminal

#define XF86XK_Terminal   0x1008FF80

◆ XF86XK_Time

#define XF86XK_Time   0x1008FF9F

◆ XF86XK_ToDoList

#define XF86XK_ToDoList   0x1008FF1F

◆ XF86XK_Tools

#define XF86XK_Tools   0x1008FF81

◆ XF86XK_TopMenu

#define XF86XK_TopMenu   0x1008FFA2

◆ XF86XK_Travel

#define XF86XK_Travel   0x1008FF82

◆ XF86XK_UWB

#define XF86XK_UWB   0x1008FF96

◆ XF86XK_Video

#define XF86XK_Video   0x1008FF87

◆ XF86XK_View

#define XF86XK_View   0x1008FFA1

◆ XF86XK_WakeUp

#define XF86XK_WakeUp   0x1008FF2B

◆ XF86XK_WebCam

#define XF86XK_WebCam   0x1008FF8F

◆ XF86XK_WLAN

#define XF86XK_WLAN   0x1008FF95

◆ XF86XK_Word

#define XF86XK_Word   0x1008FF89

◆ XF86XK_WWW

#define XF86XK_WWW   0x1008FF2E

◆ XF86XK_Xfer

#define XF86XK_Xfer   0x1008FF8A

◆ XF86XK_ZoomIn

#define XF86XK_ZoomIn   0x1008FF8B

◆ XF86XK_ZoomOut

#define XF86XK_ZoomOut   0x1008FF8C

◆ XK_MISCELLANY

#define XK_MISCELLANY

Definition at line 29 of file kkeyserver_x11.cpp.

◆ XK_XKB_KEYS

#define XK_XKB_KEYS

Definition at line 30 of file kkeyserver_x11.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal