On Wed, Jun 18, 2014 at 10:07:12AM +0200, Jonas Ådahl wrote:
> On Wed, Jun 18, 2014 at 05:52:04PM +1000, Peter Hutterer wrote:
> > On Wed, Jun 18, 2014 at 09:24:03AM +0200, Jonas Ådahl wrote:
> > > > > The purpose of the struct was to provide an interface with the
> > > > > functionality that libin
The actual data provided by current tablets is not anywhere close to accurate.
While it'd be nice to have this in mm, this is unlikely to happen anytime
soon. Use the same 0..1 normalized range as pressure has.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 2 --
src/libinput.h | 4 +
Given that tablets may not have the same x/y resolution, raw or normalized
values are mostly meaningless and likely to be handled the wrong way.
Providing x/y in mm is the only constant, meaningful value.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 3 +++
src/libinput.h | 10
We've got big plans for handling pad buttons, and the interface will likely
be different for those. Meanwhile, discard any pad button events so no-one can
get too used to them.
Signed-off-by: Peter Hutterer
---
src/evdev-tablet.c | 14 --
src/evdev-tablet.h | 1 -
test/tablet.c
Hi all,
I'm now porting my opengles application to wayland platform, what do I
need to prepare while I'm calling "eglGetDisplay" and "eglCreateWindowSurface"?
I've tryied the following codes in my program,
Step1: wl_display_connect(NULL) à return a global g_nativeDisplay objec
Signed-off-by: Boyan Ding
---
protocol/xdg-shell.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 28add40..0327f40 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -304,7 +304,7 @@
-
For those whose eyes struggle to focus on 5 zeros in a row, or those just sick
of forgetting one zero and wondering why things don't work.
Signed-off-by: Peter Hutterer
---
src/libinput-util.h | 8
test/touchpad.c | 12 ++--
2 files changed, 14 insertions(+), 6 deletions(-)
Inverted order of release from the other test
Signed-off-by: Peter Hutterer
---
test/touchpad.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/test/touchpad.c b/test/touchpad.c
index 690e105..ca0a700 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -210,6 +21