rawKeyStillDown ?

Mike Bonner bonnmike at gmail.com
Fri Mar 22 07:46:18 EDT 2013


keysdown() works pretty well with some exceptions that are probably due to
keyboard issues rather than livecode issues. (like some keyboards having
problems with multiple arrow keypresses at the same time, keysdown doesn't
always show all the correct keys, yet other keyboards work fine)

But yeah, keysdown works pretty good for game control (again, ignore the
arrow keys, they're problematic if you need more than 1 read at a time
and/or if during presses two that disagree are down at just the moment the
poll hits)




On Fri, Mar 22, 2013 at 5:31 AM, Richmond <richmondmathewson at gmail.com>wrote:

> neither
>
> rawKeyStillDown
>
> nor
>
> keyStillDown
>
> exist (as yet)
>
> however I wish they did . . .
>
> I know that one can poll the mouse . . .
>
> Can one poll the keyboard ?
>
> ------------------------------**-------------------------
>
> Why?
>
> Because I am reverting to my dreams of playing daft games on my BBC Micro
> in
> the late 1980's, and remember that the BBC had no mouse; so objects in the
> side-scrolling
> games of the time were controlled by keyDowns alone; and a keyDown did
> something
> once, and a key-held-down-for-quite-some-**time did the same thing
> repeatedly, instead
> of forcing me to get repetitive finger wonkiness by going
> tap-tap-tappitty-tap
> ad nauseam.
>
> ------------------------------**--------------------------
>
> Richmond.
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the Use-livecode mailing list