On Wed, Jul 4, 2012 at 2:13 PM, David Herrmann
wrote:
> Hi guys
>
> (CC'ing systemd-ML as they proved to be very helpful and interested in this
> ;))
>
> I am currently working on kmscon and am planning on writing some
> user-space VT logic similar to CONFIG_VT in the kernel. The idea is to
> hav
In the wl_seat conversion, struct wl_touch got fields for the focused
surface and the client resource for the input device being focused.
However, the conversion was incomplete: the old fields
weston_seat::touch_focus* we still used by the event dispatching code,
but the new code never set them. Th
Make android_seat based on evdev_seat.
Signed-off-by: Pekka Paalanen
---
src/compositor-android.c | 84 +++--
1 files changed, 80 insertions(+), 4 deletions(-)
diff --git a/src/compositor-android.c b/src/compositor-android.c
index 1657e9c..d19dcc7 10064
All input devices are re-added during enter VT, so these messages in the
log will clarify what happened with input.
Signed-off-by: Pekka Paalanen
---
src/compositor-drm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 8
Signed-off-by: Pekka Paalanen
---
src/compositor.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/compositor.c b/src/compositor.c
index 677b5c8..b6b19a3 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -141,6 +141,8 @@ weston_client_launch(struct weston_compo
Write information about found input devices into the log. Also fetch and
record the device name.
Print a note, when a device is removed via udev.
Signed-off-by: Pekka Paalanen
---
src/evdev.c | 26 ++
src/evdev.h |1 +
src/udev-evdev.c |4
3 file
The touch screen of Samsung Galaxy Nexus has, according to evtest:
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "Melfas MMSxxx Touchscreen"
Supported events:
Event type 0 (EV_SYN)
Event type 3 (EV_ABS)
Event code 47 (ABS_MT_S
For a true multi-touch input device, the code ended up using
uninitialised fields of evdev_input_device::abs.
Fix it by querying the corresponding MT ranges.
Signed-off-by: Pekka Paalanen
---
src/evdev.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/evdev.c
Weston's notify_keyboard_focus() assumes that a keyboard is present, if
it is called. With evdev, there might not always be a keyboard.
Also clean up the variable definition. I read this function through many
times and finally had to grep where does 'all_keys' come from.
Signed-off-by: Pekka Paal
Only udev-evdev uses seat_id, so move it there, away from evdev.c.
Signed-off-by: Pekka Paalanen
---
src/evdev.c |5 +
src/evdev.h |4 +---
src/udev-evdev.c |9 ++---
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 1fc
Android backend needs mtdev now, and evdev-touchpad.c, too.
Signed-off-by: Pekka Paalanen
---
configure.ac |1 +
src/Makefile.am | 16 +++-
src/compositor-android.c |1 +
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/con
Like we do for all other files, too.
Signed-off-by: Pekka Paalanen
---
src/udev-evdev.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/udev-evdev.c b/src/udev-evdev.c
index a19db92..426cb47 100644
--- a/src/udev-evdev.c
+++ b/src/udev-evdev.c
@@ -63,7 +63,7 @@ devi
Make evdev.c completely independent of udev.
Signed-off-by: Pekka Paalanen
---
src/evdev.c | 20 -
src/evdev.h | 13 +++
src/udev-evdev.c | 61 -
3 files changed, 59 insertions(+), 35 deletions(-)
diff -
Move the weston_launcher_open() call from evdev.c into udev-evdev.c.
This makes evdev.c independent from launcher-util.
While doing this, change the evdev_input_device_create() signature:
- drop wl_display parameter as unused
- pass opened device file descriptor, since evdev.c cannot open the
de
So we can have another API without udev beside this, for other
backends.
Signed-off-by: Pekka Paalanen
---
src/compositor-drm.c | 14 +++---
src/compositor-openwfd.c |2 +-
src/udev-evdev.c | 22 +++---
src/udev-evdev.h | 14 +++---
4
evdev.h is now the "private" header, backends are supposed to use only
udev-evdev.h.
Signed-off-by: Pekka Paalanen
---
src/Makefile.am |1 -
src/evdev-private.h | 115 --
src/evdev-touchpad.c |2 +-
src/evdev.c |1 -
src
Just do the major code move, and hack things up to compile still.
Signed-off-by: Pekka Paalanen
---
src/Makefile.am |2 +
src/compositor-drm.c |2 +-
src/compositor-openwfd.c |2 +-
src/evdev.c | 224 +
src/evdev.h
Without this, it won't get any input anymore.
Signed-off-by: Pekka Paalanen
---
clients/simple-touch.c | 31 ++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index 517a956..b438ffa 100644
--- a/clien
Looks like an exclamation mark had decided to run and hide on another
line.
This makes wl_seat_set_keyboard and wl_seat_set_touch similar to
wl_seat_set_pointer.
Signed-off-by: Pekka Paalanen
---
src/wayland-server.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sr
Just like wl_keyboard and wl_pointer, add a signal handler for losing
touch focus.
Signed-off-by: Pekka Paalanen
---
src/wayland-server.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index d141682..031c243 100644
-
Hi Kristian,
I will be replying to this email with a patch series for Wayland and
Weston, that will make evdev input devices work on Android.
It splits udev and weston-launcher related code out from evdev.c, so I
can reuse evdev.c on Android. That is the bulk of the work. There are
various bug fi
21 matches
Mail list logo