Changeset View
Changeset View
Standalone View
Standalone View
input.h
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 74 | public: | |||
---|---|---|---|---|---|
213 | PointerInputRedirection *pointer() const { | 213 | PointerInputRedirection *pointer() const { | ||
214 | return m_pointer; | 214 | return m_pointer; | ||
215 | } | 215 | } | ||
216 | TouchInputRedirection *touch() const { | 216 | TouchInputRedirection *touch() const { | ||
217 | return m_touch; | 217 | return m_touch; | ||
218 | } | 218 | } | ||
219 | 219 | | |||
220 | bool hasAlphaNumericKeyboard(); | 220 | bool hasAlphaNumericKeyboard(); | ||
221 | bool hasTabletModeSwitch(); | ||||
221 | 222 | | |||
222 | void startInteractiveWindowSelection(std::function<void(KWin::Toplevel*)> callback, const QByteArray &cursorName); | 223 | void startInteractiveWindowSelection(std::function<void(KWin::Toplevel*)> callback, const QByteArray &cursorName); | ||
223 | void startInteractivePositionSelection(std::function<void(const QPoint &)> callback); | 224 | void startInteractivePositionSelection(std::function<void(const QPoint &)> callback); | ||
224 | bool isSelectingWindow() const; | 225 | bool isSelectingWindow() const; | ||
225 | 226 | | |||
226 | bool isBreakingPointerConstraints() const; | 227 | bool isBreakingPointerConstraints() const; | ||
227 | 228 | | |||
228 | Q_SIGNALS: | 229 | Q_SIGNALS: | ||
Show All 31 Lines | |||||
260 | * @brief Emitted when the state of a key changed. | 261 | * @brief Emitted when the state of a key changed. | ||
261 | * | 262 | * | ||
262 | * @param keyCode The keycode of the key which changed | 263 | * @param keyCode The keycode of the key which changed | ||
263 | * @param oldMods The new key state | 264 | * @param oldMods The new key state | ||
264 | */ | 265 | */ | ||
265 | void keyStateChanged(quint32 keyCode, InputRedirection::KeyboardKeyState state); | 266 | void keyStateChanged(quint32 keyCode, InputRedirection::KeyboardKeyState state); | ||
266 | 267 | | |||
267 | void hasAlphaNumericKeyboardChanged(bool set); | 268 | void hasAlphaNumericKeyboardChanged(bool set); | ||
269 | void hasTabletModeSwitchChanged(bool set); | ||||
268 | 270 | | |||
269 | private: | 271 | private: | ||
270 | void setupLibInput(); | 272 | void setupLibInput(); | ||
271 | void setupTouchpadShortcuts(); | 273 | void setupTouchpadShortcuts(); | ||
272 | void setupLibInputWithScreens(); | 274 | void setupLibInputWithScreens(); | ||
273 | void setupWorkspace(); | 275 | void setupWorkspace(); | ||
274 | void reconfigure(); | 276 | void reconfigure(); | ||
275 | void setupInputFilters(); | 277 | void setupInputFilters(); | ||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |