This source code is an example of programmatically receiving keyboard events, with the option of filtering and modifying them, on Mac OS X 10.4 and up.
Archive for June, 2006
I have received some queries regarding differing page counts and publication dates being reported by several retailers. Some people are wondering if the “European edition” (there is no such thing) has fewer pages, etc. Well, it’s just that some retailers’ information is not up-to-date. The correct details are as follows: Â The book has already been [...]
I received the bookâ€”the publisher overnighted me a copy. Next to two of the books I respect.
The book’s status is officially “published”â€”as stated on Addison-Wesley’s page for the book. Note also that it is listed as shipping. Amazon’s page usually takes some time to sync. If I understand things correctly, stores should have it soon enoughâ€”after whatever time it takes to ship, etc. Happy reading… PS: No, I don’t have a [...]
Since I keep receiving queries on accessing the light-related data associated with the ambient light sensor and the backlit keyboard on Apple notebook computers, here is a more detailed discussion, along with source code, on performing the following operations. Retrieving readings from the ambient light sensor Retrieving and setting the LED brightness value of the [...]
Besides the sudden motion sensor, Apple notebook computers contain other sensors (depending on the specific model). These other sensors can also be queried by user programs. This is a crude example that periodically retrieves readings from the ambient light sensors.
I received these in the mail today. Note that unlike the two volumes shown here, the final book is a single unit and is hardbound. The latter uses higher quality and thinner paper, so it is possible to fit everything into one unit.
Since someone asked: this source code is an example of programmatically receiving mouse events, with the option of filtering and modifying them, on Mac OS X 10.4 and up.