Reducing Keyboard Poll to less than 10 msecs - General Discussion and Assistance - CHDK Forum  

Reducing Keyboard Poll to less than 10 msecs

  • 0 Replies
  • 2360 Views
Reducing Keyboard Poll to less than 10 msecs
« on: 19 / December / 2007, 04:43:22 »
Advertisements
Crunchy-3d and myself are trying to get two cameras to 'shoot' photos at the same time ... or as near the same time as possible.

The keyboard routine detects voltage on the USB and then calls kbd_key_press(KEY_SHOOT_FULL).
That directly alters hardware register physw_status[2] and the Canon firmware somehow fires the shutter.
In \platform\generic\kbd.c\mykbd_task_proceed(), we have tried changeing _SleepTask(10) to _SleepTask(5) but it makes no difference.

Q1. How can we speed-up keyboard poll ?
Q2. How do you try to find function that directly operates shutter ?
Q3. All platform kbd.c include generic kbd.c.
      When should code be in core kbd.c ?


Thanks.


David

 

Related Topics