LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-12-2012, 01:50 PM   #1
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
R.A.T 9 mouse config


Hello All.

I just got a RAT9 Mouse and it has been working fine. All the buttons are map correctly except the side scroll wheel which right now it does nothing.
Any body have any advice on what to use for key mapping on slackware?

TIA!
 
Old 11-13-2012, 08:33 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,578

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
On a Slackware 14 system, I've got the following in the file /etc/X11/xorg.conf.d/rat7.conf:
Code:
Section "InputClass"
Identifier "R.A.T."
MatchProduct "R.A.T.7|R.A.T.9"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "17"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
Option "AutoReleaseButtons" "13 14 15"
Option "ZAxisMapping" "4 5 6 7"
EndSection
 
Old 11-14-2012, 12:03 AM   #3
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Original Poster
Rep: Reputation: 54
Thanks for the post... Going to try your settings and see.
 
Old 11-15-2012, 08:11 AM   #4
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Original Poster
Rep: Reputation: 54
Rcihard,

What are your mousse button and wheels mapped to with this config?

---------- Post added 11-15-12 at 09:11 AM ----------

Rcihard,

What are your mousse button and wheels mapped to with this config?
 
Old 11-18-2012, 02:39 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,578

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Quote:
Originally Posted by SeRi@lDiE View Post
Rcihard,

What are your mousse button and wheels mapped to with this config?[COLOR="Silver"]
I don't understand what you are asking.

Button 1 is the left mouse button
Button 3 is the right mouse button
Button 2 is the scroll wheel between the left and right mouse buttons
Button 12 is the round button by your thumb
Button 9 is the square thumb button next to button 12
Button 8 is the square thumb button next to button 9
Button 16 is pressing the top of the little square button that's closer to your palm than button 2
Button 17 is pressing the bottom of the little square button that's closer to your palm than button 2
Button 4 is scroll wheel up
Button 5 is scroll wheel down
Buttons 6 and 7 are for the horizontal scroll wheel

From other digging around, I found this little tidbit concerning AutoReleaseButtons:

Code:
/* Mouse button auto-release code.
+ * This is for the likes of the Cyborg R.A.T. mice.
+ * One button found on these mice acts differently:
+ *   first press = button 13 down
+ *   first release = nothing
+ * Then it repeats as follows:
+ *   press = button 13 up, button 14 down
+ *   press = button 14 up, button 15 down
+ *   press = button 13 down, button 15 up
+ * with no action on releasing the button.
+ *
+ * This confuses X: it thinks that the button is still pressed when the user
+ * has actually released it.
+ *
+ * What this code does is to synthesise a button-up event when a
+ * button-down event is received (for specified buttons).
+ */
I have no idea which button they are talking about, unless it's the DPI button.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
horizontal mouse wheel scrolling config in Slack 11 [evdev driver instead of mouse] arcanex Slackware 8 12-12-2007 08:18 AM
Mouse Config RavenFrost Slackware - Installation 3 03-13-2006 11:57 PM
mouse config makai Linux - General 6 03-31-2005 05:20 PM
config mouse hansi umayangan Linux - Enterprise 4 03-03-2005 03:55 AM
Mouse Config jd300 Linux - Newbie 6 01-30-2002 01:23 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration