* Melchior FRANZ -- Tuesday 01 December 2009: > $ evtest /dev/input/event6
Most of you probably knew this (especially those who coded it :-), but I only realized later: The snapshot button isn't only reported via kernel event, but is also sent as a regular X key event. It has keycode 187, but no keysym assigned. I get this in xev: KeyPress event, serial 29, synthetic NO, window 0x9400001, root 0x13c, subw 0x0, time 6746485, (113,93), root:(759,93), state 0x0, keycode 187 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False I didn't find a reserved keysym for webcam snapshot buttons. Is there any software that listens to that by default? In the meantime I just assigned letter "s" to the key (by adding this to the ~/.Xmodmap: "keycode 187 = s"). Now at least luvcview knows how to take snapshots. Unfortunately, the key is only reported when the camera is already in recording mode. m. _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel