7.2 CHANGING THE ICON (BRN) FOR A BUTTON
Image files can be placed anywhere on the device and the Cube will still display them.
For example, with the iCube I placed all of the button icons in the folder "\My Documents\iCube\Icons". As long as your
registry values IconPath and IconPressPath point to the correct file, the Cube will display it.
Several interesting things can be done with basic registry edits.
7.3 OPENING A WEB PAGE USING A BUTTON
You can open a webpage from a button by putting "\Windows\iexplore.exe" as the value for Path, and then the website's address
as the value for Param (
www.ppcgeeks.com)
7.4 OPENING A FOLDER USING A BUTTON
You can open a Folder (Games, My Documents, Storage Card,...) by putting "\Windows\fexplore.exe" as the value for Path, and
then the folder's location as the Param (\Windows\Start Menu\Programs\Games).
7.5 MISCELLANEOUS REGISTRY EDITS
Here we will briefly discuss miscellaneous registry edits that affect the Cube. All edits are found in
HKEY_LOCAL_MACHINE>Software>HTC>Bitouch>Biotouch (in alphabetical order).
CurrentCube: This value determines which side of the Cube will come up first after a soft reset.
DownFPS: This value determines how fast the Cube goes down after a down finger swipe. FPS= Frames Per Second
LeftRightFPS: This value determines how fast the Cube goes left or right after a side finger swipe. FPS= Frames Per Second
LightFPS: This value determines how fast the backlight fades in when the Cube is brought up.
TotalBMP: This value tells the Cube how many total Frames the animation will have.
TotalCubes: This value determines how many sides the Cube will have.
UpFPS: This value determines how fast the Cube goes up after an up finger swipe. FPS= Frames Per Second
08 ADVANCED REGISTRY EDITS
Now comes the hard stuff. We'll be talking about adding buttons to the Cube, adding sides to the Cube, and the Cube
Animation, Including Binary data.
8.1 ADDING BUTTONS TO THE CUBE
Adding buttons is easier than you think. You need to resize all of the buttons to accomodate adding a button, so a little
math is involved.
For example: Say you are making the Application Launcher side of your Cube have 8 buttons instead of 6. And let's say you
want to have two vertical columns of 4. You would Add two buttons (App7 and App
along with all of the parameters (Height,
Icon Path, ...) to the APLauncher Key.
Now you would need to resize all of your existing buttons and move them up. Each button would need to be 120 pixels wide and
80 pixels high.
Also you will need to figure out where the top-right corner of each button will be, giving you your xPos and yPos.
In this case the xPos and yPos of each button would be:
App0: xPos=0 yPos=0
App1: xPos=0 yPos=80
App2: xPos=0 yPos=160
App3: xPos=0 yPos=240
App4: xPos=80 yPos=0
App5: xPos=80 yPos=80
App6: xPos=80 yPos=160
App7: xPos=80 yPos=240
Giving us an arrangment of buttons like this:
App0 App4
App1 App5
App2 Ap6
App3 App7