示例#1
0
文件: mouse.c 项目: beoran/ralleg5
VALUE rbal_mouse_axes(VALUE rself) {  
  return RBH_UINT_NUM(al_get_mouse_num_axes());
}
示例#2
0
文件: mouse.c 项目: sanikoyes/tools
static int allua_mouse_get_num_axes(lua_State * L)
{
   lua_pushinteger(L, al_get_mouse_num_axes());
   return 1;
}