Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/*
|
|
*
|
|
* FocalTech TouchScreen driver.
|
|
*
|
|
* Copyright (c) 2010-2015, Focaltech Ltd. All rights reserved.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
/************************************************************************
|
|
* Copyright (C) 2012-2015, Focaltech Systems (R)All Rights Reserved.
|
|
*
|
|
* File Name: Ft_gesture_lib.c
|
|
*
|
|
* Author:
|
|
*
|
|
* Created: 2015-01-01
|
|
*
|
|
* Abstract: function for hand recognition
|
|
*
|
|
************************************************************************/
|
|
#ifndef __LINUX_FT_GESTURE_LIB_H__
|
|
#define __LINUX_FT_GESTURE_LIB_H__
|
|
|
|
/*
|
|
* int fetch_object_sample(unsigned short *datax,unsigned short *datay,
|
|
* unsigned char *dataxy,short pointnum,unsigned long time_stamp);
|
|
*/
|
|
|
|
int fetch_object_sample(unsigned char *buf, short pointnum);
|
|
|
|
void init_para(int x_pixel, int y_pixel, int time_slot, int cut_x_pixel,
|
|
int cut_y_pixel);
|
|
|
|
/* ft_gesture_lib_v1.0_20140820.a */
|
|
|
|
#endif
|