Description
The vibrator.dll provides a C++ interface to the vibrating feature of the SonyEricsson P800.
Licensing
You are allowed to use this library in any of your programs, but you are asked to send a free
copy of your program to the author of the API. Thanks.
Files Provided
vibrator.dll: The DLL, must be copied to the P800,
vibrator.h: Header file for including into own project,
vibrator.lib: Import library for the DLL, for linking to own project,
vibratorexample.exe: Example executable, for testing on the P800 (in same directory as vibrator.dll on the P800)
bld.inf, vibratorexample.mmb: Project file for compiling the example
vibratorexample.cpp,commonframework.h: Source of the example
readme.txt: Similar content as this article
Usage
For information how to use this interface look into the example; I think it is not necessary
to write a dedicated interface documentation.
Only some notes:
CVibrator::Vibrate takes 3 parameters, I pass it directly to the Vibra driver from SE, I do not know
what they exactly do. I think the third parameter represents the length of the vibration. Changing the
other two parameters had no effect.
A installed and started CActiveScheduler is needed. When it is not started between Vibrate() calls,
it will vibrate only the first time.
The DLL, the LIB and the example EXE are THUMB release builds.
Bugs
If you find a bug or need more information please send an email to muh-kuh@aon.at
History
1.0.0 First released version
Copyright Statement
Copyright 2003 by Bernhard C. Schrenk
Your are authorized to redistribute this software if you include all listed files. You are NOT authorized to modify this software or the readme file. If you use this library in your own software you are allowed to redistribute the vibrator.dll with your software without the need of distributing the other files.
Legal Statement
This software is provided by Bernhard C. Schrenk ’AS IS’ and
any express or implied warranties, including, but not limited to, the
implied warranties of merchantability and fitness for a particular purpose
are disclaimed. In no event shall the author or contributors be liable
for any direct, indirect, incidental, special, exemplary, or consequential
damages (including, but not limited to, procurement of substitute goods
or services; loss of use, data, or profits; or business interruption)
however caused and on any theory of liability, whether in contract, strict
liability, or tort (including negligence or otherwise) arising in any way
out of the use of this software, even if advised of the possibility of
such damage.
|