Click to See Complete Forum and Search --> : ok . usb mouse .. for the last time
Icculus
08-29-2001, 11:20 PM
oooo k
i have a usb explorer , all the buttons work , but my problem is that i want to bind funcions to the side buttons , like when i hit the side button itll perform pg_up or something .
this is USB now PS2 , i can make it work in ps2 but its sluggish , i need it working in USB
Icculus
08-29-2001, 11:23 PM
these are the values i need to assign but its not taking
9 0xff1b (Escape)
10 0x0031 (1) 0x0021 (exclam)
11 0x0032 (2) 0x0040 (at)
12 0x0033 (3) 0x0023 (numbersign)
13 0x0034 (4) 0x0024 (dollar)
14 0x0035 (5) 0x0025 (percent)
15 0x0036 (6) 0x005e (asciicircum)
16 0x0037 (7) 0x0026 (ampersand)
17 0x0038 (8) 0x002a (asterisk)
18 0x0039 (9) 0x0028 (parenleft)
19 0x0030 (0) 0x0029 (parenright)
20 0x002d (minus) 0x005f (underscore)
mind you i dont need these exact values , im just saying this is how X sees them
Malakin
08-30-2001, 04:40 AM
The only easy way of doing this that I've found is by using imwheel.
if you run it "imwheel -b "67"
6 and 7 being the buttons you want to map to functions. Then edit the /etc/X11/imwheelrc file to do whatever you want, the buttons will still be called "up" and "down" though since imwheel was designed for mouse wheels.
If anyone finds a better way of doing it, please post it here for everyone.