OpenBSD Journal
Home : : Add Story : : Archives : : About : : Create Account : : Login :
Preparing multitouch support - request for tests
Contributed by phessler on Thu Dec 3 10:15:37 2015 (GMT)
from the let-the-diff-touch-you dept dept.

Ulf Brosziewski (bru@) writes to tech@:

The diffs below contain a complete and extensive rewrite of the input-processing parts of wsmouse and the interface it provides to the hardware drivers. It prepares the support for various kinds of multitouch input, as well as an extended support for touchpads by wsmouse.

Tests for regression with all kinds of "pointing devices" would be welcome. Only a small set of touchpads and USB mice is available to me, which is a somewhat uncomfortable situation when you are working on things like this.

Please note that the first diff is for the synaptics driver in xenocara, the rest is for the kernel. Patching that driver will be necessary if you test with touchpads (and compiling it requires the modified version of wsconsio.h in /usr/include/dev/wscons/).

In most drivers I have made only short and trivial changes, the Elantech-v4 part of pms is the only one that makes full use of the new MT functions.

Unlike the basic input layer, which I hope is already fairly stable, the in-kernel touchpad support is in a more experimental stage. If you have a Synaptics, ALPS, or Elantech-v4 touchpad, you could test it by adding this xorg.conf to /etc:

Section "InputClass"
     Identifier "wstpad"
     Driver "ws"
     MatchIsTouchPad "true"
EndSection

Only a default configuration will be available with this. It enables two-finger-scrolling and a lower soft-button area for clickpads, and two-finger- or edge-scrolling for touchpads (support for tapping and upper soft-button areas is implemented, but it won't be enabled by the automatic configuration). If this works, it would also be interesting for me to know whether the defaults for pointer speed and acceleration are decent.

Of course I'm not only interested in tests. Questions, comments, suggestions, and any kind of help would also be welcome.

As Ulf mentions, you'll need to recomile the xf86-input-synaptics driver, and install a new kernel. The diff is available at http://marc.info/?l=openbsd-tech&m=144909872127618&q=raw, and reports should go back to Ulf on tech@.

[topichardware]

<< Hackfest OpenBSD presentations | Reply | Flattened | Expanded | n2k15: sashan@ on PF mpsafe progess >>

Threshold: Help

Related Links
more by phessler


  Re: Preparing multitouch support - request for tests (mod -1/23)
by Anonymous Coward (73.254.64.240) on Thu Dec 3 18:19:15 2015 (GMT)
  Where do you live Ulf? Maybe we can flood you with touch devices.....:-)
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

  Re: Preparing multitouch support - request for tests (mod 0/0)
by mxffiles (218.11.246.179) on Tue Feb 7 08:25:33 2017 (GMT)
  This is a very good post which I really enjoy reading. It is not every day that I have the possibility to see something like this. Software mxf Software mxf converter free download to convert HD camcorder files. ts converter convert ts video files to avi, mp4, wmv, mov mts to avi mp4 mov mkv iMovie, FCP/FCE with mts converter, so to convert mts files for your PC and mobiles. mod converter and convert tod files just free download mod video converter. m2ts
  [ Show thread ] [ Reply to this comment ] [ Mod Up ] [ Mod Down ]

[ Home | Add Story | Archives | Polls | About ]

Copyright © 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. Some icons from slashdot.org used with permission from Kathleen. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. Search engine is ht://Dig. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]