remapping XInput axes

Tamas Papp tkpapp at gmail.com
Sun Oct 23 02:08:30 PDT 2011


On Fri, 21 Oct 2011, Tamas Papp wrote:

> and button events are detected, but the cursor doesn't move. xinput
> test reveals that the X and Y axes are a[2] and a[3]:
> 
> $ xinput test 21 # (excerpt)
> motion a[0]=1130 a[1]=525 a[2]=946 a[3]=0 a[4]=0 a[5]=0 
> motion a[6]=0 a[7]=0 a[8]=0 a[9]=0 a[10]=0 a[11]=0 
> motion a[12]=0 
> button press   1 
> motion a[0]=1130 a[1]=525 a[2]=1002 a[3]=92 a[4]=0 a[5]=0 
> motion a[6]=0 a[7]=0 a[8]=0 a[9]=0 a[10]=0 a[11]=0 
> motion a[12]=0 
> motion a[0]=1130 a[1]=525 a[2]=1012 a[3]=92 a[4]=0 a[5]=0 
> motion a[6]=0 a[7]=0 a[8]=0 a[9]=0 a[10]=0 a[11]=0 
> motion a[12]=0 
> motion a[0]=1130 a[1]=525 a[2]=1021 a[3]=92 a[4]=0 a[5]=0 
> motion a[6]=0 a[7]=0 a[8]=0 a[9]=0 a[10]=0 a[11]=0 
> motion a[12]=0 
> 
> Is there a way I could remap these to the appropriate axes so that the
> cursor would move on the screen?  Sorry if this is a dumb question, I
> know very little about Xinput internals.  xorg.conf or command line
> snippets or documentation on how to do this would be appreciated.  I
> tried xinput set-prop but couldn't figure it out.

Hi,

I found a thread in the archives that talks about a similar problem: 
http://www.mail-archive.com/xorg@lists.freedesktop.org/msg09731.html

$ cat /proc/bus/input/devices

reports

I: Bus=0003 Vendor=188c Product=0221 Version=1001
N: Name="EPOS EPOS Pen Digitizer."
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input41
U: Uniq=
H: Handlers=mouse1 event23 
B: PROP=0
B: EV=1b
B: KEY=c01 7001f 0 0 0 0
B: ABS=ff000100000f
B: MSC=10

but I am still unclear on what I should do to solve this.

Best,

Tamas




More information about the xorg mailing list