7a31c954e5
tablet: minor focus fixes
...
ref #3004
2024-03-19 02:45:11 +00:00
GartoxFR
b2c3440477
animations: Refactor AnimatedVariable ( #4911 )
...
* 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
2024-03-02 00:35:17 +00:00
Junxuan Liao
53c78ab906
idle: notify idle on tablet inputs ( #4201 )
...
Fixes #4028 .
2023-12-20 17:53:54 +01:00
dd0714c22a
input: add relative_input for tablets
...
closes #2639
2023-12-09 04:07:28 +00:00
Antoine Dutot
1d47e2c408
input: fix force_zero_scaling for tablet and touch ( #3644 )
...
* Attempt to fix force_zero_scaling for tablet and touch for XWayland apps.
* Formated using clang-format.
* Simpler way to compute touch origin.
2023-10-27 10:15:29 +01:00
Vaxry
61a71c65ac
internal: Formatter rework ( #3186 )
2023-09-06 12:51:36 +02:00
5627b70981
input: reset cursor hide timer on tablet
2023-05-20 21:15:21 +02:00
vaxerski
8b3d8dc792
Format: use %lx for all addresses
2023-04-17 17:35:28 +01:00
vaxerski
41cdfb7420
allow binding tablets to outputs
2022-12-21 15:11:39 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
6aa26582f6
added hyprctl switchxkblayout
2022-12-03 16:22:02 +00:00
vaxerski
34cd8b125a
rework focus system to be more safe and faster
2022-10-14 20:46:32 +01:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
vaxerski
b55b6c95f2
update wlroots dep
2022-07-11 23:09:35 +02:00
vaxerski
d010ca2049
added per-device config options
2022-06-30 21:26:00 +02:00
vaxerski
45a44f9690
added noblur
2022-06-24 22:28:54 +02:00
vaxerski
d68e09a707
remove unfocusall
2022-06-09 22:07:33 +02:00
vaxerski
fbc7853459
de-focusify on lost proximity
2022-06-09 21:39:03 +02:00
vaxerski
53146ccf69
oopsie
2022-06-09 21:39:03 +02:00
vaxerski
506977c13d
unfocus on destroy
2022-06-09 19:40:16 +02:00
vaxerski
09b130374d
unfocus tablets
2022-06-09 19:38:39 +02:00
vaxerski
8929172bc2
remove redundant logs
2022-06-09 19:19:42 +02:00
vaxerski
6317f64ba0
set proximity in tablets
2022-06-09 18:09:09 +02:00
vaxerski
824d8b954d
logify even more
2022-06-09 17:40:05 +02:00
vaxerski
c218ed4432
notify tablet motion
2022-06-09 17:16:01 +02:00
vaxerski
1841d244f0
log shit in tablets
2022-06-09 14:40:56 +02:00
vaxerski
47404534d0
added tablet v2 support (alpha alpha)
2022-06-09 12:46:55 +02:00