summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/eglfsfunctions
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-17 23:31:41 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-20 17:47:42 +0200
commit5b1befa31a9851397d56363f058568094d11f5f3 (patch)
treef1be4f68da64a59d6502e9e45488436417c68e5d /src/platformheaders/eglfsfunctions
parent9166abcd997f57625c17db8e8734988ff303217e (diff)
Add QEvdevKeyMapper platform interface
Task-number: QTBUG-84220 Change-Id: I4f3a54415c5509b4bde486b54c56b0e05976bac6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/platformheaders/eglfsfunctions')
-rw-r--r--src/platformheaders/eglfsfunctions/qeglfsfunctions.qdoc43
-rw-r--r--src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h19
2 files changed, 0 insertions, 62 deletions
diff --git a/src/platformheaders/eglfsfunctions/qeglfsfunctions.qdoc b/src/platformheaders/eglfsfunctions/qeglfsfunctions.qdoc
index a5f37f8377..573d820233 100644
--- a/src/platformheaders/eglfsfunctions/qeglfsfunctions.qdoc
+++ b/src/platformheaders/eglfsfunctions/qeglfsfunctions.qdoc
@@ -39,49 +39,6 @@
*/
/*!
- \typedef QEglFSFunctions::LoadKeymapType
-
- Function type for loadKeymap.
-*/
-
-/*!
- \fn QByteArray QEglFSFunctions::loadKeymapTypeIdentifier()
-
- \return the identifier that can be passed to
- QGuiApplication::platformFunction() to query the entry point for the
- loadKeymap function implementation.
-*/
-
-/*!
- \fn void QEglFSFunctions::loadKeymap(const QString &filename)
-
- Loads and switches to the keymap from \a filename. When \a filename is
- empty, the default keymap, which is either the built-on one or the keymap
- given in the plugin specification, is restored.
-
- \note This is functional only when the evdev keyboard support code is
- compiled in to the platform plugin. When using external generic plugins via
- the \c{-plugin} argument, or when the environment variable
- \c{QT_QPA_EGLFS_DISABLE_INPUT} is set or when building Qt without evdev
- support, this function will have no effect.
-*/
-
-/*!
- \fn void QEglFSFunctions::switchLang()
-
- Switches between English and other language when the keymap is loaded.
- Usually the keymap contains two languages: English and national. When
- you load the keymap, English is selected by default. This function allows
- to switch between these languages.
-
- \note This is functional only when the evdev keyboard support code is
- compiled in to the platform plugin. When using external generic plugins via
- the \c{-plugin} argument, or when the environment variable
- \c{QT_QPA_EGLFS_DISABLE_INPUT} is set or when building Qt without evdev
- support, this function will have no effect.
-*/
-
-/*!
\fn int QEglFSFunctions::vsp2AddLayer(const QScreen *screen, int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine)
\internal
\preliminary
diff --git a/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h b/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h
index 1eb177f694..2b0ff872ac 100644
--- a/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h
+++ b/src/platformheaders/eglfsfunctions/qeglfsfunctions_p.h
@@ -59,25 +59,6 @@ QT_BEGIN_NAMESPACE
class QEglFSFunctions
{
public:
- typedef void (*LoadKeymapType)(const QString &filename);
- typedef void (*SwitchLangType)();
- static QByteArray loadKeymapTypeIdentifier() { return QByteArrayLiteral("EglFSLoadKeymap"); }
- static QByteArray switchLangTypeIdentifier() { return QByteArrayLiteral("EglFSSwitchLang"); }
-
- static void loadKeymap(const QString &filename)
- {
- LoadKeymapType func = reinterpret_cast<LoadKeymapType>(QGuiApplication::platformFunction(loadKeymapTypeIdentifier()));
- if (func)
- func(filename);
- }
-
- static void switchLang()
- {
- SwitchLangType func = reinterpret_cast<SwitchLangType>(QGuiApplication::platformFunction(switchLangTypeIdentifier()));
- if (func)
- func();
- }
-
typedef int (*Vsp2AddLayerType)(const QScreen *screen, int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine);
static QByteArray vsp2AddLayerTypeIdentifier() { return QByteArrayLiteral("EglFSVsp2AddLayer"); }