Re: [sensors] Device Proximity (was: Device light and proximity sensor)

On May 9, 2012, at 2:13 PM, Tran, Dzung D wrote:

>> So, what I agreed with jonas about was a new event that only fired when there was a transition between near and far.  device proximity for something that was more advanced.  <insert this new event name here> for something really simple. 
> 
>> Thoughts?
> 
> What I am afraid of is that browsers going to interpret far versus near differently on the same device. I rather to give the control to the programmer to interpret base on value, min, max.

Exactly.  That is why I resist the new event -- and having things like 'near' and 'far'.  I'd rather report exactly what I know over hiding the things I know behind named strings.

Doug

Received on Wednesday, 9 May 2012 21:21:50 UTC