summaryrefslogtreecommitdiff
path: root/src/managers/input/Tablets.cpp
Commit message (Collapse)AuthorAgeFilesLines
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-2/+20
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* tablet: added option to hide cursor (#12525)fuyu1472025-12-191-0/+2
|
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-3/+3
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-8/+10
|
* tablet: do not lock focus when dnd-ing (#11390)Maxime Nordier2025-08-101-1/+2
|
* dnd: drop on tablet pen tip up (#11270)Maxime Nordier2025-07-301-0/+3
|
* input: lock focus for tablet when down (#11219)Shelby Tucker2025-07-271-1/+2
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-41/+25
|
* input: unhide cursor on tablet events after touch events (#10484)darkwater2025-05-211-0/+1
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-2/+2
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-8/+8
|
* devices: refactor class member vars (#10206)davc0n2025-04-291-39/+39
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-5/+5
|
* tablet: naive window refocusing (#10110)Andrei V2025-04-211-0/+7
| | | Signed-off-by: Andrei V <andrei@ptaxa.net>
* tablet: take `active_area_size` into account when sending tip event (#9325)clamydo2025-02-091-11/+23
| | | | | | | | | | | | | | | | | * fixes #9322, take `active_area_size` into account when sending tip event * check if `relative_input` is set As suggested by @y47s5s68tq870r7tc1xpp755pabopg * refactoring active area in own function to keep it DRY * coding style * making transformation static --------- Co-authored-by: clamydo <clamydo@users.noreply.github.com>
* tablet: send `motion`s on tip events (#9132)Junxuan Liao2025-01-231-4/+5
| | | | Typically, the position of the tool tip also changes on tool tip events, so we should forward this update to the clients.
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-1/+1
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-1/+1
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* core: Add clang-tidy (#8664)Vaxry2024-12-071-3/+3
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* tablet: use inputMgr unified naming schemeVaxry2024-11-091-3/+3
| | | | ref #8301
* input: cleanup device naming logicVaxry2024-11-091-0/+6
| | | | ref #8301
* input: move idle notify to input handlers (#7659)Maximilian Seidler2024-09-061-9/+0
| | | | | | | | | * 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
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-1/+1
| | | now we roll loops at blazing constified speed.
* core: make most for loops use const references (#7527)Tom Englund2024-08-261-2/+2
| | | | why not let the compiler optimise things for us at hyprspeeds when we can.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-25/+28
| | | | | | | | | | | | | | 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>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-3/+3
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* wl_seat: move to hyprland implVaxry2024-05-141-2/+3
|
* Tablet: move to new implVaxry2024-05-091-218/+219
| | | | 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-12/+12
| | | | | | | This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
* ext-idle-notify: move to new implVaxry2024-04-291-4/+5
|
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-1/+1
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* input: Add options to set tablet's active area (#5199)Khalid2024-03-231-1/+7
| | | | | | | | | * Add options to set tablet's active area * Set tablet's active area in `setTabletConfigs` * Fix formatting for new variables in ConfigManager * Report tablet's physical size with hyprctl
* tablet: minor focus fixesVaxry2024-03-191-8/+10
| | | | ref #3004
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* idle: notify idle on tablet inputs (#4201)Junxuan Liao2023-12-201-0/+7
| | | Fixes #4028.
* input: add relative_input for tabletsVaxry2023-12-091-3/+10
| | | | closes #2639
* input: fix force_zero_scaling for tablet and touch (#3644)Antoine Dutot2023-10-271-4/+8
| | | | | | | * Attempt to fix force_zero_scaling for tablet and touch for XWayland apps. * Formated using clang-format. * Simpler way to compute touch origin.
* internal: Formatter rework (#3186)Vaxry2023-09-061-1/+1
|
* input: reset cursor hide timer on tabletvaxerski2023-05-201-0/+2
|
* Format: use %lx for all addressesvaxerski2023-04-171-1/+1
|
* allow binding tablets to outputsvaxerski2022-12-211-0/+3
|
* Added clang format (#1239)Vaxry2022-12-161-145/+162
| | | * clang-format stuff and format files
* added hyprctl switchxkblayoutvaxerski2022-12-031-2/+2
|
* rework focus system to be more safe and fastervaxerski2022-10-141-1/+1
|
* Remove trailing whitespace.Felix Dick2022-09-251-5/+5
|
* update wlroots depvaxerski2022-07-111-9/+9
|
* added per-device config optionsvaxerski2022-06-301-0/+12
|
* added noblurvaxerski2022-06-241-1/+1
|
* remove unfocusallvaxerski2022-06-091-16/+0
|
* de-focusify on lost proximityvaxerski2022-06-091-0/+6
|