void Mouse::SetPosition(double x, double y, double z, double w) { al_set_mouse_xy(_parent_display, x, y); al_set_mouse_z(x); al_set_mouse_w(w); _position = a2de::Vector4D(x, y, z, w); }
static int allua_mouse_set_w(lua_State * L) { int w = luaL_checkint(L, 1); lua_pushboolean(L, al_set_mouse_w(w)); return 1; }