forked from mirrors/gecko-dev
Bug 1851529 - Fixup comments in hal/cocoa/smslib.mm r=andi
Differential Revision: https://phabricator.services.mozilla.com/D187638
This commit is contained in:
parent
fd2c6e6e34
commit
6bd62cf05f
1 changed files with 12 additions and 13 deletions
|
|
@ -80,21 +80,20 @@ typedef struct sensorSpec {
|
||||||
//
|
//
|
||||||
// These values came from SeisMaCalibrate calibration reports. In general I've
|
// These values came from SeisMaCalibrate calibration reports. In general I've
|
||||||
// found the following:
|
// found the following:
|
||||||
// - All Intel-based SMSs have 250 counts per g, centered on 0, but the
|
// - All Intel-based SMSs have 250 counts per g, centered on 0, but the signs
|
||||||
// signs are different (and in one case two axes are swapped)
|
// are different (and in one case two axes are swapped)
|
||||||
// - PowerBooks and iBooks all have sensors centered on 0, and reading
|
// - PowerBooks and iBooks all have sensors centered on 0, and reading 50-53
|
||||||
// 50-53 steps per gravity (but with differing polarities!)
|
// steps per gravity (but with differing polarities!)
|
||||||
// - PowerBooks and iBooks of the same model all have the same axis
|
// - PowerBooks and iBooks of the same model all have the same axis polarities
|
||||||
// polarities
|
|
||||||
// - PowerBook and iBook access methods are model- and OS version-specific
|
// - PowerBook and iBook access methods are model- and OS version-specific
|
||||||
//
|
//
|
||||||
// So, the sequence of tests is:
|
// So, the sequence of tests is:
|
||||||
// - Try model-specific access methods. Note that the test is for a match
|
// - Try model-specific access methods. Note that the test is for a match to the
|
||||||
// to the beginning of the model name, e.g. the record with model name
|
// beginning of the model name, e.g. the record with model name "MacBook"
|
||||||
// "MacBook" matches computer models "MacBookPro1,2" and "MacBook1,1" (and ""
|
// matches computer models "MacBookPro1,2" and "MacBook1,1" (and "" matches
|
||||||
// matches any model).
|
// any model).
|
||||||
// - If no model-specific record's access fails, then try each
|
// - If no model-specific record's access fails, then try each model-independent
|
||||||
// model-independent access method in order, stopping when one works.
|
// method in order, stopping when one works.
|
||||||
static const sensorSpec sensors[] = {
|
static const sensorSpec sensors[] = {
|
||||||
// ****** Model-dependent methods ******
|
// ****** Model-dependent methods ******
|
||||||
// The PowerBook5,6 is one of the G4 models that seems to lose
|
// The PowerBook5,6 is one of the G4 models that seems to lose
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue