Open D12EA177E12 opened 7 years ago
Hi @D12EA177E12
are you still using the driver? I'll try to look into this ASAP. Apologies.
Dragging is working for me and I can't see a significant difference between our configurations. The force click on the magic trackpad sends a button release to xinput. So I can only continue dragging so long as I don't press hard enough to trigger the force click. I haven't figured out how to disable the force click or change the pressure sensitivity yet. Could it be that the pressure sensitivity on your trackpad is set lower and you are triggering the force click right away?
@ponyfleisch Hey Claudio, I am not using your version of the driver because the problem never got resolved. Needless to say, I'd to love to use my amtp2 under Linux. I've never messed around with trackpad properties so I don't know which property, and what their suitable range of values are, nor do I know how to tweak these trackpad properties.
@hoboboedan I think you might be right (I hope you are) about it being a pressure sensitivity issue. Here's what it looks like.
@ponyfleisch as it turns out, drag-and-drop does work. What property do I need to adjust, and how?
Looks like force click is a constant. I was able to disable force click and solve the problem by changing
to
It'd be nice to be able to use force click for something else instead. Not sure what.
@hoboboedan Unless there are context-aware apps through force click (which I am unaware of there being any) I don't see a need for it.
Admittedly I haven't gotten much use out of it even on the mac side. I made a fork to play around with potential uses of it. Maybe something will stick.
@hoboboedan With PRESSURE_FORCE_THRESHOLD set to 255 I finally have a usable amtp2 in Linux. Thanks Dan! Since you've been working on this driver, do you know how to configure multitouch features by any chance? Please take a look at issue #5.
Before your driver came along, the Apple Magic Trackpad2 (hereafter referred to as the amtp2) is only capable of cursor movement, left mouse and basic drag-and-drop in Linux. So, with the additional bluetooth, two-finger scroll and two-finger right-click support, which your driver provides, I thought we finally have ourselves a usable amtp2 on Linux. To my surprise, the basic drag-and-drop doesn't work. Can you verify with me whether you have drag-and-drop on your system.
Here is the output of
sudo xinput --list-props 10
:and here's the output of
sudo xinput --list --long 10
:Can anyone spot something wrong with the above settings? Any help will be greatly appreciated.
So close, ever so close...