kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23444
Re: [PATCH] New Feature: Touchpad Panning
fair enough,
In case you missed it wx 3.1 has been announced for release on 29/02,
however this probably won't mean much until 3.2 is out as it seems
they follow the old linux numbering where odd minor is not stable
On Fri, Feb 26, 2016 at 9:30 PM, Bernhard Stegmaier
<stegmaier@xxxxxxxxxxxxx> wrote:
> I guess the other gestures would have to be covered by wxWidgets in a way
> similar to pinch-to-zoom.
>
> You can have a look here:
> http://docs.wxwidgets.org/trunk/classwx_mouse_event.html
> wxWidgets recently added the EVT_MAGNIFY for pinch-to-zoom, but apparently
> they didn't yet think of supporting more gestures.
>
>
> Regards,
> Bernhard
>
>
> On 2016-02-26 08:10, Simon Wells wrote:
>>
>> thanks bernhard... this has increased usability on osx for me by an
>> infinite amount.... Do you have any code for using 2 finger rotate in
>> 3d-viewer?
>>
>> On Fri, Feb 26, 2016 at 8:06 PM, Bernhard Stegmaier
>> <stegmaier@xxxxxxxxxxxxx> wrote:
>>>
>>> Hi Mario,
>>>
>>> didn’t see on first glance, you mean the 3d-viewer.
>>> Yes, sorry about that… obviously the .y should be a .x in the “else if(
>>> event.ControlDown() )” block.
>>> I’ll check that tonight.
>>> I will also check the default step size.
>>>
>>>
>>> Regards,
>>> Bernhard
>>>
>>>
>>>> On 26 Feb 2016, at 07:40, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx>
>>>> wrote:
>>>>
>>>> Hi Mario,
>>>>
>>>> what canvas are you talking about?
>>>> What do you mean with “in steps of 6 / -6”?
>>>>
>>>>
>>>> Regards,
>>>> Bernhard
>>>>
>>>>> On 25 Feb 2016, at 23:10, Mário Luzeiro <mrluzeiro@xxxxx> wrote:
>>>>>
>>>>> Hi Wayne, Bernhard,
>>>>>
>>>>> I am not sure if this patch is correct.
>>>>> I updated my trunk kicad and install it (to make sure I was using the
>>>>> trunk version)
>>>>>
>>>>> First if I select the option and scroll with mouse, it will jump in the
>>>>> Y in steps of 6 / -6 .. but I am not sure how it is supposed to work (I dont
>>>>> have a compatible? touchpad)
>>>>> Second, I think it breaks the previous function of vertical /
>>>>> horizontal scrolling:
>>>>>
>>>>> because if I (uncheck the option and) press shift / ctrl.. I also got
>>>>> that 6/-6 steps..
>>>>> also it only work for Y.. and not for X
>>>>>
>>>>>
>>>>> http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/view/head:/3d-viewer/3d_canvas.cpp#L284
>>>>>
>>>>> So I think for my case the
>>>>> if( event.GetWheelAxis() == wxMOUSE_WHEEL_HORIZONTAL )
>>>>>
>>>>> is not horizontal when I press the shift and scroll..
>>>>>
>>>>> Would you mind to verify?
>>>>>
>>>>> Thanks!
>>>>> Mario
>>>>>
>>>>> ________________________________________
>>>>> From: Kicad-developers
>>>>> [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of
>>>>> Wayne Stambaugh [stambaughw@xxxxxxxxx]
>>>>> Sent: 24 February 2016 19:56
>>>>> To: Bernhard Stegmaier
>>>>> Cc: KiCad Developers
>>>>> Subject: Re: [Kicad-developers] [PATCH] New Feature: Touchpad Panning
>>>>>
>>>>> Patch committed in r6586. Thanks!
>>>>>
>>>>> Wayne
>>>>>
>>>>> On 2/23/2016 12:25 PM, Bernhard Stegmaier wrote:
>>>>>>
>>>>>>
>>>>>>> On 23.02.2016, at 17:44, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> * The touchpad panning is not implemented in the component viewer,
>>>>>>>> component editor, footprint viewer, and footprint editor. I would
>>>>>>>> think
>>>>>>>> that we would want it implemented in these windows for the sake of
>>>>>>>> consistency. I image the first bug report filed against this patch
>>>>>>>> will
>>>>>>>> be about that.
>>>>>>>
>>>>>>>
>>>>>>> Strange, all of them work for me on OS X, both with legacy and GAL
>>>>>>> canvas.
>>>>>>> I’ll retest on Linux.
>>>>>>>
>>>>>>> I currently couldn’t imagine any reason why it shouldn’t work in
>>>>>>> Windows…
>>>>>>> The changes are just in the EDA_DRAW_PANEL classes.
>>>>>>> Are they different on Windows?
>>>>>>
>>>>>>
>>>>>> I just verified on my Debian/Xfce (via VirtualBox on OS X) and all of
>>>>>> them
>>>>>> do work with touchpad-panning.
>>>>>>
>>>>>> What is the problem with it?
>>>>>> Doesn’t it pan at all?
>>>>>>
>>>>>> As said in the other mail these are the same events as for the
>>>>>> scroll-wheel.
>>>>>> So, if the touchpad in general works with touchpad-panning disabled
>>>>>> and
>>>>>> using shift/ctrl modifiers, it should also be OK with it enabled.
>>>>>> There is no platform magic involved...
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>> Bernhard
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
References
-
[PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-12
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-20
-
Re: [PATCH] New Feature: Touchpad Panning
From: Wayne Stambaugh, 2016-02-22
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-22
-
Re: [PATCH] New Feature: Touchpad Panning
From: Wayne Stambaugh, 2016-02-22
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-22
-
Re: [PATCH] New Feature: Touchpad Panning
From: Wayne Stambaugh, 2016-02-23
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-23
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-23
-
Re: [PATCH] New Feature: Touchpad Panning
From: Wayne Stambaugh, 2016-02-24
-
Re: [PATCH] New Feature: Touchpad Panning
From: Mário Luzeiro, 2016-02-25
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-26
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-26
-
Re: [PATCH] New Feature: Touchpad Panning
From: Simon Wells, 2016-02-26
-
Re: [PATCH] New Feature: Touchpad Panning
From: Bernhard Stegmaier, 2016-02-26