예제 #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;
}