realbasic-nug
[Top] [All Lists]

Re: Keyboard Counter Porting to Obj-C

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Keyboard Counter Porting to Obj-C
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Thu, 30 Sep 2004 14:02:51 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <DE34B032-1306-11D9-8657-000A9582EDB8 at ix dot netcom dot com>

On Sep 30, 2004, at 1:33 PM, Chris Kastorff wrote:

This isn't a "New Users" question, but I couldn't find another suitable mailing list. Bear with me:

I've been looking for a way to check how many keys have been pressed and how many clicks the user has made, and the only way I can find is creating a loop (in a timer) that checks to see if a key had been pressed, and then add one to the key count (same method for clicks). Here's the code I'm using:
[snick]

You could call the Carbon Event Manager to watch key and mouse events as they pass by.

Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>