From: Hossein Mobahi Subject: Measuring mouse click and typing rate in X Date: Mon, 18 Apr 2005 00:06:01 -0700 (PDT) Message-ID: <20050418070601.11331.qmail@web80012.mail.yahoo.com> Mime-Version: 1.0 Return-path: Sender: linux-x11-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-x11@vger.kernel.org Hi folks I want to measure user=92s typing rate and mouse click rate in X environment. I am looking for the simplest way to do this, i.e. minimal need of coding. I think the most reasonable solution is an intterupt-driven program. Is there any source code showing how to use interrupts in a similiar application so that I can adapt it for my purpose with least effort? If not, what about any relevant logging capability that I can read its log file each second to obtain this statistics? Thnx --Hossein Mobahi