src/lua-bindings/wrap_imgui_codegen.cpp
/*  uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate */
uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
uses provided repeat rate / delay . return a count most often 0 or 1 but might be > 1 if RepeatRate is small enough that DeltaTime > RepeatRate
int w_GetKeyPressedAmount(lua_State *L)
{
	auto key_index = luaL_checkint(L, 1);
	auto repeat_delay = luax_checkfloat(L, 2);
	auto rate = luax_checkfloat(L, 3);
	int out = ImGui::GetKeyPressedAmount(key_index, repeat_delay, rate);
	lua_pushinteger(L, out);
	return 1;
}
int w_GetKeyPressedAmount ( lua_State * L ) { auto key_index = luaL_checkint ( L , 1 ) ; auto repeat_delay = luax_checkfloat ( L , 2 ) ; auto rate = luax_checkfloat ( L , 3 ) ; int out = ImGui :: GetKeyPressedAmount ( key_index , repeat_delay , rate ) ; lua_pushinteger ( L , out ) ; return 1 ; }
uses provided repeat rate/delay.
uses provided repeat rate / delay .