Debian Codegraph @

kysdk-waylandhelper/src/kysdk-ukuiwindowhelper/ukuivirtualkeyboard.h

raw symbols SCIP
1 #pragma once
2
3 #include <cstdint>
4 #include <functional>
5
6 class UkuiVirtualKeyboard;
7 class UkuiVirtualKeyboardPrivate;
8
9 class UkuiVirtualKeyboard
10 {
11 public:
12 /**
13 * @brief Constructor for UkuiVirtualKeyboard
14 * @param keymap The keymap to use for the virtual keyboard
15 */
16 UkuiVirtualKeyboard(const char *keymap);
17
18 ~UkuiVirtualKeyboard();
19
20 /**
21 * @brief Press a key on the virtual keyboard
22 * @param key The key to press
23 */
24 void keyPress(uint32_t key);
25
26 /**
27 * @brief Release a key on the virtual keyboard
28 * @param key The key to release
29 */
30 void keyRelease(uint32_t key);
31
32 /**
33 * @brief Set the modifiers on the virtual keyboard
34 * @param mods_depressed The modifiers that are currently depressed
35 * @param mods_latched The modifiers that are latched
36 * @param mods_locked The modifiers that are locked
37 */
38 void modifiers(uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked);
39
40 private:
41 UkuiVirtualKeyboardPrivate *m_ukuiVirtualKeyboardPrivate = nullptr;
42 };