Qt 4.8
Functions
qkbdqnx_qws.cpp File Reference
#include "qkbdqnx_qws.h"
#include "qplatformdefs.h"
#include "qsocketnotifier.h"
#include "private/qcore_unix_p.h"
#include "QtCore/qdebug.h"
#include <sys/dcmd_input.h>
#include <sys/keycodes.h>
#include <errno.h>

Go to the source code of this file.

Functions

static bool key_sym_displayable (unsigned long sym)
 

Function Documentation

◆ key_sym_displayable()

static bool key_sym_displayable ( unsigned long  sym)
inlinestatic

Definition at line 125 of file qkbdqnx_qws.cpp.

Referenced by QWSQnxKeyboardHandler::socketActivated().

126 {
127  if (sym >= 0xF000)
128  return sym >= 0xF100 && (sizeof(wchar_t) > 2 || sym < 0x10000);
129  return (sym & ~0x9F) != 0; // exclude 0...0x1F and 0x80...0x9F
130 }