LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Microsfot Intellimouse - Side Buttons? (https://www.linuxquestions.org/questions/linux-hardware-18/microsfot-intellimouse-side-buttons-21303/)

eggs 07-10-2002 10:07 PM

I've got an odd problem... my MS Intellimouse Explorer's wheel is buttons 4 and 5, I think its a version 1 so maybe thats the problem. Meaning my mouse section looks like this:

Quote:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection
And the wheel does not work if I put the zaxis on 6 7 like everyone else's mouse.

So needless to say the xmodmap "pointer = 1 2 3 6 7 4 5" broke the wheel so I assumed that the 4th and 5th number are for the wheel and made mine 'xmodmap "pointer = 1 2 3 4 5 6 7"' and the wheel worked again but the side buttons still didn't work in xev.

LinuxQuest01 07-11-2002 07:45 AM

Doing something similar, but with a keyboard
 
Anyone every heard of a "Cortron" keyboard? It has a few additional keys like F13, F14, ... F22, as well as "Clear" and "Param Value".

I was wondering if anyone know how to get those buttons to work, 'cause right now there's no reponse when I use xev or showkey.

dorward 07-11-2002 07:54 AM

With the keyboard issue, you could take a look at "xkeycaps" to find out what (if any) signals it is putting out, and then use xmodmap to get it to remap those signals to characters.

How you get them to actually do something depends on your system, I use fluxbox so I would use the fluxbox keymapping facilities to set them to up loauch applications and do things to windows.

LinuxQuest01 07-11-2002 04:02 PM

How do I install xkeycaps
 
I download the file xkeycaps-2.46.tar.Z, umcompress it, and extracted it. Now what? The readme file said to:

"See the Imakefile for configuration parameters. To build, do the usual:

xmkmf ; make ; make install ; make install.man"

So, what I am really suppose to do?

dorward 07-11-2002 04:14 PM

Edit "imakefile" then type the commands listed.

I suggest finding an RPM version, there should be one on your Red Hat CDs, failing that try http://rpmfind.net/

UprightMan 08-20-2002 10:39 AM

tried all of this
 
/etc/imwheelrc
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

~/.imwheelrc -> /etc/imwheelrc

/etc/X11/XF86Config
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

.xinitrc
xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"
exec /opt/fluxbox/bin/fluxbox

I know that the buttons are being seen because the left side will open links just like the regular left button.

Any ideas? Slack is almost working perfectly for me. I just love using those side buttons for scrolling history.

-edit: Just ran xev and every button is set correctly. Just alt-left and alt-right are not being mapped to buttons 6 and 7.

ciscokidd 08-24-2002 10:49 PM

I'm having the same exact problem as UprightMan...

anyone have any ideas?

Aussie 08-24-2002 11:05 PM

Don't make ~/.imwheelrc a sym link to /etc/imwheelrc, save it to /home/you/.imwheelrc.

ciscokidd 08-25-2002 09:39 PM

in the ~/.imwheelrc, where does

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

go? is this the only thing that should be in there?

Aussie 08-25-2002 09:49 PM

Yep, here's mine,
Code:

".*"
 None, Up, Alt_L|Left
 None, Down, Alt_L|Right


ciscokidd 08-26-2002 12:00 PM

~/.imwheelrc

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right


/etc/X11/XF86Config

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

and added to ~/.xinitrc

xmodmap -e "pointer = 1 2 3 6 7 4 5 "
imwheel -k -b "67"


Still having problems with it mapping the side buttons (4 and 5) to back and forward. When I click on a link using those buttons it is similar to if it was button 1 and not back and forward.

BrandonJG 08-31-2002 04:55 PM

Okay guys. Here comes a dumb question.
How do you install IMWheel?. I donwloaded it from the link above but I cant figure out how to get it installed.

I modified the XF86Config-4 and tested with xev and my buttons are registering correctly. I just dont knw what to do with this iwheel.

Thanks for the info

Aussie 08-31-2002 07:46 PM

It's source code Brandon, you need to do "./configure && make" then "su" and "make install" in the directry created when you untarred to package.

BrandonJG 09-01-2002 12:45 AM

I actually did find the instructions when I uncompressed it. With root access, I did the following:

./configure
make
make install

on the last step though, it gave me an error. Dont recall what it was now. I'm currently in WinXP... when I reboot, I'll try again & post the error message.

This probably will sound dumb too but: Why doesnt it come pre-compiled? An RPM would be nice.

MasterC 09-01-2002 01:03 AM

Well, although an RPM might be nice, not all developers are into making RPM's. Especially when source is more "universal". The work involved would only work on specific systems, whereas with source, you can make it work on ALOT of systems.

And you said "make install" gave you errors? That is really wierd, unless you weren't root. You do have to be root when running 'make install'. Configure and make went smooth, but make install produced errors. I would guess it's because you didn't have the directory it was trying to install to.



All times are GMT -5. The time now is 04:11 PM.