[Xquartz-dev] Re: XInputExtension pressure and tilt support

Jonathan Chetwynd j.chetwynd at btinternet.com
Tue Apr 29 07:56:10 PDT 2008


perhaps for testing the sampling could be less frequent?

cheers

motion a[0]=894 a[1]=302 a[2]=1135657856 a[3]=1342152704 a[4]=0
motion a[0]=892 a[1]=302 a[2]=0 a[3]=0 a[4]=0
motion a[0]=891 a[1]=303 a[2]=0 a[3]=0 a[4]=0

motion a[0]=654 a[1]=150 a[2]=0 a[3]=0 a[4]=0
motion a[0]=655 a[1]=148 a[2]=0 a[3]=0 a[4]=0
motion a[0]=655 a[1]=148 a[2]=1715037696 a[3]=603932672 a[4]=134156288
motion a[0]=655 a[1]=148 a[2]=1920758400 a[3]=603932672 a[4]=201267200
motion a[0]=655 a[1]=148 a[2]=2071886720 a[3]=637488128 a[4]=268378112
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=637488128 a[4]=301933568
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=369044480
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=402599936
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=436155392
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=469710848
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=503266304
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=704599040 a[4]=536821760
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=704599040 a[4]=570377216
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=738154496 a[4]=603932672
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=738154496 a[4]=603932672
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=738154496 a[4]=637488128
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=738154496 a[4]=637488128
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=704599040 a[4]=671043584
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=704599040 a[4]=671043584
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=704599040
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=704599040
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=704599040
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=704599040
motion a[0]=655 a[1]=148 a[2]=2147483647 a[3]=671043584 a[4]=738154496
motion a[0]=655 a[1]=148 a[2]=2124381824 a[3]=671043584 a[4]=738154496
motion a[0]=654 a[1]=147 a[2]=0 a[3]=0 a[4]=0
motion a[0]=653 a[1]=145 a[2]=0 a[3]=0 a[4]=0


Jonathan Chetwynd

j.chetwynd at btinternet.com
http://www.openicon.org/

+44 (0) 20 7978 1764


On 29 Apr 2008, at 14:58, Ben Byer wrote:

>
> On Apr 29, 2008, at 5:11 AM, Jonathan Chetwynd wrote:
>
>> jeremy,
>>
>> all seems right again, files attached
>> what output might we expect to see if pressure was being sent to  
>> screen?
>
>> Last login: Tue Apr 29 12:47:54 on console
>>
>> $ sudo install Xquartz-1.4.0-apple4 /usr/X11/bin/XquartzPassword:
>> $ X -versionXquartz starting:
>> X.org Release 7.2
>> X.Org X Server 1.4.0-apple4
>> Build Date: 20080426
>>
>>
>> $ xinput list"Virtual core keyboard"	id=0	[XKeyboard]
>>
>> ""	id=2	[XExtensionPointer]
>> 	Num_buttons is 7
>> 	Num_axes is 7
>>
>
> Almost there!  One last command:
>
> bbyer$ xinput test 2
> motion a[0]=939 a[1]=571 a[2]=0 a[3]=0 a[4]=0
> motion a[0]=929 a[1]=578 a[2]=0 a[3]=0 a[4]=0
> motion a[0]=913 a[1]=585 a[2]=0 a[3]=0 a[4]=0
> motion a[0]=902 a[1]=591 a[2]=0 a[3]=0 a[4]=0
> motion a[0]=892 a[1]=597 a[2]=0 a[3]=0 a[4]=0
>
>
> That's on my MacBook Pro with no tablet attached -- if you have a  
> tablet attached and use the stylus, you should expect to see non- 
> zero numbers for a[2]-a[4] when you touch the stylus to the pad.
> -b
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080429/fc1c6ce5/attachment.html


More information about the Xquartz-dev mailing list