From: Alex C. <al...@na...> - 2007-05-13 13:55:11
|
Hi there, It seems that tilt is not being used properly, or not being reported properly to the above programs. xidump shows the tilt varying as expected between -64 and 63, but a program I found called "xinput", which reports the valuators provided by the Xinput system show the valuators with some very large, odd values, which hardly change at all when tilting (handavingly I'd say they change by less than 1% across the full tilt range.) In addition, I've noticed that when swapping between the pen tool and the airbrush accessory, the values change quite substantially. Therefore it seems like something "else" is being included into these valuators that completely swamps the tilt values. Here is the output from xinput, pen then airbrush: Pen: xinput query-state stylus 3 classes : KeyClass key[0]=up key[1]=up key[2]=up key[3]=up key[4]=up key[5]=up key[6]=up key[7]=up key[8]=up key[9]=up key[10]=up key[11]=up key[12]=up key[13]=up key[14]=up key[15]=up key[16]=up key[17]=up key[18]=up key[19]=up key[20]=up key[21]=up key[22]=up key[23]=up key[24]=up key[25]=up key[26]=up key[27]=up key[28]=up key[29]=up key[30]=up key[31]=up ButtonClass button[1]=up button[2]=up button[3]=up button[4]=up button[5]=up button[6]=up button[7]=up button[8]=up button[9]=up button[10]=up button[11]=up button[12]=up button[13]=up button[14]=up button[15]=up button[16]=up ValuatorClass Mode=Absolute Proximity=In valuator[0]=14905 valuator[1]=11627 valuator[2]=0 valuator[3]=139657201 valuator[4]=42205173 valuator[5]=294256640 valuator[6]=0 valuator[7]=0 Airbrush: beast xdrv # xinput query-state stylus 3 classes : KeyClass key[0]=up key[1]=up key[2]=up key[3]=up key[4]=up key[5]=up key[6]=up key[7]=up key[8]=up key[9]=up key[10]=up key[11]=up key[12]=up key[13]=up key[14]=up key[15]=up key[16]=up key[17]=up key[18]=up key[19]=up key[20]=up key[21]=up key[22]=up key[23]=up key[24]=up key[25]=up key[26]=up key[27]=up key[28]=up key[29]=up key[30]=up key[31]=up ButtonClass button[1]=up button[2]=up button[3]=up button[4]=up button[5]=up button[6]=up button[7]=up button[8]=up button[9]=up button[10]=up button[11]=up button[12]=up button[13]=up button[14]=up button[15]=up button[16]=up ValuatorClass Mode=Absolute Proximity=In valuator[0]=15053 valuator[1]=12007 valuator[2]=0 valuator[3]=152240109 valuator[4]=56688615 valuator[5]=10682541 valuator[6]=0 valuator[7]=0 I noted also that the [2] valuator, for pressure, changes as expected from 0 to 1023. Inkscape and Gimp's calligraphy tool work fine in Windows will full tilt capability. Cheers Alex |