diff options
Diffstat (limited to 'drivers/input/touchscreen/wacom/table-t0ltedcm.h')
-rwxr-xr-x | drivers/input/touchscreen/wacom/table-t0ltedcm.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/wacom/table-t0ltedcm.h b/drivers/input/touchscreen/wacom/table-t0ltedcm.h new file mode 100755 index 0000000..10f72dc --- /dev/null +++ b/drivers/input/touchscreen/wacom/table-t0ltedcm.h @@ -0,0 +1,64 @@ +/* + * table-t0ltedcm.h - Wacom G5 Digitizer Controller (I2C bus) + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + +short TblX_CCW_LLeft_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblX_CCW_LLeft_T0.h" +}; +short TblY_CCW_LLeft_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblY_CCW_LLeft_T0.h" +}; + +short TblX_CW_LRight_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblX_CW_LRight_T0.h" +}; +short TblY_CW_LRight_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblY_CW_LRight_T0.h" +}; + +short TblX_PLeft_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblX_PLeft_T0.h" +}; +short TblY_PLeft_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblY_PLeft_T0.h" +}; + +short TblX_PRight_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblX_PRight_T0.h" +}; +short TblY_PRight_44[] = { +#include "table/t0ltedcm/wacom_i2c_tblY_PRight_T0.h" +}; + +/* Tilt offset */ +/* 0: Left, 1: Right */ +/* 0: Portrait 0, 1: Landscape 90, 2: Portrait 180 3: Landscape 270*/ +short tilt_offsetX[MAX_HAND][MAX_ROTATION] = \ + {{-10, -40, -10, 30, }, {30, -10, -40, -10, } }; +short tilt_offsetY[MAX_HAND][MAX_ROTATION] = \ + {{50, 10, -40, 20, }, {20, 50, 10, -40, } }; + +short tilt_offsetX_B713[MAX_HAND][MAX_ROTATION] = \ + {{85, 100, -50, -85, }, {-85, 85, 100, -50, } }; +short tilt_offsetY_B713[MAX_HAND][MAX_ROTATION] = \ + {{-90, 120, 100, -80, }, {-80, -90, 120, 100, } }; + +char *tuning_version = "0907"; +char *tuning_version_B713 = "0730"; +char *tuning_model = "SGH-N025"; |