Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #5403

Re: Sensing keypresses on the IIgs

From James Kruth <james@kruth.org>
Newsgroups comp.sys.apple2.programmer
Subject Re: Sensing keypresses on the IIgs
Date 2020-02-08 22:56 -0500
Organization A noiseless patient Spider
Message-ID <87d0ao9zx2.fsf@wardenclyffe.jk7.org> (permalink)
References <87v9oo9sju.fsf@wardenclyffe.jk7.org> <r1d1no$31d$1@dont-email.me>

Show all headers | View raw


kelvin@pro-kegs.uucp (Kelvin Sherlock) writes:

> You can use _SetVector and _IntSource to set up a handler to be called 
> when a keypress is available (see Toolbox Reference #1, chapter 14 for
> the toolcalls and chapter 7 for some example code).  In most cases,
> it's probably easier just to check in your main run loop.
>
> -------
> ProLine: kelvin@pro-kegs

I just read the example code and that looks pretty easy - I do think
that I'll probably end up just checking in my main loop. Thanks for
pointing me in the right direction!

- James

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-01 16:11 -0500
  Re: Sensing keypresses on the IIgs jgandersen@gmail.com - 2020-02-01 14:17 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-01 23:10 -0500
      Re: Sensing keypresses on the IIgs kegs@provalid.com (Kent Dickey) - 2020-02-01 23:17 -0600
        Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-08 22:30 -0500
          Re: Sensing keypresses on the IIgs kegs@provalid.com (Kent Dickey) - 2020-02-09 15:26 -0600
  Re: Sensing keypresses on the IIgs Andy McFadden <thefadden@gmail.com> - 2020-02-02 07:52 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-03 00:10 -0500
      Re: Sensing keypresses on the IIgs Andy McFadden <thefadden@gmail.com> - 2020-02-03 07:52 -0800
  Sensing keypresses on the IIgs gids.rs@sasktel.net - 2020-02-02 13:07 -0800
    Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-02 23:57 -0500
      Re: Sensing keypresses on the IIgs gids.rs@sasktel.net - 2020-02-02 21:25 -0800
      Re: Sensing keypresses on the IIgs kelvin@pro-kegs.uucp (Kelvin Sherlock) - 2020-02-05 00:06 -0500
        Re: Sensing keypresses on the IIgs James Kruth <james@kruth.org> - 2020-02-08 22:56 -0500

csiph-web