home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon WΣtte)
- Subject: Re: Mac keyboard driver?
- Message-ID: <1993Jan26.160158.12003@kth.se>
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: dront.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <1k2s4vINN39i@golem.wcc.govt.nz>
- Date: Tue, 26 Jan 1993 16:01:58 GMT
- Lines: 39
-
- In <1k2s4vINN39i@golem.wcc.govt.nz> bennett_w@kosmos.wcc.govt.nz (William Francis Bennett) writes:
-
- >I'm porting an application from Windows to Mac, so far with a lot of success,
- >but I can't find any reference to the Mac's keyboard driver.
- >Is there such a thing?
-
- Yes, and it's not documented, for good reasons.
-
- >In particular, I'm looking to read a keystroke sequence - such as the plus key
- >followed by the star key (on the numeric pad) to trigger an action.
-
- Try looking up NGetTrapAddress, NSetTrapAddress, PostEvent and PPostEvent
- - or, even better, look up the jGNEFilter. You also will need to know
- how to write an INIT.
-
- This is stuff that you need to write real extra special careful, or
- users will return years later to haunt you. It's very powerful,
- though.
-
- I recommend getting ahold of all volumes of Inside Macintosh, of
- the TechNote stack, and both the comp.sys.mac.programmer FAQ and
- the UseNet Mac Programmers Guide. A subscription to _Develop_ is
- only $30/year, and will give you the developer CD that's a MUST
- for Mac developers (you also have to get a CD ROM, of course)
-
- Note that this advice applies ESPECIALLY if you're a commercial
- developer, even the FAQ will help you across several pitfalls.
-
- If you're commercial, and can't even cough up the $400 for a
- CD ROM, forget it. Mac users demand better stability and devotion
- than that.
-
- Cheers,
-
- / h+
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
-
- This article printed on 100% recycled electrons.
-