There are specific configuration and library requirements depending on the target platform you are working with.
The following are specific configurations and considerations for Linux, x86, and armle targets:
This build renders directly to the Linux framebuffer device (/dev/fb0). No other Graphical User Interface should be running when Storyboard is started as it assumes control of the framebuffer device. This build also uses the FreeType library for font loading and rendering.
For the ARM version a plugin is available which supports a touchscreen device through the use of tslib (libgre-plugin-tslib.so). This plugin will use the standard tslib environment variables in order to find and configure the touch device as follows:
It is assumed that the touch device has been configured previously. In order to configure the touch device please run the
ts_calibrate which is part of the tslib distribution or build for Linux systems.
Usually the sbengine mtdev plugin queries and receives the correct information from the touch device. Sometimes, due to manufacturer's not following the correct specifications etc., the touch device does not get initialized correctly and the touch coordinates are off. In that case you need to use the
-omtdev,calibrate option in conjunction with the
mtcalib application to acquire the bounds parameters for screen calibration. To do that you will need to follow these steps:
Get the mtcalib sample from the Crank public SVN. Importing sample projects from Crank's public SVN can be found here.
Run sbengine with the mtcalib sample:
sbengine -omtdev,calibrate mtcalib.gapp
Pass the bounds information that you acquired from the mtcalib application to your original sbengine commandline:
sbengine -omtdev,device=/dev/input/touch0,bounds=0:0:32000:32000 your_app.gapp