.\" Copyright (c) 2017, Martin Kepplinger .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) .\" This is free documentation; 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. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual 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 manual; if not, see .\" . .\" %%%LICENSE_END .\" .TH "TS_FINDDEV" "1" "" "" "tslib" .SH "نام (NAME)" ts_finddev \- شناسایی دستگاه‌های صفحه لمسی\&. .SH "خلاصه دستور (SYNOPSIS)" .B ts_finddev .I device wait_seconds .SH "توضیحات (DESCRIPTION)" .PP دستور ts_finddev بررسی می‌کند که آیا دستگاه داده‌شده به عنوان پارامتر، یک دستگاه صفحه لمسی است یا خیر. پس از فراخوانی ts_finddev صفحه را لمس کنید. .B مقدار بازگشتی برابر با 0 است اگر مهلت زمانی ارائه‌شده در .I wait_seconds بدون هیچ رویداد ورودی منقضی شود، \-1 اگر .I device یک دستگاه صفحه لمسی نباشد و 1 اگر باشد. .SH "همچنین ببینید (SEE ALSO)" .PP ts.conf (5), ts_test (1), ts_test_mt (1), ts_calibrate (1)