aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/devices
AgeCommit message (Collapse)Author
10 daysinput: add warp_back_after_non_mouse_inputVaxry
adds cursor:warp_back_after_non_mouse_input fixes #8675
2024-12-07core: Add clang-tidy (#8664)Vaxry
This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-11-11pointer: map devices across all outputs by default (#8352)JManch
2024-11-09input: cleanup device naming logicVaxry
ref #8301
2024-10-24internal: Remove some unused lambda captures (#8218)Honkazel
2024-10-08keyboard: update group state on change for the sym resolve stateVaxry
fixes #8038
2024-10-08keybinds: fixup xkb_states for resolve_by_symvaxerski
fixes #7750
2024-09-24internal: nuke wlsignal and relatedVaxry
old semi-wrappers for wl_signal, they are no longer used
2024-08-23input: Fix modifier keys getting stuck if depressed during config reload (#7486)MahouShoujoMivutilde
The problem: If `input:numlock_by_default = true`, depressed mods will get stuck on config reload; this takes effect after some other mod is pressed. This restores 0.41.2 behavior, with the exception that selected keyboard layout is preserved. https://github.com/hyprwm/Hyprland/blob/918d8340afd652b011b937d29d5eea0be08467f5/src/managers/input/InputManager.cpp#L993-L1002
2024-07-29virtualptr: map to entire screen if no output is providedVaxry
fixes #6749
2024-07-29virtualptr: allow binding to outputVaxry
2024-07-28input: fix keyboard leds with multiple keyboards (#7079)Sungyoon Cho
2024-07-27input: Fix `hyprctl switchxkblayout` not actually changing layout (#7070)MahouShoujoMivutilde
Emits `SModifiersEvent` in `updateModifiers()` Before the patch: Changing layout with `hyprctl switchxkblayout ...` results in: * active keymap in `hyprctl devices` is changed * no event * no layout is actually changed UNTIL you press one of the mod keys (Alt | Shift | Super | Ctrl) After: * active keymap in `hyprctl devices` changed * activelayout IPC event emitted * layout is changed This fixes https://github.com/hyprwm/Hyprland/issues/7044
2024-07-25keyboard: update xkb state after key eventVaxry
fixes #6946
2024-07-25keyboard: properly update keymap state and fd on keymap changesVaxry
needed for virtual keyboards that impose their own layouts. fixes #6991
2024-07-22virtual-pointer: fixup virtual pointer warp eventsVaxry
fixes #6976
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-06-19core: Move to hyprutils for MathVaxry
Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
2024-06-11core: move to hyprutils for utils (#6385)Vaxry
* core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-06-08wayland/core: move to new impl (#6268)Vaxry
* wayland/core/dmabuf: move to new impl it's the final countdown
2024-05-14input: fix modifier and leds (#6062)Sungyoon Cho
2024-05-09Tablet: move to new implVaxry
Ring and strip are not implemented. Will I implement this? God fucking knows. Nobody seems to have that anyways.
2024-05-09cursor: move to a hyprland implVaxry
This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
2024-05-07xkb: check value correctly with xkb_state_layout_index_is_active() (#5925)Ikalco
2024-05-05internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry
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.
2024-05-04keyboard: prevent UAF in destroy eventsVaxry
2024-05-04keyboard: check for wlr() validity before accessingVaxry
fixes #5873
2024-05-04hid: don't access expired resources in virtual devicesVaxry
fixes #5868
2024-05-03input: Introduce basic hyprland HID classesVaxry
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.