summaryrefslogtreecommitdiff
path: root/src/devices/VirtualPointer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-20/+18
|
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-18/+18
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* helpers: refactor class member vars (#10218)davc0n2025-04-301-1/+1
|
* devices: refactor class member vars (#10206)davc0n2025-04-291-26/+26
|
* input: add flip_x and flip_y for touchpad (#9481)nyx2025-03-031-1/+5
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-1/+1
| | | | helps the compiler optimize
* pointer: map devices across all outputs by default (#8352)JManch2024-11-111-1/+1
|
* virtualptr: map to entire screen if no output is providedVaxry2024-07-291-1/+1
| | | | fixes #6749
* virtualptr: allow binding to outputVaxry2024-07-291-0/+2
|
* virtual-pointer: fixup virtual pointer warp eventsVaxry2024-07-221-1/+6
| | | | fixes #6976
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-154/+22
| | | | | | | | | | | | | | 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>
* cursor: move to a hyprland implVaxry2024-05-091-0/+5
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-1/+1
| | | | | | | | | | | 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.
* hid: don't access expired resources in virtual devicesVaxry2024-05-041-0/+2
| | | | fixes #5868
* input: Introduce basic hyprland HID classesVaxry2024-05-031-0/+170
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.