home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!sunic!liuida!c90davby
- From: c90davby@odalix.ida.liu.se (David C Byers)
- Subject: Faking key presses
- Message-ID: <1992Aug21.142015.6577@ida.liu.se>
- Summary: Need help on how to fake key presses thorougly enough to fool everybody
- Keywords: keyboard, system, ADB, keyboard
- Sender: news@ida.liu.se
- Organization: CIS Dept, Univ of Linkoping, Sweden
- Date: Fri, 21 Aug 1992 14:20:15 GMT
- Lines: 21
-
- I am considering building a simple ADB device which is supposed to
- emulate parts of the keyboard. Which parts are to be controlled in
- software, so I need a way to fool the entire system that a key has
- been pressed.
-
- The best way to do this seems to be talking to the ADB driver for the
- regular keyboard, but there are still problems.
- 1. What if there is not keyboard installed? What happens?
- 2. How do I stay compatible with nonstandard keyboards and future
- releases from Apple.
-
- If somebody has code that does something similar to what I want to do,
- I would really appreciate seeing it. If somebody has helpful ideas or
- just pointers to literature, I would appreciate that too.
-
- If I finish my project, the results will be made freely available to
- the net.
- --
- David Byers Ryds Alle' 9:204
- byers@lysator.liu.se S-58251 Linkoping
- c90davby@und.ida.liu.se SWEDEN
-