임베디드/S3C6410
[s3c6410] SDL + tslib 환경 설정값
shellbt
2011. 3. 15. 15:17
SDL 과 tslib을 같이 사용하기 위해서는 환경 설정값이 필요하다.
하나라도 빠지게 되면 sdl상에서의 마우스 움직임이 틀려진다.
- TSLIB
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_FBDEVICE=/dev/fb0
- SDL
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=/dev/input/event1
* tslib의 calibration 데이터 file : /etc/pointercal
* 위 데이터는 ts_calibration을 해주면 생성되게 된다.
하나라도 빠지게 되면 sdl상에서의 마우스 움직임이 틀려진다.
- TSLIB
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_FBDEVICE=/dev/fb0
- SDL
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=/dev/input/event1
* tslib의 calibration 데이터 file : /etc/pointercal
* 위 데이터는 ts_calibration을 해주면 생성되게 된다.