4#ifndef QWASMKEYTRANSLATOR_H
5#define QWASMKEYTRANSLATOR_H
7#include <QtCore/qnamespace.h>
8#include <QtCore/qtypes.h>
void applyDeadKeyTranslations(KeyEvent *event)
QFlags< Qt::KeyboardModifier > getKeyboardModifiers(const emscripten::val &event)
constexpr std::string_view WebDeadKeyValue
bool isDeadKeyEvent(const char *key)
Qt::Key webKeyToQtKey(const std::string &code, const std::string &key, bool isDeadKey, QFlags< Qt::KeyboardModifier > modifiers)
Qt::Key getKeyFromCode(const std::string &code)
std::optional< Qt::Key > mapWebKeyTextToQtKey(const char *toFind)
DragEvent(EventType type, emscripten::val webEvent, QWindow *targetQWindow)
bool isTargetedForQtElement() const
Event(EventType type, emscripten::val webEvent)
KeyEvent(EventType type, emscripten::val webEvent, QWasmDeadKeySupport *deadKeySupport)
MouseEvent(EventType type, emscripten::val webEvent)
PointerEvent(EventType type, emscripten::val webEvent)
WheelEvent(EventType type, emscripten::val webEvent)
bool webkitDirectionInvertedFromDevice