KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

Add more mouse actions #311

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
According to the wiki, you can have only four actions:

*  mouse_middle = none
*  mouse_right = close
*  mouse_scroll_up = toggle
*  mouse_scroll_down = iconify

Some people (like me :P) have mouse with more buttons, so it'll be cool if you 
can add more actions.

I imagine something like:

mouse_button_x = task

Where x is the value that xev outputs.

That said, could we have two ways of typing it, the first one (actual one) 
which is more intuitive and a also my suggestion. 

Obviously, this leads to mouse_right is the same to mouse_button_3 and 
mouse_middle is the same as mouse_button_2, the same goes for scroll_up and 
_down which are equivalent to 4 and 5 respectively.

Original issue reported on code.google.com by pablo.olmosdeaguilera on 9 Dec 2010 at 7:24

GoogleCodeExporter commented 8 years ago
That's -of course- not a defect, more like an enhancement. Can I change that or 
that's reserved to the developers?

Original comment by pablo.olmosdeaguilera on 9 Dec 2010 at 7:25

GoogleCodeExporter commented 8 years ago

Original comment by thilo...@gmail.com on 6 Jan 2011 at 11:30

GoogleCodeExporter commented 8 years ago
Is there some way to do this? If you can guide me a bit I could try to 
implement this feature on my own.

Original comment by pablo.olmosdeaguilera on 16 Jul 2011 at 10:59

GoogleCodeExporter commented 8 years ago
LOL, I did it, it was really simple actually :$

I'm attaching a patch (I hope I did it right, if not, tell me how can I improve 
it) that adds support for buttons 8 and 9 (lateral buttons, that usually works 
as back & forward in most browsers).

Original comment by pablo.olmosdeaguilera on 16 Jul 2011 at 11:31

Attachments:

GoogleCodeExporter commented 8 years ago
This still works in the latest revision (649) without any issues.

Original comment by pablo.olmosdeaguilera on 11 Apr 2012 at 2:17

GoogleCodeExporter commented 8 years ago

Original comment by mrovi9...@gmail.com on 1 Feb 2015 at 6:53

GoogleCodeExporter commented 8 years ago
Issue 322 has been merged into this issue.

Original comment by mrovi9...@gmail.com on 2 Feb 2015 at 12:06

GoogleCodeExporter commented 8 years ago
Project moved to GitLab.

You can find this issue at: https://gitlab.com/o9000/tint2/issues/311

Original comment by mrovi9...@gmail.com on 25 Apr 2015 at 11:23