after some quick grepping on the source:
./core/luascript.c-static int luaCB_is_pressed( lua_State* L )
./core/luascript.c-{
./core/luascript.c: lua_pushboolean( L, ubasic_camera_is_pressed(luaL_checkstring( L, 1 )));
./core/luascript.c- return 1;
./core/luascript.c-}
./core/kbd.c:int ubasic_camera_is_pressed(const char *s)
./core/kbd.c-{
./core/kbd.c- long k = keyid_by_name(s);
./core/kbd.c- if (k==0xFF) return get_usb_power(1);
./core/kbd.c- if (k > 0) {
./core/kbd.c- return (kbd_is_key_pressed(k));
./core/kbd.c- } else {
./core/kbd.c- ubasic_error = 3;
./core/kbd.c- }
./core/kbd.c- return 0;
./core/kbd.c-}
./core/kbd.c:} keynames[] = {
./core/kbd.c- { KEY_UP, "up" },
./core/kbd.c- { KEY_DOWN, "down" },
./core/kbd.c- { KEY_LEFT, "left" },
./core/kbd.c- { KEY_RIGHT, "right" },
./core/kbd.c- { KEY_SET, "set" },
./core/kbd.c- { KEY_SHOOT_HALF, "shoot_half" },
./core/kbd.c- { KEY_SHOOT_FULL, "shoot_full" },
./core/kbd.c- { KEY_ZOOM_IN, "zoom_in" },
./core/kbd.c- { KEY_ZOOM_OUT, "zoom_out" },
./core/kbd.c- { KEY_MENU, "menu" },
./core/kbd.c- { KEY_DISPLAY, "display" },
./core/kbd.c- { KEY_PRINT, "print" },
./core/kbd.c- { KEY_ERASE, "erase" },
./core/kbd.c- { KEY_ISO, "iso" },
./core/kbd.c- { KEY_FLASH, "flash" },
./core/kbd.c- { KEY_MF, "mf" },
./core/kbd.c- { KEY_MACRO, "macro" },
./core/kbd.c- { KEY_VIDEO, "video" },
./core/kbd.c- { KEY_TIMER, "timer" },
./core/kbd.c- { KEY_EXPO_CORR, "expo_corr" },
./core/kbd.c- { KEY_MICROPHONE, "fe" },
./core/kbd.c- { 0xFF, "remote" },
./core/kbd.c- { 0xFFFF, "no_key" },
./core/kbd.c-};
The keylist should also be in wiki.
Take a look at the example scripts.