1 #ifndef SCRIPT_KEY_FUNCS_H 2 #define SCRIPT_KEY_FUNCS_H 3 4 // CHDK Script interface 5 6 // Note: used in modules and platform independent code. 7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values) 8 9 //------------------------------------------------------------------- 10 __attribute__((short_call)) int script_key_is_pressed( int keyid ); 11 __attribute__((short_call)) int script_key_is_clicked( int keyid ); 12 __attribute__((short_call)) int script_keyid_by_name( const char *name ); 13 //------------------------------------------------------------------- 14 15 #endif