|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
First you follow this guide www.linux-gamers.net. Then you install xkindkeys. Then you install mvmouse. Then you put a file called .xbindkeysrc containing the code-snippet below in your home-directory.
Code:
"xvkbd -xsendevent -text "\[Alt_L]\[Left]"" b:2 "~/./my_double_click.sh && ~/./my_double_click.sh &" b:6 Code:
mvmouse +0 +0 1 && mvmouse +0 +0 1 & |
|
|||
|
Could you please be more specific what does what?
Im using xbindkeys, and it look like that it is able to handle mouse buttons (for example with modifiers) But i did not succeeded with 6th and 7th button. Do i really need mousemove? Thanks |
|
|||
|
evtest is used to test which events belong to which buttons. When I ran it in June it produced a lot of output but now it didn't produce much output at all.
SuSEBurken:~ # evtest /dev/input/event2 Input driver version is 1.0.0 Input device ID: bus 0x3 vendor 0x46d product 0xc01d version 0x2100 Input device name: "Logitech USB-PS/2 Optical Mouse" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 272 (LeftBtn) Event code 273 (RightBtn) Event code 274 (MiddleBtn) Event code 275 (SideBtn) Event code 276 (ExtraBtn) Event code 277 (ForwardBtn) Event code 278 (BackBtn) Event code 279 (TaskBtn) Event type 2 (Relative) Event code 0 (X) Event code 1 (Y) Event code 8 (Wheel) Testing ... (interrupt to exit) |
|
|||
|
I'm able to program 7 buttons + roll wheel up or down. The button just above the wheel does not respond. You can use this to test
Code:
"xvkbd -xsendevent -text "\b"" b:4 "xvkbd -xsendevent -text "\b"" b:5 "xvkbd -xsendevent -text "\b"" b:6 "xvkbd -xsendevent -text "\b"" b:7 "xvkbd -xsendevent -text "\b"" b:8 "xvkbd -xsendevent -text "\b"" b:9 "xvkbd -xsendevent -text "\b"" b:10 "xvkbd -xsendevent -text "\b"" b:11 |
|
|||
|
If you install new hardware /etc/X11/xorg.conf might be altered. Then you have to change the mouse section back, so it's good to keep a copy of the old working /etc/X11/xorg.conf somewhere else e.g. in your home directory. When I installed a new video card the OS changed
Quote:
Quote:
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|