News for hackers. Stuff that matters.
Re:Unlock your Mac without typing a thing by 25cf on Wednesday November 06, 2013 @08:48PM (#6686958)
Does anyone have any idea how the phone detects knocks and differentiates it from, say, rolling around in your backpack? I know the LG G2 also has a "knock detection", e.g. the phone turns on when you knock on it twice. I want this feature in one of my apps so I'm just curious about how this is done.
Re:Unlock your Mac without typing a thing by holyjaw on Thursday November 07, 2013 @12:45PM (#6690894)
I'd assume the accelerometer is able to differentiate between the sharp staccato of a rapping of the knuckles vs. the steady circular motion of rolling.