@@ -574,8 +574,6 @@ bool CalibratorEvdev::output_xorgconfd(const XYinfo new_axys)
574574 printf (" Option \" Calibration\" \" %d %d %d %d\"\n " ,
575575 new_axys.x .min , new_axys.x .max , new_axys.y .min , new_axys.y .max );
576576 printf (" Option \" SwapAxes\" \" %d\"\n " , new_axys.swap_xy );
577- printf (" Option \" InvertX\" \" %d\"\n " , new_axys.x .invert );
578- printf (" Option \" InvertY\" \" %d\"\n " , new_axys.y .invert );
579577 printf (" EndSection\n " );
580578
581579 if (not_sysfs_name)
@@ -597,8 +595,6 @@ bool CalibratorEvdev::output_hal(const XYinfo new_axys)
597595 <merge key=\" input.x11_options.calibration\" type=\" string\" >%d %d %d %d</merge>\n "
598596 , sysfs_name, new_axys.x .min , new_axys.x .max , new_axys.y .min , new_axys.y .max );
599597 printf (" <merge key=\" input.x11_options.swapaxes\" type=\" string\" >%d</merge>\n " , new_axys.swap_xy );
600- printf (" <merge key=\" input.x11_options.invertx\" type=\" string\" >%d</merge>\n " , new_axys.x .invert );
601- printf (" <merge key=\" input.x11_options.inverty\" type=\" string\" >%d</merge>\n " , new_axys.y .invert );
602598 printf (" </match>\n " );
603599
604600 if (not_sysfs_name)
@@ -613,7 +609,6 @@ bool CalibratorEvdev::output_xinput(const XYinfo new_axys)
613609 printf (" Install the 'xinput' tool and copy the command(s) below in a script that starts with your X session\n " );
614610 printf (" xinput set-int-prop \" %s\" \" Evdev Axis Calibration\" 32 %d %d %d %d\n " , device_name, new_axys.x .min , new_axys.x .max , new_axys.y .min , new_axys.y .max );
615611 printf (" xinput set-int-prop \" %s\" \" Evdev Axes Swap\" 8 %d\n " , device_name, new_axys.swap_xy );
616- printf (" xinput set-int-prop \" %s\" \" Evdev Axis Inversion\" %d %d\n " , device_name, new_axys.x .invert , new_axys.y .invert );
617612
618613 return true ;
619614}
0 commit comments