1
2
3
4
5
6
7 int script_key_is_clicked(int keyid);
8 int script_key_is_pressed(int keyid);
9
10 int camera_is_pressed(int i);
11 int camera_is_clicked(int i);
12 void camera_sleep(long v);
13 void camera_shoot();
14 int md_detect_motion(void);
15 int md_get_cell_diff(int column, int row);
16 int md_get_cell_val(int column, int row);
17 int md_init_motion_detector();
18 void camera_set_raw(int mode);
19 void ubasic_camera_get_raw();
20 void camera_set_nr(int to);
21 int camera_get_nr();
22 void shooting_set_prop(int id, int v);
23 int shooting_get_prop(int id);
24 long stat_get_vbatt();
25 void camera_set_led(int led, int state, int bright);
26 int ubasic_camera_script_autostart();
27 int get_usb_power(int edge);
28 void camera_set_script_autostart(int state);
29 void exit_alt();
30
31 int script_keyid_by_name( const char *name );
32 int force_usb_state(int);
33 struct tm * get_localtime();