Re: Re: [SDL] joystick on enbedded linux
higsn
higsn at 163.com
Tue May 25 05:46:29 PDT 2004
thank gabry!
To use qtopia support in SDL I use this script to configure my SDL-1.2.7.
NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --enable-video-qtopia --enable-joystick --disable-video-dummy --disable-video-fbcon --disable-video-x11 --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-nasm --prefix=/home/sgj/armsdl --target=arm-unknown-linux-gnu --host=arm-unknown-linux-gnu
Do you mean that I shouldn't use disable-video-dummy?
if I use the "dummy" one. It just return a zero_value with SDL_joysticknums set by zero. Then I can't get real joysticknum and thus I can't open this joystick.
In other word, if I configure SDL with enable-video-dummy. Do joystick_related functions will invoke the right functions in the right subdir ?
thanks once again!
> higsn wrote:
>
> > ps: what is "lowlevel.library" used in SDL_SYS_JoystickInit() mean ?
>
> lowlevel.library is a library to handle AmigaOS/MorphOS digital/analog
> joysticks and joypads, obviously it's only relevant for the AmigaOS
> version of SDL so it seems that the SDL_sysjoystick.c you are using in
> your build is the "amiga" subfolder one and not the "dummy" one as it
> should be.
>
> Maybe there is a bug in the cross-configure script?
>
> Bye,
> Gabry
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>
========================================================
AOC请您现场看奥运----2004 AOC 奥运助威团! http://design.163.com/aocmonitor/index.html
真情回馈 超值优惠 VIP邮箱买一送四 买三送十二! http://vip.163.com
中国最大的免费邮箱在等你 25兆空间4兆附件! http://mail.163.com
点击网易泡泡惊喜无限 全免费手机短信任你发! http://popo.163.com
More information about the SDL
mailing list