View Single Post
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#12
Originally Posted by mehdiE View Post
I was thinking of using the Camera button as a shortcut but that's even better. The camera button would have been a bit tricky to get to. Well done.
For the camera button, there's camkeyd

It seems that for some reason the proximity sensor is not available through HAL like the buttons. There is a "platform_proximity" device but it shows no activity through lshal -s -m. I'm just suggesting that using HAL callbacks might be a better alternative to polling (if it is really available via HAL)

Last edited by hqh; 2009-12-03 at 16:24.
 

The Following 4 Users Say Thank You to hqh For This Useful Post: