Dnia 2010-01-12, wto o godzinie 15:23 +1000, Peter Hutterer pisze: > Nice! thanks :-) [..] > [..] > > -unsigned short tiltTable_63[2] = { > > - (45 | (20 << 8)),(44 | (19 << 8)) > > -}; > > +#ifndef M_PI > > +#define M_PI 3.14159265358979323846 > > +#endif > > Is this necessary? which version of math.h doesn't have M_PI defined? It's not. It's here as a result of my lack of experience combined with silly copy & paste. ;-) > > > > > -unsigned short tiltTable_64[1] = { > > - (45 | (19 << 8)) > > -}; > > > > -unsigned short *cTable[] = { > > - > > &tiltTable_00[0],&tiltTable_01[0],&tiltTable_02[0],&tiltTable_03[0],&tiltTable_04[0],&tiltTable_05[0], > > - > > &tiltTable_06[0],&tiltTable_07[0],&tiltTable_08[0],&tiltTable_09[0],&tiltTable_10[0],&tiltTable_11[0], > > - > > &tiltTable_12[0],&tiltTable_13[0],&tiltTable_14[0],&tiltTable_15[0],&tiltTable_16[0],&tiltTable_17[0], > > - > > &tiltTable_18[0],&tiltTable_19[0],&tiltTable_20[0],&tiltTable_21[0],&tiltTable_22[0],&tiltTable_23[0], > > - > > &tiltTable_24[0],&tiltTable_25[0],&tiltTable_26[0],&tiltTable_27[0],&tiltTable_28[0],&tiltTable_29[0], > > - > > &tiltTable_30[0],&tiltTable_31[0],&tiltTable_32[0],&tiltTable_33[0],&tiltTable_34[0],&tiltTable_35[0], > > - > > &tiltTable_36[0],&tiltTable_37[0],&tiltTable_38[0],&tiltTable_39[0],&tiltTable_40[0],&tiltTable_41[0], > > - > > &tiltTable_42[0],&tiltTable_43[0],&tiltTable_44[0],&tiltTable_45[0],&tiltTable_46[0],&tiltTable_47[0], > > - > > &tiltTable_48[0],&tiltTable_49[0],&tiltTable_50[0],&tiltTable_51[0],&tiltTable_52[0],&tiltTable_53[0], > > - > > &tiltTable_54[0],&tiltTable_55[0],&tiltTable_56[0],&tiltTable_57[0],&tiltTable_58[0],&tiltTable_59[0], > > - > > &tiltTable_60[0],&tiltTable_61[0],&tiltTable_62[0],&tiltTable_63[0],&tiltTable_64[0] > > -}; > > +void wcmTilt2R(WacomDeviceStatePtr ds); > > weird, how comes this line was moved by the diff? Looks like some mess in my private tree. I'll fix it as soon as we'll get test results from Ping. Thanks for another lesson... -- Przemo
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel