LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2018, 01:16 PM   #1
abrombo
LQ Newbie
 
Registered: Sep 2018
Posts: 1

Rep: Reputation: Disabled
Mapping Air Mouse buttons to keystrokes


I have a Probox2 remote+. The mouse works out of the box. All keys except the A, B, X, and Y keys are detected by xev. I have installed the joystick package. I have looked at the documentation -

http://manpages.ubuntu.com/manpages/...oystick.4.html

From the documentation I created the file joystick.conf below -

Section "InputClass"
Identifier "joystick-all"
Driver "joystick"
Option "MatchIsJoystick" "on"
Option "MatchDevicePath "/dev/input/js0"

Option "MapButton1" "key=67"
Option "MapButton2" "key=68"
Option "MapButton3" "key=69"
Option "MapButton4" "key=70"
Option "MapButton5" "key=71"

EndSection

Am I doing anything wrong in the file and where should I put the file and what should I name it.

I have also installed jstest-gtk. When I run it it detects the buttons A, B, X, and Y but I cannot calibrate the mouse. Note that the mouse works fine without calibrating.

Any suggestions would be appreciated.
 
Old 09-09-2018, 06:52 AM   #2
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 262

Rep: Reputation: 94
Your file seems ok, but I don't have this kind of hardware.

You need to put your file here :
Code:
/etc/X11/xorg.conf.d
Most often files there are named like :
Code:
90-keyboard-layout.conf
Only one requirement, has to end with .conf suffix.
 
  


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
Trouble mapping mouse buttons Hubmasterflex Linux - Hardware 1 02-04-2007 04:40 AM
mouse problem - mapping buttons after upgrade gts6 Linux - Hardware 12 05-19-2006 12:33 PM
mouse side buttons (mixed up mapping) hometoast Linux - Hardware 2 10-05-2005 04:21 PM
Mapping Mouse Buttons ?? Neumonic_Splice Linux - General 4 01-27-2004 07:57 PM
Mapping mouse buttons in Mandrake 9.2 gvantassel Linux - Hardware 1 12-31-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration