Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2005 15:03:42 +0200
From:      Marcin Koziej <creep@desk.pl>
To:        freebsd-hackers@freebsd.org
Subject:   Advice on psm driver interface ?
Message-ID:  <20050716130342.GA18875@daedalus.desk.pl>
In-Reply-To: <20050716120022.A86C716A41C@hub.freebsd.org>
References:  <20050716120022.A86C716A41C@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Hello Hackers,

I'm playing with the psm driver and a symantics touchpad - I'd like to send the touch pressure along with x/y coordinates/buttons and then chenge the behaviour of mouse in moused using the pressure.

What would be better: 
1. Extend the struct mousestatus with additional pressure field.
2. Use the mousestatus's z axis movement (dz field). It in fact IS the third dimension, right? The whole concept of z being used for scrolling at times, and at times scrolling being just additional buttons is odd to me.
3. Use another ioctl like MOUSE_SYN_GETHWINFO to fetch the pressure value.

What would be best?

m.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050716130342.GA18875>