Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-10-04 Thread Jonas Ådahl
On Thu, Oct 4, 2012 at 1:33 PM, Daniel Stone wrote: > Hi, > > On 4 October 2012 17:06, Jonas Ådahl wrote: >> On Thu, Oct 4, 2012 at 12:47 AM, Daniel Stone wrote: >>> I agree it makes perfect sense, but note that axis events are already >>> fixed-point, so you already get fairly fluid motion (mot

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-10-04 Thread Daniel Stone
Hi, On 4 October 2012 17:06, Jonas Ådahl wrote: > On Thu, Oct 4, 2012 at 12:47 AM, Daniel Stone wrote: >> I agree it makes perfect sense, but note that axis events are already >> fixed-point, so you already get fairly fluid motion (motion in units >> of 1/256th of a wheel 'chunk', i.e. already s

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-10-04 Thread Jonas Ådahl
On Thu, Oct 4, 2012 at 12:47 AM, Daniel Stone wrote: > Hi, > > On 29 September 2012 19:31, Jonas Ådahl wrote: >> Ok, so what I'm trying to do is to enable what people call "smooth >> scrolling" on an input level, meaning that scrolling is not based on >> discrete arbitrary "steps" but on a more f

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-10-03 Thread Daniel Stone
Hi, On 29 September 2012 19:31, Jonas Ådahl wrote: > Ok, so what I'm trying to do is to enable what people call "smooth > scrolling" on an input level, meaning that scrolling is not based on > discrete arbitrary "steps" but on a more fluid motion. These types of > events makes most sense for cert

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Jonas Ådahl
On Sat, Sep 29, 2012 at 12:01 PM, Scott Moreau wrote: > >> >> Ok, so what I'm trying to do is to enable what people call "smooth >> scrolling" on an input level, meaning that scrolling is not based on >> discrete arbitrary "steps" but on a more fluid motion. These types of >> events makes most sen

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Scott Moreau
> > Ok, so what I'm trying to do is to enable what people call "smooth > scrolling" on an input level, meaning that scrolling is not based on > discrete arbitrary "steps" but on a more fluid motion. These types of > events makes most sense for certain types of step-less scroll wheels > and touchpad

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-29 Thread Jonas Ådahl
On Fri, Sep 28, 2012 at 9:58 PM, Scott Moreau wrote: > > > On Fri, Sep 28, 2012 at 7:09 AM, Jonas Ådahl wrote: >> >> On Fri, Sep 28, 2012 at 2:47 PM, Pekka Paalanen >> wrote: >> > On Fri, 28 Sep 2012 14:30:18 +0200 >> > Jonas Ådahl wrote: >> > >> >> On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalan

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Scott Moreau
On Fri, Sep 28, 2012 at 7:09 AM, Jonas Ådahl wrote: > On Fri, Sep 28, 2012 at 2:47 PM, Pekka Paalanen > wrote: > > On Fri, 28 Sep 2012 14:30:18 +0200 > > Jonas Ådahl wrote: > > > >> On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalanen > wrote: > >> > I have an old discrete-stepped mouse wheel, it r

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Jonas Ådahl
On Fri, Sep 28, 2012 at 2:47 PM, Pekka Paalanen wrote: > On Fri, 28 Sep 2012 14:30:18 +0200 > Jonas Ådahl wrote: > >> On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalanen wrote: >> > I have an old discrete-stepped mouse wheel, it reports: >> > >> > Event: time 1348834027.330811, type 2 (EV_REL), code

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Pekka Paalanen
On Fri, 28 Sep 2012 14:30:18 +0200 Jonas Ådahl wrote: > On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalanen wrote: > > I have an old discrete-stepped mouse wheel, it reports: > > > > Event: time 1348834027.330811, type 2 (EV_REL), code 8 (REL_WHEEL), value 1 > > Event: time 1348834027.330812, --

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Jonas Ådahl
On Fri, Sep 28, 2012 at 2:13 PM, Pekka Paalanen wrote: > On Fri, 28 Sep 2012 13:46:05 +0200 > Jonas Ådahl wrote: > >> Regarding regular mouse wheels, reading the documentation[0] I'm not >> sure about the expected behavior and cannot test it my self yet due to >> lack of hardware. Considering tha

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Pekka Paalanen
On Fri, 28 Sep 2012 13:46:05 +0200 Jonas Ådahl wrote: > Regarding regular mouse wheels, reading the documentation[0] I'm not > sure about the expected behavior and cannot test it my self yet due to > lack of hardware. Considering that REL_WHEEL/REL_HWEEL events are > grouped together with other R

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Jonas Ådahl
On Fri, Sep 28, 2012 at 12:46 PM, Pekka Paalanen wrote: > On Fri, 28 Sep 2012 04:38:52 -0600 > Scott Moreau wrote: > >> On Thu, Sep 27, 2012 at 11:04 AM, Jonas Ådahl wrote: >> >> > Signed-off-by: Jonas Ådahl >> > --- >> > src/shell.c |7 --- >> > 1 file changed, 4 insertions(+), 3 dele

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Pekka Paalanen
On Fri, 28 Sep 2012 04:38:52 -0600 Scott Moreau wrote: > On Thu, Sep 27, 2012 at 11:04 AM, Jonas Ådahl wrote: > > > Signed-off-by: Jonas Ådahl > > --- > > src/shell.c |7 --- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/src/shell.c b/src/shell.c > > index e

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Scott Moreau
On Thu, Sep 27, 2012 at 11:04 AM, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > src/shell.c |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/shell.c b/src/shell.c > index e2715d6..6193bd2 100644 > --- a/src/shell.c > +++ b/src/shell.c > @@ -2361,7

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Scott Moreau
On Thu, Sep 27, 2012 at 11:04 AM, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > src/shell.c |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/shell.c b/src/shell.c > index e2715d6..6193bd2 100644 > --- a/src/shell.c > +++ b/src/shell.c > @@ -2361,7

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-28 Thread Scott Moreau
On Thu, Sep 27, 2012 at 11:04 AM, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > src/shell.c |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/shell.c b/src/shell.c > index e2715d6..6193bd2 100644 > --- a/src/shell.c > +++ b/src/shell.c > @@ -2361,7

[PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-27 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/shell.c b/src/shell.c index e2715d6..6193bd2 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2361,7 +2361,7 @@ static void surface_opacity_binding(struct wl_seat *seat, uin

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-27 Thread Jonas Ådahl
On Thu, Sep 27, 2012 at 6:50 PM, Tiago Vignatti wrote: > On 09/27/2012 07:40 PM, Jonas Ådahl wrote: >> >> Signed-off-by: Jonas Ådahl >> --- >> src/shell.c | 10 ++ >> 1 file changed, 6 insertions(+), 4 deletions(-) >> >> diff --git a/src/shell.c b/src/shell.c >> index 06d8684..ceea60

Re: [PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-27 Thread Tiago Vignatti
On 09/27/2012 07:40 PM, Jonas Ådahl wrote: Signed-off-by: Jonas Ådahl --- src/shell.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index 06d8684..ceea607 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1860,9 +1860,10 @@ shell_map_p

[PATCH weston 4/8] shell: Update bindings to conform to pointer axis protocol

2012-09-27 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index 06d8684..ceea607 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1860,9 +1860,10 @@ shell_map_popup(struct shell_surface *shsurf) }