Pointing device acting as joystick
Timothy S. Nelson
wayland at wayland.id.au
Wed Nov 10 12:02:18 PST 2010
On Tue, 9 Nov 2010, Peter Hutterer wrote:
>> Hmm. So, after examining the evtest data more carefully, I'm
>> wondering about the absolute->relative conversion. For example,
>> here's a grep of the relevant events:
[snipped]
>> So, it seems to me that when the value increases, the pointer moves
>> right, but when the value decreases, it moves left. What I'd like
>> to see is for the pointer to move right while the value is positive,
>> and left while it's negative. Is there an option for that?
>
> no, not really. we treat the axis values as-is and don't modify them much.
> even if you switch the device to relative mode you might get some better use
> of it, but it'll be pretty unpredictable once pointer acceleration comes in.
Interesting. I'm pretty sure that with the last version of xorg I was
using, it worked much more like a mouse (I think probably like I suggested
above); I recall I had to turn off pointer acceleration, because that was
causing problems. The reason I don't go back to that is that (IIRC), it
didn't support all the extra axes that I wanted. This may've been pre-XInput2
or something.
Versions on my previous setup:
xorg-x11-server-utils-7.4-7.1.fc11.x86_64
xorg-x11-server-Xorg-1.6.4-0.1.fc11.x86_64
xorg-x11-util-macros-1.2.1-2.fc11.noarch
xorg-x11-utils-7.4-4.fc11.x86_64
Versions on my current setup:
xorg-x11-server-common-1.8.0-12.fc13.x86_64
xorg-x11-server-utils-7.4-16.fc13.x86_64
xorg-x11-server-Xorg-1.8.0-12.fc13.x86_64
xorg-x11-utils-7.4-9.fc13.x86_64
Peter has indicated privately that he'd be happy for someone to
implement this, but he doesn't have the time himself. I'm not sure I will
either, but if it looks like you will, let me know, just to ensure we're not
both working on it.
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayland at wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
More information about the xorg
mailing list