summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* layout: rethonk layouts from the ground up (#12890)Vaxry2026-02-211-6/+0
| | | | | Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
* input: fix kinetic scroll (#13233)bea4dev2026-02-101-0/+2
|
* tablet: added option to hide cursor (#12525)fuyu1472025-12-191-0/+3
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-6/+6
|
* cursor: refactor override handling (#12166)Vaxry2025-10-311-9/+2
| | | much cleaner and more reliable. Should fix https://github.com/hyprwm/Hyprland/issues/12088
* input: add per-device scroll-factor (#11241)Vaxry2025-09-021-1/+2
|
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-9/+7
| | | Adds configurable trackpad gestures
* touch: detach from pointer inputvaxerski2025-08-201-2/+2
| | | | this detaches touch from pointer input. Touch should not affect where your cursor is, and it doesn't make much sense for it to move when we use touch
* 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-2/+4
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-43/+42
|
* time: move to stl's clocks and move timerVaxry2025-04-161-1/+1
|
* binds: add drag_threshold for click/drag isolation (#9839)alaricljs2025-04-121-2/+3
| | | | | --------- Co-authored-by: Leeman <lstrout@enlj.com>
* input/layers: Fix exclusive LS focus / refocus after unmap (#9984)Vaxry2025-04-071-1/+1
|
* input: add follow_mouse_threshold (#9392)andrewandreii2025-02-171-0/+1
|
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-251-4/+6
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-1/+1
| | | | No point in most of these.
* input: add warp_back_after_non_mouse_inputVaxry2024-12-151-1/+6
| | | | | | adds cursor:warp_back_after_non_mouse_input fixes #8675
* hyprctl: add an inhibitingIdle field to windowsVaxry2024-12-131-0/+1
| | | | fixes #4322
* core: Add clang-tidy (#8664)Vaxry2024-12-071-7/+7
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-1/+1
| | | | | * move monitors to sp * XD
* input: Fix VRR for constrained cursors (#6877)UjinT342024-10-121-0/+1
|
* input: move idle notify to input handlers (#7659)Maximilian Seidler2024-09-061-1/+1
| | | | | | | | | * Revert "input: don't emit idle activity when calling simulateMouseMovement (#7649)" This reverts commit ea10592ad3c861ff2ce73ad7785bcb5a45a9e400. * input: move idle notify calls to input event listeners * input: don't post idle activity when keyboard is not enabled
* input: don't emit idle activity when calling simulateMouseMovement (#7649)Maximilian Seidler2024-09-041-1/+1
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-8/+15
| | | | | | | | | | | | | | 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>
* input: Emulate discrete scrolling from v120 events (#6881)Agent00Ming2024-07-181-0/+8
| | | | | | | * seat: avoid sending axis_stop() when source is wheel * fix rounding for absolute discrete values greater than 1 Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
* layershell: Fix keyboard focus grabs (#4968) (#6394)outfoxxed2024-06-111-0/+1
|
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-1/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-12/+12
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl-data-device: move to hyprland implVaxry2024-05-141-3/+0
|
* seatmgr: Add a grab classVaxry2024-05-141-2/+4
|
* wl_seat: move to hyprland implVaxry2024-05-141-2/+2
|
* input: fix modifier and leds (#6062)Sungyoon Cho2024-05-141-0/+1
|
* Tablet: move to new implVaxry2024-05-091-18/+26
| | | | Ring and strip are not implemented. Will I implement this? God fucking knows. Nobody seems to have that anyways.
* cursor: move to a hyprland implVaxry2024-05-091-14/+14
| | | | | | | 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-4/+4
| | | | | | | | | | | 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.
* idle-inhibit: enable idle inhibitor if no hl surface is associated (#5882)Sungyoon Cho2024-05-051-1/+1
|
* idle-inhibit: fix and cleanup visibility logicVaxry2024-05-041-2/+2
| | | | fixes #5878
* input: Introduce basic hyprland HID classesVaxry2024-05-031-24/+23
| | | | | | 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.
* virtual-pointer: move to new implVaxry2024-05-031-1/+4
|
* virtual-keyboard: move to new implVaxry2024-05-031-1/+3
|
* layerSurface: refactor/move to a memory-safe implVaxry2024-04-301-8/+8
| | | | | Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-9/+9
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* pointer-constraints: move to new implVaxry2024-04-271-15/+16
|
* pointer-gestures: move to new implVaxry2024-04-241-3/+0
|
* idle-inhibit: move to new implVaxry2024-04-211-4/+12
|
* cursor-shape: move to new implVaxry2024-04-211-1/+7
|
* IME: fix IME popup mouse inputs (again) (#5417)Junxuan Liao2024-04-071-0/+2
| | | | | | | | `lastBoxLocal`'s size should be the actual popup's size instead of the cursor rectangle's size. Also, the rectangle position is now relative to the popup. (Actually fixes #5255 imho.) One thing #3922 missed was handling focus held by buttons. Let's hope I get it right this time.
* keybinds: Fix exit trigger by moving it to monitor.frame (#5240)dmayle2024-03-251-2/+0
|