linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Timothy Wall <twall@tiac.net>
To: linuxppc-dev@lists.linuxppc.org
Cc: "Adkins, Dave" <dadkins@gtcocalcomp.com>
Subject: ADB tablet driver
Date: Sat, 03 Jul 1999 12:15:15 -0400	[thread overview]
Message-ID: <377E3715.94BEF931@tiac.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Here's a rudimentary driver which provides basic tablet info to the read
(on /dev/adbtablet) and /proc/adbtablet interfaces.  It's installable as
a module, but don't try to remove it, or the ADB subsys will hang
(there's not yet a method for unregistering ADB handlers).  This was
built for 2.2.X kernels, but will probably run under older ones with
only minor mods.

This can easily be expanded to accomodate other ADB tablets, given the
appropriate data formats.

An added bonus is that it tells you all the default information for any
other ADB devices on your system (dev ID, handler ID, etc).  Useful for
getting the handler ID for non-apple mice.

When I get some time I'll integrate this into the X server...

Tim Wall



[-- Attachment #2: adbtablet.c --]
[-- Type: image/x-xbitmap, Size: 10591 bytes --]

[-- Attachment #3: adbtablet.h --]
[-- Type: image/x-xbitmap, Size: 1711 bytes --]

                 reply	other threads:[~1999-07-03 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=377E3715.94BEF931@tiac.net \
    --to=twall@tiac.net \
    --cc=dadkins@gtcocalcomp.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).