From owner-svn-src-all@freebsd.org Mon Dec 30 13:47:19 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CB9E1E05DF; Mon, 30 Dec 2019 13:47:19 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47mdyt2G34z40X5; Mon, 30 Dec 2019 13:47:17 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 23AD52602AB; Mon, 30 Dec 2019 14:47:14 +0100 (CET) Subject: Re: svn commit: r356092 - head/sys/dev/kbdmux From: Hans Petter Selasky To: Kyle Evans Cc: src-committers , svn-src-all , svn-src-head References: <201912261725.xBQHPq8u076460@repo.freebsd.org> <62d80c6e-f0c0-05bb-cb22-b6cf40d4c06f@selasky.org> <3767f83b-c8a0-5aee-c57f-837aaf187ee7@selasky.org> Message-ID: <053a7dc5-3647-15d8-d13e-86008702ca30@selasky.org> Date: Mon, 30 Dec 2019 14:44:17 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <3767f83b-c8a0-5aee-c57f-837aaf187ee7@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47mdyt2G34z40X5 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.64)[ip: (-9.19), ipnet: 2a01:4f8::/29(-2.43), asn: 24940(-1.54), country: DE(-0.02)]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2019 13:47:19 -0000 On 2019-12-27 16:34, Hans Petter Selasky wrote: > On 2019-12-27 17:28, Kyle Evans wrote: >> At the risk of asking a dumb question, where are you wanting to make >> this distinction at? > > For example when implementing applications which allow playing the piano > via the system keyboard this is useful. See here for example: > > https://doc.qt.io/qt-5/qkeyevent.html#isAutoRepeat > > Needs to be implemented for FreeBSD, though! > What do you think? I see the evdev.c layer detects automagically if a key is already down, and treat that as a key-repeat event. But I couldn't find similar logic in xf86-input-keyboard . --HPS