I am trying to setup a new USB remote mode which will allow me to say on "half shoot" mode indefinitely. Essentially I want it to do the normal half shoot on power, then shoot on release, but then stay in half shoot (a bit like rsint mode).
I added a new control mode to usb_module.c, increased the number of modes. I essentially made a new control mode which is identical to "normal" but returns to the half state after full (so never goes to release). This "works" in that I can tell the driver is not returning to the release state, but something else appears to release the half_shoot button after the shot gets taken.
Any ideas? It looks like kbd_process.c blocks the keyboard when the usb remote is active (which is fine). Since my control mode state never returns to RELEASE it should remain blocked right?
Somewhere there is a piece of code that is releasing the half shoot when I don't want to... if anyone has any ideas I would be grateful!