summaryrefslogtreecommitdiff
path: root/src/devices/VirtualKeyboard.cpp
Commit message (Collapse)AuthorAgeFilesLines
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-201-2/+2
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* vkeyboard: update cached mods before IME; add share_states = 2 config option ↵JS Deck2025-09-201-2/+5
| | | | (#11720)
* virtualkeyboard: Add options to skip releasing pressed keys on close and to ↵JS Deck2025-08-041-2/+8
| | | | skip sharing key states (#11214)
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-9/+7
|
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-5/+5
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* devices: refactor class member vars (#10206)davc0n2025-04-291-22/+22
|
* keyboard: properly update keymap state and fd on keymap changesVaxry2024-07-251-2/+7
| | | | | | needed for virtual keyboards that impose their own layouts. fixes #6991
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-44/+23
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-2/+2
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* keyboard: prevent UAF in destroy eventsVaxry2024-05-041-1/+1
|
* hid: don't access expired resources in virtual devicesVaxry2024-05-041-0/+4
| | | | fixes #5868
* input: Introduce basic hyprland HID classesVaxry2024-05-031-0/+71
Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore.