Qt 4.8
Macros | Functions | Variables
qxcbkeyboard.cpp File Reference
#include "qxcbkeyboard.h"
#include <xcb/xcb_keysyms.h>
#include <X11/keysym.h>
#include <QtGui/QWindowSystemInterface>
#include <QtCore/QTextCodec>
#include <stdio.h>

Go to the source code of this file.

Macros

#define QTOPIAXK_Call   0x1100060E
 
#define QTOPIAXK_Cancel   0x11000604
 
#define QTOPIAXK_Context1   0x1100060A
 
#define QTOPIAXK_Context2   0x1100060B
 
#define QTOPIAXK_Context3   0x1100060C
 
#define QTOPIAXK_Context4   0x1100060D
 
#define QTOPIAXK_Execute   0x11000606
 
#define QTOPIAXK_Flip   0x11000610
 
#define QTOPIAXK_Hangup   0x1100060F
 
#define QTOPIAXK_No   0x11000603
 
#define QTOPIAXK_Play   0x11000608
 
#define QTOPIAXK_Printer   0x11000605
 
#define QTOPIAXK_Select   0x11000601
 
#define QTOPIAXK_Sleep   0x11000607
 
#define QTOPIAXK_Yes   0x11000602
 
#define QTOPIAXK_Zoom   0x11000609
 
#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_Codeinput   0xFF37
 
#define XK_dead_hook   0xFE61
 
#define XK_dead_horn   0xFE62
 
#define XK_ISO_Left_Tab   0xFE20
 
#define XK_Kanji_Bangou   0xFF37 /* same as codeinput */
 
#define XK_KP_Delete   0xFF9F
 
#define XK_KP_Down   0xFF99
 
#define XK_KP_End   0xFF9C
 
#define XK_KP_Home   0xFF95
 
#define XK_KP_Insert   0xFF9E
 
#define XK_KP_Left   0xFF96
 
#define XK_KP_Next   0xFF9B
 
#define XK_KP_Prior   0xFF9A
 
#define XK_KP_Right   0xFF98
 
#define XK_KP_Up   0xFF97
 

Functions

static QChar keysymToUnicode (unsigned char byte3, unsigned char byte4)
 

Variables

static const unsigned short aplKeysymsToUnicode []
 
static const unsigned short cyrillicKeysymsToUnicode []
 
static const unsigned short greekKeysymsToUnicode []
 
static const unsigned short katakanaKeysymsToUnicode []
 
static const unsigned int KeyTbl []
 
static const unsigned short koreanKeysymsToUnicode []
 
static const unsigned short publishingKeysymsToUnicode []
 
static const unsigned short specialKeysymsToUnicode []
 
static const unsigned short technicalKeysymsToUnicode []
 

Macro Definition Documentation

◆ QTOPIAXK_Call

#define QTOPIAXK_Call   0x1100060E

Definition at line 259 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Cancel

#define QTOPIAXK_Cancel   0x11000604

Definition at line 249 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Context1

#define QTOPIAXK_Context1   0x1100060A

Definition at line 255 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Context2

#define QTOPIAXK_Context2   0x1100060B

Definition at line 256 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Context3

#define QTOPIAXK_Context3   0x1100060C

Definition at line 257 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Context4

#define QTOPIAXK_Context4   0x1100060D

Definition at line 258 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Execute

#define QTOPIAXK_Execute   0x11000606

Definition at line 251 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Flip

#define QTOPIAXK_Flip   0x11000610

Definition at line 261 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Hangup

#define QTOPIAXK_Hangup   0x1100060F

Definition at line 260 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_No

#define QTOPIAXK_No   0x11000603

Definition at line 248 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Play

#define QTOPIAXK_Play   0x11000608

Definition at line 253 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Printer

#define QTOPIAXK_Printer   0x11000605

Definition at line 250 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Select

#define QTOPIAXK_Select   0x11000601

Definition at line 246 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Sleep

#define QTOPIAXK_Sleep   0x11000607

Definition at line 252 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Yes

#define QTOPIAXK_Yes   0x11000602

Definition at line 247 of file qxcbkeyboard.cpp.

◆ QTOPIAXK_Zoom

#define QTOPIAXK_Zoom   0x11000609

Definition at line 254 of file qxcbkeyboard.cpp.

◆ XF86XK_AddFavorite

#define XF86XK_AddFavorite   0x1008FF39

Definition at line 149 of file qxcbkeyboard.cpp.

◆ XF86XK_ApplicationLeft

#define XF86XK_ApplicationLeft   0x1008FF50

Definition at line 172 of file qxcbkeyboard.cpp.

◆ XF86XK_ApplicationRight

#define XF86XK_ApplicationRight   0x1008FF51

Definition at line 173 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioCycleTrack

#define XF86XK_AudioCycleTrack   0x1008FF9B

Definition at line 234 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioForward

#define XF86XK_AudioForward   0x1008FF97

Definition at line 230 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioLowerVolume

#define XF86XK_AudioLowerVolume   0x1008FF11

Definition at line 113 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioMedia

#define XF86XK_AudioMedia   0x1008FF32

Definition at line 143 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioMute

#define XF86XK_AudioMute   0x1008FF12

Definition at line 114 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioNext

#define XF86XK_AudioNext   0x1008FF17

Definition at line 119 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioPause

#define XF86XK_AudioPause   0x1008FF31

Definition at line 142 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioPlay

#define XF86XK_AudioPlay   0x1008FF14

Definition at line 116 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioPrev

#define XF86XK_AudioPrev   0x1008FF16

Definition at line 118 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioRaiseVolume

#define XF86XK_AudioRaiseVolume   0x1008FF13

Definition at line 115 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioRandomPlay

#define XF86XK_AudioRandomPlay   0x1008FF99

Definition at line 232 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioRecord

#define XF86XK_AudioRecord   0x1008FF1C

Definition at line 124 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioRepeat

#define XF86XK_AudioRepeat   0x1008FF98

Definition at line 231 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioRewind

#define XF86XK_AudioRewind   0x1008FF3E

Definition at line 154 of file qxcbkeyboard.cpp.

◆ XF86XK_AudioStop

#define XF86XK_AudioStop   0x1008FF15

Definition at line 117 of file qxcbkeyboard.cpp.

◆ XF86XK_Away

#define XF86XK_Away   0x1008FF8D

Definition at line 220 of file qxcbkeyboard.cpp.

◆ XF86XK_Back

#define XF86XK_Back   0x1008FF26

Definition at line 131 of file qxcbkeyboard.cpp.

◆ XF86XK_BackForward

#define XF86XK_BackForward   0x1008FF3F

Definition at line 155 of file qxcbkeyboard.cpp.

◆ XF86XK_Battery

#define XF86XK_Battery   0x1008FF93

Definition at line 226 of file qxcbkeyboard.cpp.

◆ XF86XK_Bluetooth

#define XF86XK_Bluetooth   0x1008FF94

Definition at line 227 of file qxcbkeyboard.cpp.

◆ XF86XK_Book

#define XF86XK_Book   0x1008FF52

Definition at line 174 of file qxcbkeyboard.cpp.

◆ XF86XK_BrightnessAdjust

#define XF86XK_BrightnessAdjust   0x1008FF3B

Definition at line 151 of file qxcbkeyboard.cpp.

◆ XF86XK_Calculater

#define XF86XK_Calculater   0x1008FF54

Definition at line 176 of file qxcbkeyboard.cpp.

◆ XF86XK_Calculator

#define XF86XK_Calculator   0x1008FF1D

Definition at line 125 of file qxcbkeyboard.cpp.

◆ XF86XK_Calendar

#define XF86XK_Calendar   0x1008FF20

Definition at line 128 of file qxcbkeyboard.cpp.

◆ XF86XK_CD

#define XF86XK_CD   0x1008FF53

Definition at line 175 of file qxcbkeyboard.cpp.

◆ XF86XK_Clear

#define XF86XK_Clear   0x1008FF55

Definition at line 177 of file qxcbkeyboard.cpp.

◆ XF86XK_ClearGrab

#define XF86XK_ClearGrab   0x1008FE21

Definition at line 178 of file qxcbkeyboard.cpp.

◆ XF86XK_Close

#define XF86XK_Close   0x1008FF56

Definition at line 179 of file qxcbkeyboard.cpp.

◆ XF86XK_Community

#define XF86XK_Community   0x1008FF3D

Definition at line 153 of file qxcbkeyboard.cpp.

◆ XF86XK_ContrastAdjust

#define XF86XK_ContrastAdjust   0x1008FF22

Definition at line 130 of file qxcbkeyboard.cpp.

◆ XF86XK_Copy

#define XF86XK_Copy   0x1008FF57

Definition at line 180 of file qxcbkeyboard.cpp.

◆ XF86XK_Cut

#define XF86XK_Cut   0x1008FF58

Definition at line 181 of file qxcbkeyboard.cpp.

◆ XF86XK_Display

#define XF86XK_Display   0x1008FF59

Definition at line 182 of file qxcbkeyboard.cpp.

◆ XF86XK_Documents

#define XF86XK_Documents   0x1008FF5B

Definition at line 184 of file qxcbkeyboard.cpp.

◆ XF86XK_DOS

#define XF86XK_DOS   0x1008FF5A

Definition at line 183 of file qxcbkeyboard.cpp.

◆ XF86XK_Eject

#define XF86XK_Eject   0x1008FF2C

Definition at line 137 of file qxcbkeyboard.cpp.

◆ XF86XK_Excel

#define XF86XK_Excel   0x1008FF5C

Definition at line 185 of file qxcbkeyboard.cpp.

◆ XF86XK_Explorer

#define XF86XK_Explorer   0x1008FF5D

Definition at line 186 of file qxcbkeyboard.cpp.

◆ XF86XK_Favorites

#define XF86XK_Favorites   0x1008FF30

Definition at line 141 of file qxcbkeyboard.cpp.

◆ XF86XK_Finance

#define XF86XK_Finance   0x1008FF3C

Definition at line 152 of file qxcbkeyboard.cpp.

◆ XF86XK_Forward

#define XF86XK_Forward   0x1008FF27

Definition at line 132 of file qxcbkeyboard.cpp.

◆ XF86XK_Game

#define XF86XK_Game   0x1008FF5E

Definition at line 187 of file qxcbkeyboard.cpp.

◆ XF86XK_Go

#define XF86XK_Go   0x1008FF5F

Definition at line 188 of file qxcbkeyboard.cpp.

◆ XF86XK_Hibernate

#define XF86XK_Hibernate   0x1008FFA8

Definition at line 240 of file qxcbkeyboard.cpp.

◆ XF86XK_History

#define XF86XK_History   0x1008FF37

Definition at line 147 of file qxcbkeyboard.cpp.

◆ XF86XK_HomePage

#define XF86XK_HomePage   0x1008FF18

Definition at line 120 of file qxcbkeyboard.cpp.

◆ XF86XK_HotLinks

#define XF86XK_HotLinks   0x1008FF3A

Definition at line 150 of file qxcbkeyboard.cpp.

◆ XF86XK_iTouch

#define XF86XK_iTouch   0x1008FF60

Definition at line 189 of file qxcbkeyboard.cpp.

◆ XF86XK_KbdBrightnessDown

#define XF86XK_KbdBrightnessDown   0x1008FF06

Definition at line 111 of file qxcbkeyboard.cpp.

◆ XF86XK_KbdBrightnessUp

#define XF86XK_KbdBrightnessUp   0x1008FF05

Definition at line 110 of file qxcbkeyboard.cpp.

◆ XF86XK_KbdLightOnOff

#define XF86XK_KbdLightOnOff   0x1008FF04

Definition at line 109 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch0

#define XF86XK_Launch0   0x1008FF40

Definition at line 156 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch1

#define XF86XK_Launch1   0x1008FF41

Definition at line 157 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch2

#define XF86XK_Launch2   0x1008FF42

Definition at line 158 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch3

#define XF86XK_Launch3   0x1008FF43

Definition at line 159 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch4

#define XF86XK_Launch4   0x1008FF44

Definition at line 160 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch5

#define XF86XK_Launch5   0x1008FF45

Definition at line 161 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch6

#define XF86XK_Launch6   0x1008FF46

Definition at line 162 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch7

#define XF86XK_Launch7   0x1008FF47

Definition at line 163 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch8

#define XF86XK_Launch8   0x1008FF48

Definition at line 164 of file qxcbkeyboard.cpp.

◆ XF86XK_Launch9

#define XF86XK_Launch9   0x1008FF49

Definition at line 165 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchA

#define XF86XK_LaunchA   0x1008FF4A

Definition at line 166 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchB

#define XF86XK_LaunchB   0x1008FF4B

Definition at line 167 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchC

#define XF86XK_LaunchC   0x1008FF4C

Definition at line 168 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchD

#define XF86XK_LaunchD   0x1008FF4D

Definition at line 169 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchE

#define XF86XK_LaunchE   0x1008FF4E

Definition at line 170 of file qxcbkeyboard.cpp.

◆ XF86XK_LaunchF

#define XF86XK_LaunchF   0x1008FF4F

Definition at line 171 of file qxcbkeyboard.cpp.

◆ XF86XK_LightBulb

#define XF86XK_LightBulb   0x1008FF35

Definition at line 145 of file qxcbkeyboard.cpp.

◆ XF86XK_LogOff

#define XF86XK_LogOff   0x1008FF61

Definition at line 190 of file qxcbkeyboard.cpp.

◆ XF86XK_Mail

#define XF86XK_Mail   0x1008FF19

Definition at line 121 of file qxcbkeyboard.cpp.

◆ XF86XK_MailForward

#define XF86XK_MailForward   0x1008FF90

Definition at line 223 of file qxcbkeyboard.cpp.

◆ XF86XK_Market

#define XF86XK_Market   0x1008FF62

Definition at line 191 of file qxcbkeyboard.cpp.

◆ XF86XK_Meeting

#define XF86XK_Meeting   0x1008FF63

Definition at line 192 of file qxcbkeyboard.cpp.

◆ XF86XK_Memo

#define XF86XK_Memo   0x1008FF1E

Definition at line 126 of file qxcbkeyboard.cpp.

◆ XF86XK_MenuKB

#define XF86XK_MenuKB   0x1008FF65

Definition at line 193 of file qxcbkeyboard.cpp.

◆ XF86XK_MenuPB

#define XF86XK_MenuPB   0x1008FF66

Definition at line 194 of file qxcbkeyboard.cpp.

◆ XF86XK_Messenger

#define XF86XK_Messenger   0x1008FF8E

Definition at line 221 of file qxcbkeyboard.cpp.

◆ XF86XK_MonBrightnessDown

#define XF86XK_MonBrightnessDown   0x1008FF03

Definition at line 108 of file qxcbkeyboard.cpp.

◆ XF86XK_MonBrightnessUp

#define XF86XK_MonBrightnessUp   0x1008FF02

Definition at line 107 of file qxcbkeyboard.cpp.

◆ XF86XK_Music

#define XF86XK_Music   0x1008FF92

Definition at line 225 of file qxcbkeyboard.cpp.

◆ XF86XK_MyComputer

#define XF86XK_MyComputer   0x1008FF33

Definition at line 144 of file qxcbkeyboard.cpp.

◆ XF86XK_MySites

#define XF86XK_MySites   0x1008FF67

Definition at line 195 of file qxcbkeyboard.cpp.

◆ XF86XK_News

#define XF86XK_News   0x1008FF69

Definition at line 196 of file qxcbkeyboard.cpp.

◆ XF86XK_OfficeHome

#define XF86XK_OfficeHome   0x1008FF6A

Definition at line 197 of file qxcbkeyboard.cpp.

◆ XF86XK_OpenURL

#define XF86XK_OpenURL   0x1008FF38

Definition at line 148 of file qxcbkeyboard.cpp.

◆ XF86XK_Option

#define XF86XK_Option   0x1008FF6C

Definition at line 198 of file qxcbkeyboard.cpp.

◆ XF86XK_Paste

#define XF86XK_Paste   0x1008FF6D

Definition at line 199 of file qxcbkeyboard.cpp.

◆ XF86XK_Phone

#define XF86XK_Phone   0x1008FF6E

Definition at line 200 of file qxcbkeyboard.cpp.

◆ XF86XK_Pictures

#define XF86XK_Pictures   0x1008FF91

Definition at line 224 of file qxcbkeyboard.cpp.

◆ XF86XK_PowerDown

#define XF86XK_PowerDown   0x1008FF21

Definition at line 129 of file qxcbkeyboard.cpp.

◆ XF86XK_PowerOff

#define XF86XK_PowerOff   0x1008FF2A

Definition at line 135 of file qxcbkeyboard.cpp.

◆ XF86XK_Refresh

#define XF86XK_Refresh   0x1008FF29

Definition at line 134 of file qxcbkeyboard.cpp.

◆ XF86XK_Reload

#define XF86XK_Reload   0x1008FF73

Definition at line 202 of file qxcbkeyboard.cpp.

◆ XF86XK_Reply

#define XF86XK_Reply   0x1008FF72

Definition at line 201 of file qxcbkeyboard.cpp.

◆ XF86XK_RotateWindows

#define XF86XK_RotateWindows   0x1008FF74

Definition at line 203 of file qxcbkeyboard.cpp.

◆ XF86XK_RotationKB

#define XF86XK_RotationKB   0x1008FF76

Definition at line 205 of file qxcbkeyboard.cpp.

◆ XF86XK_RotationPB

#define XF86XK_RotationPB   0x1008FF75

Definition at line 204 of file qxcbkeyboard.cpp.

◆ XF86XK_Save

#define XF86XK_Save   0x1008FF77

Definition at line 206 of file qxcbkeyboard.cpp.

◆ XF86XK_ScreenSaver

#define XF86XK_ScreenSaver   0x1008FF2D

Definition at line 138 of file qxcbkeyboard.cpp.

◆ XF86XK_Search

#define XF86XK_Search   0x1008FF1B

Definition at line 123 of file qxcbkeyboard.cpp.

◆ XF86XK_Select

#define XF86XK_Select   0x1008FFA0

Definition at line 236 of file qxcbkeyboard.cpp.

◆ XF86XK_Send

#define XF86XK_Send   0x1008FF7B

Definition at line 207 of file qxcbkeyboard.cpp.

◆ XF86XK_Shop

#define XF86XK_Shop   0x1008FF36

Definition at line 146 of file qxcbkeyboard.cpp.

◆ XF86XK_Sleep

#define XF86XK_Sleep   0x1008FF2F

Definition at line 140 of file qxcbkeyboard.cpp.

◆ XF86XK_Spell

#define XF86XK_Spell   0x1008FF7C

Definition at line 208 of file qxcbkeyboard.cpp.

◆ XF86XK_SplitScreen

#define XF86XK_SplitScreen   0x1008FF7D

Definition at line 209 of file qxcbkeyboard.cpp.

◆ XF86XK_Standby

#define XF86XK_Standby   0x1008FF10

Definition at line 112 of file qxcbkeyboard.cpp.

◆ XF86XK_Start

#define XF86XK_Start   0x1008FF1A

Definition at line 122 of file qxcbkeyboard.cpp.

◆ XF86XK_Stop

#define XF86XK_Stop   0x1008FF28

Definition at line 133 of file qxcbkeyboard.cpp.

◆ XF86XK_Subtitle

#define XF86XK_Subtitle   0x1008FF9A

Definition at line 233 of file qxcbkeyboard.cpp.

◆ XF86XK_Support

#define XF86XK_Support   0x1008FF7E

Definition at line 210 of file qxcbkeyboard.cpp.

◆ XF86XK_Suspend

#define XF86XK_Suspend   0x1008FFA7

Definition at line 239 of file qxcbkeyboard.cpp.

◆ XF86XK_TaskPane

#define XF86XK_TaskPane   0x1008FF7F

Definition at line 211 of file qxcbkeyboard.cpp.

◆ XF86XK_Terminal

#define XF86XK_Terminal   0x1008FF80

Definition at line 212 of file qxcbkeyboard.cpp.

◆ XF86XK_Time

#define XF86XK_Time   0x1008FF9F

Definition at line 235 of file qxcbkeyboard.cpp.

◆ XF86XK_ToDoList

#define XF86XK_ToDoList   0x1008FF1F

Definition at line 127 of file qxcbkeyboard.cpp.

◆ XF86XK_Tools

#define XF86XK_Tools   0x1008FF81

Definition at line 213 of file qxcbkeyboard.cpp.

◆ XF86XK_TopMenu

#define XF86XK_TopMenu   0x1008FFA2

Definition at line 238 of file qxcbkeyboard.cpp.

◆ XF86XK_Travel

#define XF86XK_Travel   0x1008FF82

Definition at line 214 of file qxcbkeyboard.cpp.

◆ XF86XK_UWB

#define XF86XK_UWB   0x1008FF96

Definition at line 229 of file qxcbkeyboard.cpp.

◆ XF86XK_Video

#define XF86XK_Video   0x1008FF87

Definition at line 215 of file qxcbkeyboard.cpp.

◆ XF86XK_View

#define XF86XK_View   0x1008FFA1

Definition at line 237 of file qxcbkeyboard.cpp.

◆ XF86XK_WakeUp

#define XF86XK_WakeUp   0x1008FF2B

Definition at line 136 of file qxcbkeyboard.cpp.

◆ XF86XK_WebCam

#define XF86XK_WebCam   0x1008FF8F

Definition at line 222 of file qxcbkeyboard.cpp.

◆ XF86XK_WLAN

#define XF86XK_WLAN   0x1008FF95

Definition at line 228 of file qxcbkeyboard.cpp.

◆ XF86XK_Word

#define XF86XK_Word   0x1008FF89

Definition at line 216 of file qxcbkeyboard.cpp.

◆ XF86XK_WWW

#define XF86XK_WWW   0x1008FF2E

Definition at line 139 of file qxcbkeyboard.cpp.

◆ XF86XK_Xfer

#define XF86XK_Xfer   0x1008FF8A

Definition at line 217 of file qxcbkeyboard.cpp.

◆ XF86XK_ZoomIn

#define XF86XK_ZoomIn   0x1008FF8B

Definition at line 218 of file qxcbkeyboard.cpp.

◆ XF86XK_ZoomOut

#define XF86XK_ZoomOut   0x1008FF8C

Definition at line 219 of file qxcbkeyboard.cpp.

◆ XK_Codeinput

#define XK_Codeinput   0xFF37

Definition at line 66 of file qxcbkeyboard.cpp.

◆ XK_dead_hook

#define XK_dead_hook   0xFE61

Definition at line 58 of file qxcbkeyboard.cpp.

◆ XK_dead_horn

#define XK_dead_horn   0xFE62

Definition at line 62 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::translateKeySym().

◆ XK_ISO_Left_Tab

#define XK_ISO_Left_Tab   0xFE20

Definition at line 54 of file qxcbkeyboard.cpp.

◆ XK_Kanji_Bangou

#define XK_Kanji_Bangou   0xFF37 /* same as codeinput */

Definition at line 70 of file qxcbkeyboard.cpp.

◆ XK_KP_Delete

#define XK_KP_Delete   0xFF9F

Definition at line 102 of file qxcbkeyboard.cpp.

◆ XK_KP_Down

#define XK_KP_Down   0xFF99

Definition at line 87 of file qxcbkeyboard.cpp.

◆ XK_KP_End

#define XK_KP_End   0xFF9C

Definition at line 96 of file qxcbkeyboard.cpp.

◆ XK_KP_Home

#define XK_KP_Home   0xFF95

Definition at line 75 of file qxcbkeyboard.cpp.

◆ XK_KP_Insert

#define XK_KP_Insert   0xFF9E

Definition at line 99 of file qxcbkeyboard.cpp.

◆ XK_KP_Left

#define XK_KP_Left   0xFF96

Definition at line 78 of file qxcbkeyboard.cpp.

◆ XK_KP_Next

#define XK_KP_Next   0xFF9B

Definition at line 93 of file qxcbkeyboard.cpp.

◆ XK_KP_Prior

#define XK_KP_Prior   0xFF9A

Definition at line 90 of file qxcbkeyboard.cpp.

◆ XK_KP_Right

#define XK_KP_Right   0xFF98

Definition at line 84 of file qxcbkeyboard.cpp.

◆ XK_KP_Up

#define XK_KP_Up   0xFF97

Definition at line 81 of file qxcbkeyboard.cpp.

Function Documentation

◆ keysymToUnicode()

static QChar keysymToUnicode ( unsigned char  byte3,
unsigned char  byte4 
)
static

Definition at line 695 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::translateKeySym(), and translateKeySym().

696 {
697  switch (byte3) {
698  case 0x04:
699  // katakana
700  if (byte4 > 0xa0 && byte4 < 0xe0)
701  return QChar(katakanaKeysymsToUnicode[byte4 - 0xa0]);
702  else if (byte4 == 0x7e)
703  return QChar(0x203e); // Overline
704  break;
705  case 0x06:
706  // russian, use lookup table
707  if (byte4 > 0xa0)
708  return QChar(cyrillicKeysymsToUnicode[byte4 - 0xa0]);
709  break;
710  case 0x07:
711  // greek
712  if (byte4 > 0xa0)
713  return QChar(greekKeysymsToUnicode[byte4 - 0xa0]);
714  break;
715  case 0x08:
716  // technical
717  if (byte4 > 0xa0)
718  return QChar(technicalKeysymsToUnicode[byte4 - 0xa0]);
719  break;
720  case 0x09:
721  // special
722  if (byte4 >= 0xe0)
723  return QChar(specialKeysymsToUnicode[byte4 - 0xe0]);
724  break;
725  case 0x0a:
726  // publishing
727  if (byte4 > 0xa0)
728  return QChar(publishingKeysymsToUnicode[byte4 - 0xa0]);
729  break;
730  case 0x0b:
731  // APL
732  if (byte4 > 0xa0)
733  return QChar(aplKeysymsToUnicode[byte4 - 0xa0]);
734  break;
735  case 0x0e:
736  // Korean
737  if (byte4 > 0xa0)
738  return QChar(koreanKeysymsToUnicode[byte4 - 0xa0]);
739  break;
740  default:
741  break;
742  }
743  return QChar(0x0);
744 }
static const unsigned short katakanaKeysymsToUnicode[]
static const unsigned short koreanKeysymsToUnicode[]
The QChar class provides a 16-bit Unicode character.
Definition: qchar.h:72
static const unsigned short cyrillicKeysymsToUnicode[]
static const unsigned short aplKeysymsToUnicode[]
static const unsigned short publishingKeysymsToUnicode[]
static const unsigned short technicalKeysymsToUnicode[]
static const unsigned short greekKeysymsToUnicode[]
static const unsigned short specialKeysymsToUnicode[]

Variable Documentation

◆ aplKeysymsToUnicode

const unsigned short aplKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x0000, 0x0000, 0x003c, 0x0000, 0x0000, 0x003e, 0x0000,
0x2228, 0x2227, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x00af, 0x0000, 0x22a5, 0x2229, 0x230a, 0x0000, 0x005f, 0x0000,
0x0000, 0x0000, 0x2218, 0x0000, 0x2395, 0x0000, 0x22a4, 0x25cb,
0x0000, 0x0000, 0x0000, 0x2308, 0x0000, 0x0000, 0x222a, 0x0000,
0x2283, 0x0000, 0x2282, 0x0000, 0x22a2, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x22a3, 0x0000, 0x0000, 0x0000
}

Definition at line 665 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ cyrillicKeysymsToUnicode

const unsigned short cyrillicKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x0452, 0x0453, 0x0451, 0x0454, 0x0455, 0x0456, 0x0457,
0x0458, 0x0459, 0x045a, 0x045b, 0x045c, 0x0000, 0x045e, 0x045f,
0x2116, 0x0402, 0x0403, 0x0401, 0x0404, 0x0405, 0x0406, 0x0407,
0x0408, 0x0409, 0x040a, 0x040b, 0x040c, 0x0000, 0x040e, 0x040f,
0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433,
0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e,
0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432,
0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a,
0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413,
0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e,
0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412,
0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a
}

Definition at line 598 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ greekKeysymsToUnicode

const unsigned short greekKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x0386, 0x0388, 0x0389, 0x038a, 0x03aa, 0x0000, 0x038c,
0x038e, 0x03ab, 0x0000, 0x038f, 0x0000, 0x0000, 0x0385, 0x2015,
0x0000, 0x03ac, 0x03ad, 0x03ae, 0x03af, 0x03ca, 0x0390, 0x03cc,
0x03cd, 0x03cb, 0x03b0, 0x03ce, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397,
0x0398, 0x0399, 0x039a, 0x039b, 0x039c, 0x039d, 0x039e, 0x039f,
0x03a0, 0x03a1, 0x03a3, 0x0000, 0x03a4, 0x03a5, 0x03a6, 0x03a7,
0x03a8, 0x03a9, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7,
0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf,
0x03c0, 0x03c1, 0x03c3, 0x03c2, 0x03c4, 0x03c5, 0x03c6, 0x03c7,
0x03c8, 0x03c9, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
}

Definition at line 613 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ katakanaKeysymsToUnicode

const unsigned short katakanaKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x3002, 0x300C, 0x300D, 0x3001, 0x30FB, 0x30F2, 0x30A1,
0x30A3, 0x30A5, 0x30A7, 0x30A9, 0x30E3, 0x30E5, 0x30E7, 0x30C3,
0x30FC, 0x30A2, 0x30A4, 0x30A6, 0x30A8, 0x30AA, 0x30AB, 0x30AD,
0x30AF, 0x30B1, 0x30B3, 0x30B5, 0x30B7, 0x30B9, 0x30BB, 0x30BD,
0x30BF, 0x30C1, 0x30C4, 0x30C6, 0x30C8, 0x30CA, 0x30CB, 0x30CC,
0x30CD, 0x30CE, 0x30CF, 0x30D2, 0x30D5, 0x30D8, 0x30DB, 0x30DE,
0x30DF, 0x30E0, 0x30E1, 0x30E2, 0x30E4, 0x30E6, 0x30E8, 0x30E9,
0x30EA, 0x30EB, 0x30EC, 0x30ED, 0x30EF, 0x30F3, 0x309B, 0x309C
}

Definition at line 587 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ KeyTbl

const unsigned int KeyTbl[]
static

Definition at line 264 of file qxcbkeyboard.cpp.

Referenced by QXcbKeyboard::translateKeySym().

◆ koreanKeysymsToUnicode

const unsigned short koreanKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x3131, 0x3132, 0x3133, 0x3134, 0x3135, 0x3136, 0x3137,
0x3138, 0x3139, 0x313a, 0x313b, 0x313c, 0x313d, 0x313e, 0x313f,
0x3140, 0x3141, 0x3142, 0x3143, 0x3144, 0x3145, 0x3146, 0x3147,
0x3148, 0x3149, 0x314a, 0x314b, 0x314c, 0x314d, 0x314e, 0x314f,
0x3150, 0x3151, 0x3152, 0x3153, 0x3154, 0x3155, 0x3156, 0x3157,
0x3158, 0x3159, 0x315a, 0x315b, 0x315c, 0x315d, 0x315e, 0x315f,
0x3160, 0x3161, 0x3162, 0x3163, 0x11a8, 0x11a9, 0x11aa, 0x11ab,
0x11ac, 0x11ad, 0x11ae, 0x11af, 0x11b0, 0x11b1, 0x11b2, 0x11b3,
0x11b4, 0x11b5, 0x11b6, 0x11b7, 0x11b8, 0x11b9, 0x11ba, 0x11bb,
0x11bc, 0x11bd, 0x11be, 0x11bf, 0x11c0, 0x11c1, 0x11c2, 0x316d,
0x3171, 0x3178, 0x317f, 0x3181, 0x3184, 0x3186, 0x318d, 0x318e,
0x11eb, 0x11f0, 0x11f9, 0x0000, 0x0000, 0x0000, 0x0000, 0x20a9
}

Definition at line 680 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ publishingKeysymsToUnicode

const unsigned short publishingKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x2003, 0x2002, 0x2004, 0x2005, 0x2007, 0x2008, 0x2009,
0x200a, 0x2014, 0x2013, 0x0000, 0x0000, 0x0000, 0x2026, 0x2025,
0x2153, 0x2154, 0x2155, 0x2156, 0x2157, 0x2158, 0x2159, 0x215a,
0x2105, 0x0000, 0x0000, 0x2012, 0x2329, 0x0000, 0x232a, 0x0000,
0x0000, 0x0000, 0x0000, 0x215b, 0x215c, 0x215d, 0x215e, 0x0000,
0x0000, 0x2122, 0x2613, 0x0000, 0x25c1, 0x25b7, 0x25cb, 0x25af,
0x2018, 0x2019, 0x201c, 0x201d, 0x211e, 0x0000, 0x2032, 0x2033,
0x0000, 0x271d, 0x0000, 0x25ac, 0x25c0, 0x25b6, 0x25cf, 0x25ae,
0x25e6, 0x25ab, 0x25ad, 0x25b3, 0x25bd, 0x2606, 0x2022, 0x25aa,
0x25b2, 0x25bc, 0x261c, 0x261e, 0x2663, 0x2666, 0x2665, 0x0000,
0x2720, 0x2020, 0x2021, 0x2713, 0x2717, 0x266f, 0x266d, 0x2642,
0x2640, 0x260e, 0x2315, 0x2117, 0x2038, 0x201a, 0x201e, 0x0000
}

Definition at line 650 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ specialKeysymsToUnicode

const unsigned short specialKeysymsToUnicode[]
static
Initial value:
= {
0x25C6, 0x2592, 0x2409, 0x240C, 0x240D, 0x240A, 0x0000, 0x0000,
0x2424, 0x240B, 0x2518, 0x2510, 0x250C, 0x2514, 0x253C, 0x23BA,
0x23BB, 0x2500, 0x23BC, 0x23BD, 0x251C, 0x2524, 0x2534, 0x252C,
0x2502, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
}

Definition at line 643 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().

◆ technicalKeysymsToUnicode

const unsigned short technicalKeysymsToUnicode[]
static
Initial value:
= {
0x0000, 0x23B7, 0x250C, 0x2500, 0x2320, 0x2321, 0x2502, 0x23A1,
0x23A3, 0x23A4, 0x23A6, 0x239B, 0x239D, 0x239E, 0x23A0, 0x23A8,
0x23AC, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x2264, 0x2260, 0x2265, 0x222B,
0x2234, 0x221D, 0x221E, 0x0000, 0x0000, 0x2207, 0x0000, 0x0000,
0x223C, 0x2243, 0x0000, 0x0000, 0x0000, 0x21D4, 0x21D2, 0x2261,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x221A, 0x0000,
0x0000, 0x0000, 0x2282, 0x2283, 0x2229, 0x222A, 0x2227, 0x2228,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2202,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0192, 0x0000,
0x0000, 0x0000, 0x0000, 0x2190, 0x2191, 0x2192, 0x2193, 0x0000
}

Definition at line 628 of file qxcbkeyboard.cpp.

Referenced by keysymToUnicode(), and translateKeySym().