Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disabling nipple without disabling mouse buttons.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 942
Location: we the north

PostPosted: Sun Jan 15, 2017 9:37 am    Post subject: disabling nipple without disabling mouse buttons. Reply with quote

My laptop has a nipple (for controlling the mouse), two mouse buttons, and a trackpad. I want to disable the nipple only. I do this with

Code:
xinput disable 11


or 12 depending on when it was found at boot (I guess). The trouble is that this also disables the two mouse buttons. The output of "xinput -list-props 11" is

Code:
Device 'AlpsPS/2 ALPS DualPoint Stick':
   Device Enabled (138):   0
   Coordinate Transformation Matrix (140):   1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
   Device Accel Profile (260):   0
   Device Accel Constant Deceleration (261):   1.000000
   Device Accel Adaptive Deceleration (262):   1.000000
   Device Accel Velocity Scaling (263):   10.000000
   Device Product ID (256):   2, 8
   Device Node (257):   "/dev/input/event5"
   Evdev Axis Inversion (264):   0, 0
   Evdev Axes Swap (266):   0
   Axis Labels (267):   "Rel X" (148), "Rel Y" (149)
   Button Labels (268):   "Button Left" (141), "Button Middle" (142), "Button Right" (143), "Button Wheel Up" (144), "Button Wheel Down" (145), "Button Horiz Wheel Left" (146), "Button Horiz Wheel Right" (147)
   Evdev Scrolling Distance (269):   0, 0, 0
   Evdev Middle Button Emulation (270):   1
   Evdev Middle Button Timeout (271):   50
   Evdev Third Button Emulation (272):   0
   Evdev Third Button Emulation Timeout (273):   1000
   Evdev Third Button Emulation Button (274):   3
   Evdev Third Button Emulation Threshold (275):   20
   Evdev Wheel Emulation (276):   1
   Evdev Wheel Emulation Axes (277):   6, 7, 4, 5
   Evdev Wheel Emulation Inertia (278):   10
   Evdev Wheel Emulation Timeout (279):   200
   Evdev Wheel Emulation Button (280):   2
   Evdev Drag Lock Buttons (281):   0


can I just disable the nipple?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Jan 15, 2017 1:55 pm    Post subject: Reply with quote

You may look in that synclient tool

Parts of my i3.config. ignore that exec command, its i3wm specific

look up those parameters, if any can help you.

I assume when you type something you want to ignore the mouse functionality temporarily, correct?


Code:
#turns off the built in touchpad
exec synclient touchpadoff=0 PalmDetect=1 PalmMinZ=100 PalmMinWidth=8


#Using the driver's automatic palm detection
#First of all you should test if it works properly for your touchpad and if the settings are accurate. Enable palm detection with
#$ synclient PalmDetect=1
#Then test the typing. You can tweak the detection by setting the minimum width for the touch to be considered a palm, for example
#$ synclient PalmMinWidth=8
#And you can tweak the minimum pressure required for the touch to be considered a palm, for example
#$ synclient PalmMinZ=100
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 942
Location: we the north

PostPosted: Mon Jan 16, 2017 11:07 am    Post subject: Reply with quote

i don't want to disable the touchpad. It's working fine.

I just want to disable the nipple. The trouble is that when I do that it also disables both mouse buttons. Not the touchpad buttons (they remain operational) but the physical mouse buttons.

How do I just disable the nipple?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Jan 16, 2017 9:26 pm    Post subject: Reply with quote

the palm recognition temporarily removes some unwanted mouse movement while typing on the notebook keyboard.

Regarding your question.

It depends on the hardware in the first place. If the hardware consider it as two input devices or just as one input device. If the input is seperated.

You may be able to disable it via a hardware hack permanently.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 942
Location: we the north

PostPosted: Wed Jan 18, 2017 8:29 pm    Post subject: Reply with quote

Roman_Gruber wrote:
the palm recognition temporarily removes some unwanted mouse movement while typing on the notebook keyboard.

Regarding your question.

It depends on the hardware in the first place. If the hardware consider it as two input devices or just as one input device. If the input is seperated.

You may be able to disable it via a hardware hack permanently.


ah. ok. Can you tell from my post if the OS considers them separate hardware? I think not, but I thought that one could use the other stats there to target just the nipple.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 942
Location: we the north

PostPosted: Thu Jan 19, 2017 10:58 am    Post subject: Reply with quote

for example, can i do anything with the line

Code:
Button Labels (268):   "Button Left" (141), "Button Middle" (142), "Button Right" (143), "Button Wheel Up" (144), "Button Wheel Down" (145), "Button Horiz Wheel Left" (146), "Button Horiz Wheel Right" (147)


??? Can that be used to only disable the stick and keep the mouse buttons working?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum