1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

-Added yield nodes to visual script

-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
This commit is contained in:
Juan Linietsky
2016-08-07 19:22:33 -03:00
parent 6671c6bdc7
commit b77200728e
20 changed files with 2488 additions and 148 deletions

View File

@@ -429,6 +429,27 @@ static const _KeyCodeReplace _keycode_replace_neo[]={
{0,0}
};
int keycode_get_count() {
const _KeyCodeText *kct =&_keycodes[0];
int count=0;
while(kct->text) {
count++;
kct++;
}
return count;
}
int keycode_get_value_by_index(int p_index) {
_keycodes[p_index].code;
}
const char* keycode_get_name_by_index(int p_index) {
return _keycodes[p_index].text;
}
int latin_keyboard_keycode_convert(int p_keycode) {