Archive for June, 2006

Receiving, Filtering, and Modifying Keyboard Events

Wednesday, June 28th, 2006

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.

Some Clarifications

Thursday, June 22nd, 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 [...]

Finally…

Wednesday, June 21st, 2006

I received the book—the publisher overnighted me a copy. Next to two of the books I respect.

The Book is Published Now

Tuesday, June 20th, 2006

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 [...]

Experimenting With Light On Apple Notebook Computers

Sunday, June 18th, 2006

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 [...]

The Ambient Light Sensor

Friday, June 16th, 2006

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.

A Few Days Left…

Wednesday, June 14th, 2006

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.

Receiving, Filtering, and Modifying Mouse Events

Saturday, June 10th, 2006

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.


All contents of this site, unless otherwise noted, are ©1994-2014 Amit Singh. All Rights Reserved.