Did some minor testing, got my name in the Chromium source code


Chromium has a Javascript library for detecting orientation in devices like phones, tablets and laptops that have accelerometers. I ran into an engineer at a meeting who needed some help testing this library on a specific Mac laptop that I had access to. Unfortunately, I didn't contribute any code, but I did get my name committed to the Chromium source code in a comment.

If you a reading this post on a MacBook Pro using the latest build of Chromium Mac try out the technology. Everyone else can watch a video of someone else trying it out.

const AccelerometerMac::SensorDescriptor
    AccelerometerMac::kSupportedSensors[] = {
  // Tested by tommyw on a 13" MacBook.
  { "MacBook1,1",    NULL, { { 0, true  }, { 2, true  }, { 4, false } } },
 
  // Tested by S.Selz. (via avi) on a 13" MacBook.
  { "MacBook2,1",    NULL, { { 0, true  }, { 2, false }, { 4, true  } } },
 
  // Tested by verhees on a 13" MacBook.
  { "MacBook3,1",    NULL, { { 0, true  }, { 2, true  }, { 4, false } } },
 
  // Tested by adlr on a 13" MacBook.
  { "MacBook4,1",    NULL, { { 0, true  }, { 2, true  }, { 4, false } } },
 
  // Tested by thakis on a 13" MacBook.
  { "MacBook5,1",    NULL, { { 0, true  }, { 2, true  }, { 4, false } } },
 
  // Tested by Adam Gerson (via avi) on a 13" MacBook.
  { "MacBook5,2",    NULL, { { 0, false }, { 2, true  }, { 4, true  } } },


http://src.chromium.org/viewvc/chrome/trunk/src/content/browser/device_orientation/accelerometer_mac.cc?view=markup
© 2011 Adam Gerson.