Input: uvc - the button on the camera is KEY_CAMERA
authorBastien Nocera <hadess@hadess.net>
Sun, 11 Jan 2009 07:44:22 +0000 (23:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 11 Jan 2009 07:46:14 +0000 (23:46 -0800)
commit74ca11c2056d01d9ebb3615cd781a148450c3c82
treed09bcb1ca0896c5bbc9ec3224ddc3008e55378c7
parent3c0340b774916caa4149892504169d290c8a720a
Input: uvc - the button on the camera is KEY_CAMERA

Cameras should generate KEY_CAMERA, not BTN_0. Also call input_sync()
on the device once the button has been pressed.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/media/video/uvc/uvc_status.c