Set a mask value to event_mask of ivi_layout_layer, a removed ivi_surface
belongs to, in order to trigger refreshing a list of surface in
ivi_layout_layer.
Signed-off-by: Nobuhiko Tanibata
---
ivi-shell/ivi-layout.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivi-shell/ivi-layout.c b/ivi
Signed-off-by: Peter Hutterer
---
tools/ptraccel-debug.c | 43 ---
1 file changed, 36 insertions(+), 7 deletions(-)
diff --git a/tools/ptraccel-debug.c b/tools/ptraccel-debug.c
index 077da59..aa887fe 100644
--- a/tools/ptraccel-debug.c
+++ b/tools/ptraccel
Signed-off-by: Peter Hutterer
---
tools/Makefile.am | 2 ++
tools/make-ptraccel-graphs.sh | 79 +++
2 files changed, 81 insertions(+)
create mode 100755 tools/make-ptraccel-graphs.sh
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 68
This is "once-tested, don't touch it again" code. The quirks on the touchpad
means we'd have to find that specific device again and re-test everything if
we change anything elsewhere in the code. So duplicate it properly, so that we
don't have to touch it again.
Signed-off-by: Peter Hutterer
---
Signed-off-by: Peter Hutterer
---
src/filter.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/src/filter.c b/src/filter.c
index 4f0d8d5..29bf8e5 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -117,7 +117,6 @@ struct pointer_accelerator {
double velocity;/* units/us */
No functional changes.
Signed-off-by: Peter Hutterer
---
src/filter.c | 35 +--
1 file changed, 25 insertions(+), 10 deletions(-)
diff --git a/src/filter.c b/src/filter.c
index 828d6b6..68f1786 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -266,6 +266,27 @@ cal
No functional changes, just moving code in preparation for filter patches
Signed-off-by: Peter Hutterer
---
src/filter.c | 70 ++--
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/src/filter.c b/src/filter.c
index 29bf8e5..b
Signed-off-by: Peter Hutterer
---
src/filter.c | 34 --
1 file changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/filter.c b/src/filter.c
index 68f1786..16dedb4 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -296,6 +296,27 @@ accelerator_filter(struct mot
The previous approach to pointer acceleration was to initialize the same
motion filter behavior but a different acceleration profile depending on the
hardware (the profile converts a speed to a multiplier for input deltas).
To be more flexible for hardware-specifics, change this into a set of spec
This is step one to fixing trackpoint acceleration, separating it from the
other acceleration code. No functional changes yet, it still uses the low-dpi
accel method.
https://bugs.freedesktop.org/show_bug.cgi?id=91369
Signed-off-by: Peter Hutterer
---
src/evdev.c | 4 ++-
src/filter.c | 87 ++
To avoid confusion with the other speed in units/time
Signed-off-by: Peter Hutterer
---
src/filter-private.h | 4 ++--
src/filter.c | 18 +-
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/filter-private.h b/src/filter-private.h
index 0e7afa1..c6281a
And switch to a code-flow that's a bit more self-explanatory than the current
min/max combinations.
Signed-off-by: Peter Hutterer
---
src/filter.c | 83
1 file changed, 73 insertions(+), 10 deletions(-)
diff --git a/src/filter.c b/src
This makes it more obvious where we're using units/us and units/ms as input
variable and what the output is. Clutters up the code, but still better than
dealing with us/ms differently per function, and still better than carrying
all the 1000.0 multiplications/divisions manually.
Signed-off-by: Pet
This reverts commit 8a6825f1602aa9d9c4b29a83d296f55f68b316e0.
Aside from introducing bugs, this doesn't really help with anything, it adds a
requirement to rename everything to make clear where we're using µs and where
we're using ms and that just clutters up the code.
Signed-off-by: Peter Hutter
Signed-off-by: Peter Hutterer
---
src/filter.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/filter.c b/src/filter.c
index b01b68a..e615deb 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -96,7 +96,6 @@ struct pointer_tracker {
int dir;
};
-struct pointer_accelerator;
struct
Patches 01-07 are cleanup to fix the current mess of different speeds and
add a bit of clarity in what we're doing here. Especially 05 and 06 should
help greatly here.
Patches 08-14 split the pointer acceleration parts up a bit further, even
though that introduces duplication. Right now we only d
The return value of a profile is a unitless factor, not a speed.
Same applies for s1/s2, these are factors, not speeds.
Signed-off-by: Peter Hutterer
---
src/filter.c | 46 +++---
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/filter.c
Protocol XML files are required by external applications. This patch
installs necessary files and makes them discoverable via pkg-config.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89966
Signed-off-by: Dawid Gajownik
---
Makefile.am | 2 +-
src/weston.pc.in | 2 ++
2 files changed
The previous code used a 5mm threshold before axis events were posted. This
threshold was on top of the 2mm 2fg threshold (and timeout handling) in the
gesture code and effectively prevented events from being sent after a timeout,
or in the 2mm-5mm range.
We still want a directional lock though, s
This will thus work if the property is only set on a parent device, not on the
device directly.
https://github.com/systemd/systemd/issues/763
Signed-off-by: Peter Hutterer
---
udev/libinput-model-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/udev/libinput-model-qu
Hi,
On 04-08-15 03:23, Peter Hutterer wrote:
On the 4.1 kernels synaptics pretends to have 3 slots (the serial fw only does
2). This was added to avoid cursor jumps but has since been reverted for 4.2
(kernel commit dbf3c37086, 4.1.3 is still buggy). In some cases a TRIPLETAP
may be triggered wi
21 matches
Mail list logo