My webcam snapshot button is supported as an event input device. This is output with gizmod -g:
onEvent: Standard -- /dev/input/event10 | [EV_KEY] <BTN_0> c: 0x100 v: 0x1 <-- pressed
onEvent: Standard -- /dev/input/event10 | [EV_KEY] <BTN_0> c: 0x100 v: 0x0 <-- released
I want use it with application cheese: when I release my snapshot button, gizmod will create a keypress...