davidlarizap / key-mon

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

Extra mouse buttons are not reported #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes I need to display that I pressed additional mouse buttons 
(forward/back etc). Currently key-mon just displays an empty white square 
instead of a mouse icon and it spits into terminal:

lazy_pixbuf_creator.py [74]: ERROR Don't understand the name 'BTN_DUNNO'

A very simple support for extra mouse buttons would be great. For example just 
display number 6 over the mouse icon if button number 6 was pressed. That would 
do the job perfectly.

Original issue reported on code.google.com by kpa...@fedoraproject.org on 17 Apr 2012 at 6:00

GoogleCodeExporter commented 9 years ago
First one to ask for this, I agree it should be fixed.

Original comment by sc...@forusers.com on 17 Apr 2012 at 6:37

GoogleCodeExporter commented 9 years ago
I just pushed r9f27ca52b97b, it needs some feedback, please review it.

The button number replacement is pretty dirty ugly, .replace('> ', NUM), 
suggestion?

I only updated SVG for apple theme, you need to use it to test. If it's okay, 
then I will finish updating the rest of themes.

Just realize that there is no button number 6 and 7 scroll-{lft,rgt}-mouse.svg 
for apple theme, in fact, only classic has those. Will open an issue.

Original comment by livibet...@gmail.com on 27 Apr 2012 at 6:34

GoogleCodeExporter commented 9 years ago
It works, thanks. I don't really have any better idea how to display it in GUI. 
But this is sufficient for my needs. Please update rest of the themes.

Original comment by kpa...@fedoraproject.org on 27 Apr 2012 at 11:54

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 347a98789b0d.

Original comment by livibet...@gmail.com on 28 Apr 2012 at 9:13