← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH/RFC] Middle click actions in Pcbnew GAL

 

Since zoom to fit is already defined as the home key, using the middle
mouse button as an alternate shortcut shouldn't be objectionable.  I do
agree with Bernhard that we should hard code any short cuts to keys or
mouse events that can not be either emulated or assigned to a different
key so OSX users have quick access to said features.

Cheers,

Wayne

On 3/22/2017 8:59 AM, Bernhard Stegmaier wrote:
> Hi,
> 
> please don't assign anything vital to middle button.
> All native Apple HW doesn't have a middle button and also no key-modifier
> that simulates a middle button.
> 
> I can remember that some functions were moved away from middle button
> for just this reason.
> 
> 
> Regards,
> Bernhard
> 
> On 22.03.2017 11:35, Maciej Sumiński wrote:
>> Hi,
>>
>> I agree clicking with the middle mouse button is not particularly easy
>> but doable. I would not mind assigning a function to the button, but we
>> need choose carefully, since it is likely to stay for a long time. I am
>> sure that changing the behavior later will cause a rage coming from
>> users that got used to it.
>>
>> Any other ideas what else could be assigned to the middle mouse button?
>>
>> Cheers,
>> Orson
>>
>> On 03/20/2017 08:31 PM, John Beard wrote:
>>> Hi,
>>>
>>> Here are two patches:
>>>
>>> * "Zoom to fit" on double middle click: resolves the Pcbnew side of
>>> https://bugs.launchpad.net/kicad/+bug/1480868. Apparently this is an
>>> AutoCAD thing, so it may make lots of people more are home in KiCad.
>>> * "Centre on cursor" on middle single click. This is something I made
>>> up out of thin air, but it allows people who don't like the
>>> warp-on-zoom behaviour to be able to quickly recentre the view using
>>> only the mouse.
>>>
>>> Both these actions are already available from the keyboard (Home and
>>> F4). I think ideally these would be configurable as well but there's
>>> no framework for that right now.
>>>
>>> The legacy canvas side is rather more complex, so I haven't attempted
>>> it here.
>>>
>>> My mouse's middle click is pretty terrible, so I rarely use it, and so
>>> I'm a bad judge of how useful these patches really are. Fell free to
>>> comment on/reject either patch.
>>>
>>> Cheers,
>>>
>>> John
>>>
>>>
>>>
>>> _______________________________________________
>>> 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