SDL Water: Difference between revisions

From ArmadeusWiki
Line 10: Line 10:


==Usage==
==Usage==
* You must have an external keyboard (USB or PS/2) connected to your board to control the application or a touchscreen to draw circles in the water.
* If you have a Touchscreen, then say SDL first to use it as mouse:
<pre class=apf>
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
</pre>
* To launch the demo:
<pre class=apf>
<pre class=apf>
# cd /usr/bin
# cd /usr/bin
# water
# water
</pre>
</pre>
* You must have an external keyboard (USB or PS/2) connected to your board to control the application or a touchscreen to draw circles in the water.


==Links==
==Links==

Revision as of 18:00, 28 January 2009

Water is a small SDL applications that shows the famous demomaker's "Water effect".

Installation

  • SDL should be already configured
  • Launch Buildroot's configuration:
$ make menuconfig
Package Selection for the target  --->
    [*] Graphic libraries and applications (graphic/text)  --->
        [*]   SDL_water

Usage

  • You must have an external keyboard (USB or PS/2) connected to your board to control the application or a touchscreen to draw circles in the water.
  • If you have a Touchscreen, then say SDL first to use it as mouse:
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
  • To launch the demo:
# cd /usr/bin
# water

Links