scottkirkwood / key-mon

Automatically exported from code.google.com/p/key-mon
Apache License 2.0
144 stars 39 forks source link

Mouse button combination #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would like to show combination of depressed mouse buttons, specifically 
combination of Center and Left. This combination is used in Blender from 
blender.org to rotate a 3-D view.

Thanks,
Doug

Original issue reported on code.google.com by gdouglas...@gmail.com on 18 Jan 2011 at 9:01

GoogleCodeExporter commented 9 years ago
OK, I patched code so that any combination of mouse buttons is properly 
displayed.  You'll see in the attached file that I've added list for 
"self.btns", and modified both "def create_names_to_fnames(self):" and "def 
handle_mouse_button(self, code, value):"

Doug

Original comment by gdouglas...@gmail.com on 19 Jan 2011 at 12:57

Attachments:

GoogleCodeExporter commented 9 years ago
You've convinced me, but it'll take some work.

I'll get to it eventually.

Original comment by sc...@forusers.com on 19 Jan 2011 at 1:23

GoogleCodeExporter commented 9 years ago
One more tweak... replaced a addition with a bitwise or.  Works great for all 
buttons.  See attached...

Original comment by gdouglas...@gmail.com on 19 Jan 2011 at 2:10

Attachments:

GoogleCodeExporter commented 9 years ago
Cool, I'll put this in, probably tonight.

Original comment by sc...@forusers.com on 19 Jan 2011 at 8:21

GoogleCodeExporter commented 9 years ago
OK. You'll want to also change, "if self.options.swap_buttons:" so as to swap 
LEFTMIDDLE with MIDDLERIGHT. I did not need this, but your user community 
will...

Original comment by gdouglas...@gmail.com on 19 Jan 2011 at 8:57

GoogleCodeExporter commented 9 years ago
Added to key-mon 1.6, thanks.

Original comment by scottaki...@gmail.com on 23 Jan 2011 at 5:20

GoogleCodeExporter commented 9 years ago
Shouldn't this issue closed since the job is done?

Original comment by livibet...@gmail.com on 29 Jul 2011 at 12:15

GoogleCodeExporter commented 9 years ago
yes thanks.

Original comment by scottaki...@gmail.com on 2 Aug 2011 at 2:46