2002-08-21 10:23:10 +00:00
|
|
|
__________ __ ___.
|
|
|
|
Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
\/ \/ \/ \/ \/
|
2002-08-21 10:31:10 +00:00
|
|
|
|
|
|
|
How to build the UISimulators
|
2002-08-21 10:23:10 +00:00
|
|
|
|
|
|
|
1. Get Sources
|
|
|
|
|
2007-06-06 20:31:36 +00:00
|
|
|
Get the very latest sources off the SVN server (or possibly get a recent
|
2007-04-09 21:07:12 +00:00
|
|
|
source code tarball).
|
2002-08-21 10:23:10 +00:00
|
|
|
|
2007-04-09 21:07:12 +00:00
|
|
|
All SVN details can be found here:
|
2020-06-07 01:37:17 +00:00
|
|
|
http://www.rockbox.org/wiki/UsingSVN
|
2002-08-21 10:23:10 +00:00
|
|
|
|
|
|
|
2. Build Uisimulator
|
|
|
|
|
|
|
|
Create a new directory and run the 'tools/configure' script in
|
|
|
|
there. Select target to simulate and select simulation. The script will
|
|
|
|
then generate a Makefile for you:
|
|
|
|
|
|
|
|
$ mkdir build-dir
|
|
|
|
$ cd build-dir
|
|
|
|
$ ../tools/configure
|
|
|
|
|
|
|
|
[ answer to questions ]
|
|
|
|
|
2009-01-18 19:30:28 +00:00
|
|
|
[ Makefile created, simdisk subdirectory created ]
|
2002-08-21 10:23:10 +00:00
|
|
|
|
|
|
|
$ make
|
2005-06-26 22:47:19 +00:00
|
|
|
$ make install
|
2002-08-21 10:23:10 +00:00
|
|
|
$ ./rockboxui
|
|
|
|
|
2009-01-18 19:30:28 +00:00
|
|
|
Note that the simulator uses a local subdirectory named 'simdisk' as "root
|
2002-08-21 10:23:10 +00:00
|
|
|
directory" for the simulated box. Copy a bunch of mp3 files into that
|
|
|
|
directory, create subdirectories and do all sorts of things you want to be
|
|
|
|
able to browse when you fire up the simulator.
|
|
|
|
|
|
|
|
3. Run Uisimulator
|
|
|
|
|
|
|
|
To create a simulated disk drive for the simulator to see, create a
|
2009-01-18 19:30:28 +00:00
|
|
|
subdirectory named 'simdisk' and populate it with a bunch of test
|
2002-08-21 10:23:10 +00:00
|
|
|
files/directories.
|
|
|
|
|
|
|
|
Run 'rockboxui'.
|
|
|
|
|
|
|
|
4. Target Keypad Equivalents
|
|
|
|
|
2007-04-09 21:07:12 +00:00
|
|
|
The keyboard's numerical keypad is used to simulate the target keypad. See
|
|
|
|
the output rockboxui displays on start for details.
|
2010-02-16 17:34:48 +00:00
|
|
|
|
|
|
|
5. Mouse Input
|
|
|
|
|
|
|
|
Clicking on the button images on the background will simulate pressing the
|
|
|
|
appropriate buttons. On scroll wheel targts the mouse wheel will simulate
|
|
|
|
scroll wheel motion.
|
|
|
|
|