aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/wacom/table-t0ltekors.h
blob: 1dedc9f565814761a5b375151f5d07757817f88b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/*
 *  table-t0ltekors.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.
 */


#if defined(CONFIG_MACH_T0_KOR_SKT)
short TblX_CCW_LLeft_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblX_CCW_LLeft_T0.h"
};
short TblY_CCW_LLeft_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblY_CCW_LLeft_T0.h"
};

short TblX_CW_LRight_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblX_CW_LRight_T0.h"
};
short TblY_CW_LRight_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblY_CW_LRight_T0.h"
};

short TblX_PLeft_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblX_PLeft_T0.h"
};
short TblY_PLeft_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblY_PLeft_T0.h"
};

short TblX_PRight_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblX_PRight_T0.h"
};
short TblY_PRight_44[] = {
#include "table/t0ltekors/skt/wacom_i2c_tblY_PRight_T0.h"
};
#elif defined(CONFIG_MACH_T0_KOR_LGT)
short TblX_CCW_LLeft_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblX_CCW_LLeft_T0.h"
};
short TblY_CCW_LLeft_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblY_CCW_LLeft_T0.h"
};

short TblX_CW_LRight_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblX_CW_LRight_T0.h"
};
short TblY_CW_LRight_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblY_CW_LRight_T0.h"
};

short TblX_PLeft_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblX_PLeft_T0.h"
};
short TblY_PLeft_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblY_PLeft_T0.h"
};

short TblX_PRight_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblX_PRight_T0.h"
};
short TblY_PRight_44[] = {
#include "table/t0ltekors/lgt/wacom_i2c_tblY_PRight_T0.h"
};
#elif defined(CONFIG_MACH_T0_KOR_KT)
short TblX_CCW_LLeft_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblX_CCW_LLeft_T0.h"
};
short TblY_CCW_LLeft_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblY_CCW_LLeft_T0.h"
};

short TblX_CW_LRight_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblX_CW_LRight_T0.h"
};
short TblY_CW_LRight_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblY_CW_LRight_T0.h"
};

short TblX_PLeft_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblX_PLeft_T0.h"
};
short TblY_PLeft_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblY_PLeft_T0.h"
};

short TblX_PRight_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblX_PRight_T0.h"
};
short TblY_PRight_44[] = {
#include "table/t0ltekors/kt/wacom_i2c_tblY_PRight_T0.h"
};
#endif


char *tuning_version_B713 = "0730";

#if defined(CONFIG_MACH_T0_KOR_SKT) || defined(CONFIG_MACH_T0_KOR_KT)
char *tuning_model = "E250S";
char *tuning_version = "0911";
/* 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, -30, 10, 40, }, {40, -10, -30, 10, } };
short tilt_offsetY[MAX_HAND][MAX_ROTATION] = \
	{{40, -10, -40, 0, }, {0, 40, -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, } };
#elif defined(CONFIG_MACH_T0_KOR_LGT)
char *tuning_model = "E250L";
char *tuning_version = "0911";
/* 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, } };
#endif