Re: Next step for DAP Ambient Light Events

I am not sure I follow what your worry is.  Suppose we have a sensor who's range is only inside one of the defined 'types'.  Implementation would still fire change notifications when the lux value changes.

Doug


----- Original Message -----
From: "Dzung D Tran" <dzung.d.tran@intel.com>
To: "Doug Turner" <dougt@mozilla.com>, "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org, public-device-apis@w3.org
Sent: Friday, August 24, 2012 3:10:32 PM
Subject: RE: Next step for DAP Ambient Light Events

My thoughts:

Ambient light sensors have different range in lux depending on the manufacture and type of use.  I don't know if it makes sense to map these values into "type".

Just a couple data point from googling..:

http://www.maxim-ic.com/datasheet/index.mvp/id/7175
http://www.intersil.com/en/products/optoelectronics/ambient-light-and-proximity-sensors/light-to-digital-sensors/ISL29011.html


Thanks


-----Original Message-----
From: Doug Turner [mailto:dougt@mozilla.com] 
Sent: Wednesday, August 22, 2012 10:40 PM
To: Daniel Glazman
Cc: www-style@w3.org; public-device-apis@w3.org
Subject: Re: Next step for DAP Ambient Light Events

We might consider exposing a string 'type' to the light event that matches what was outlined by [1].  I think I would be okay with that as so long as it was an optional field of the event.

Thoughts?

----- Original Message -----
From: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
To: public-device-apis@w3.org
Cc: www-style@w3.org
Sent: Wednesday, August 22, 2012 11:26:12 AM
Subject: Re: Next step for DAP Ambient Light Events

Le 22/08/12 17:43, Frederick.Hirsch@nokia.com a écrit :

> Doug
>
> What is the next step for the Ambient Light Events [1]?
>
> It seems we need to incorporate some changes related to levels of 
> lighting, and it looks like the conversation on the list has reached a 
> conclusion, is the following a proposal to work from: 
> http://fremycompany.com/BG/2012/Ambient-light-sensors-and-CSS-Media-Qu
> eries-971/

Maybe this is more on the CSS WG side with help from your WG.
We could start discussing that for our next level of Media Queries and have you involved to be sure it's consistent with the API.
I'm not sure we need a joint effort here. What you think? Doug?

</Daniel>
--
W3C CSS Working Group, Co-chair

Received on Monday, 27 August 2012 03:46:54 UTC