LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 12: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, 05:52 AM   #2
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 279

Rep: Reputation: 100Reputation: 100
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



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

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

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

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
Open Source Consulting | Domain Registration