input/touchscreen: Bring up TSIOC_[SET|GET]CALIB macro

which is removed accidently in:
https://github.com/apache/nuttx/pull/9398

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-09-18 11:16:55 +08:00 committed by GUIDINGLI
parent c8540a1f9b
commit 9bd6c70339

View File

@ -90,7 +90,12 @@
*/
#define TSC_FIRST 0x0001 /* First common command */
#define TSC_NCMDS 6 /* Six common commands */
#define TSC_NCMDS 13 /* Thirteen common commands */
/* Backward compatible IOCTL */
#define TSIOC_SETCALIB TSIOC_SETXRCAL
#define TSIOC_GETCALIB TSIOC_GETXRCAL
/* User defined ioctl commands are also supported. However, the
* TSC driver must reserve a block of commands as follows in order