Introduction:

This tutorial will describe how to change the keypress sequence for the main menu of the skin. The keypress sequence defines which is the next icon to be selected corresponding to a specific key press. After this sequence you will be able to change the layout of the main menu and set the sequence for the icons.

This guide is taken from the modmymobile.com forums

Concept:

The keypress sequence is determined by rows 209-260 (for 12 icon main menu). Select the skin in skinner4moto, click on structures and select ROW 209 (ID 61) . The rows represent the sequence as per follows:

ID Logic


61 Right
62 Left
63 Down
64 Up

To change the order to a new order, say the order as below:<

Step 1:
Write down the normal sequence, ie numbers 0-11, each number for 1 icon in the main menu.

Normal: 0 1 2 3 4 5 6 7 8 9 10 11

Step 2:
Define the RIGHT sequence (ID 61)
Now when you press Right from icon 0, you want the selection to go to icon 6. Similarly on pressing Right from icon 1, you want selection to go to icon 7, and so on.

Based on this principle, you can get the values for ID 61 (Right) as below:


Right: 6 7 8 9 10 11 0 1 2 3 4 5

Following on the above logic, we get the values as per the following diagram for all the 4 rows.

Right: (ID 61): 6 7 8 9 10 11 1 2 3 4 5 0

Left: (ID 62): 11 6 7 8 9 10 0 1 2 3 4 5

Down: (ID 63): 1 2 3 4 5 6 7 8 9 10 11 0

Up: (ID 64): 11 0 1 2 3 4 5 6 7 8 9 10

Based on this logic, you can now make the main menu
behave the way you want it!

v3i pic
www.000webhost.com