diff options
author | imilka <pkzl22@gmail.com> | 2012-11-10 22:16:18 +0000 |
---|---|---|
committer | Espen Fjellvær Olsen <espen@mrfjo.org> | 2012-11-11 15:59:50 +0100 |
commit | 3c3b858c0168ae826525595ef2fb5d275484f989 (patch) | |
tree | 582c77f5deabe0604845fccde2b4186f4c82857a /drivers/input/touchscreen/wacom/table-q1.h | |
parent | b1b33a2c6e1af144fae79c803df637683502e5c8 (diff) | |
download | kernel_samsung_smdk4412-3c3b858c0168ae826525595ef2fb5d275484f989.zip kernel_samsung_smdk4412-3c3b858c0168ae826525595ef2fb5d275484f989.tar.gz kernel_samsung_smdk4412-3c3b858c0168ae826525595ef2fb5d275484f989.tar.bz2 |
n7100 support
Change-Id: I111e3be9a1c6ea8b68eab5c87fa6c084ba9bb5c3
Diffstat (limited to 'drivers/input/touchscreen/wacom/table-q1.h')
-rwxr-xr-x | drivers/input/touchscreen/wacom/table-q1.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/wacom/table-q1.h b/drivers/input/touchscreen/wacom/table-q1.h new file mode 100755 index 0000000..acbe03d --- /dev/null +++ b/drivers/input/touchscreen/wacom/table-q1.h @@ -0,0 +1,57 @@ +/* + * table-q1.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/q1/wacom_i2c_coordX_CCW_LLeft_44.h" +}; +short TblY_CCW_LLeft_44[] = { +#include "table/q1/wacom_i2c_coordY_CCW_LLeft_44.h" +}; + +short TblX_CW_LRight_44[] = { +#include "table/q1/wacom_i2c_coordX_CW_LRight_44.h" +}; +short TblY_CW_LRight_44[] = { +#include "table/q1/wacom_i2c_coordY_CW_LRight_44.h" +}; + +short TblX_PLeft_44[] = { +#include "table/q1/wacom_i2c_coordX_PLeft_44.h" +}; +short TblY_PLeft_44[] = { +#include "table/q1/wacom_i2c_coordY_PLeft_44.h" +}; + +short TblX_PRight_44[] = { +#include "table/q1/wacom_i2c_coordX_PRight_44.h" +}; +short TblY_PRight_44[] = { +#include "table/q1/wacom_i2c_coordY_PRight_44.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] = \ +{{120, 110, -85, -110, }, {-120, 120, 60, -130, } }; +short tilt_offsetY[MAX_HAND][MAX_ROTATION] = \ +{{-110, 110, 110, -150, }, {-130, -110, 130, 70, } }; + +const char tuning_version[] = "0000"; +char *tuning_model = "N7000"; |