Difference between revisions of "SDL Water"
From ArmadeusWiki
m (→Usage) |
m (→Links) |
||
Line 23: | Line 23: | ||
==Links== | ==Links== | ||
+ | * [[Tslib|Touchscreen library configuration]] | ||
* [[SDL_Development]] | * [[SDL_Development]] | ||
+ | * [[USB_Host#USB_keyboard.2Fmouse_.28HID:_Human_Interface_Device.29| How to connect an USB keyboard]] | ||
+ | * [[PS/2|How to connect a PS/2 keyboard]] | ||
[[Category:SDL]] | [[Category:SDL]] |
Revision as of 17:04, 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