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


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

Re: Sensing keypresses on the IIgs

Newsgroups comp.sys.apple2.programmer
Date 2020-02-03 07:52 -0800
References <877e16au8a.fsf@wardenclyffe.jk7.org> <491c99c5-c0ab-4d52-88fe-3a7c02564f15@googlegroups.com> <87r1zc9rxj.fsf@wardenclyffe.jk7.org>
Message-ID <a897a57e-e64f-4044-bca3-2e0baccd404e@googlegroups.com> (permalink)
Subject Re: Sensing keypresses on the IIgs
From Andy McFadden <thefadden@gmail.com>

Show all headers | View raw


On Sunday, February 2, 2020 at 9:10:48 PM UTC-8, James Kruth wrote:
> The ADB toolbox looks like it could be interesting - I'm going to keep
> it in mind to look at after I give some of the other options a try.
> Would you happen to know of an example of it being used to respond to
> key presses?

The keyboard and mouse are ADB devices (unless you have a //e conversion kit), so it's the most direct way to interact with the hardware.  The function that sets up an async event callback seems like a better approach than polling if you want to work off an interrupt.

I never had a reason to use it directly -- I either used the console driver for shell commands or the GUI events -- so I don't have sample code for it.

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next 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