;INSTRUCTIONS FOR WRITING THIS FILE:
;**************************************
;
;Aspect*: This is the aspect on which the light should be displayed - there should be a matching section specifying the dimension ratios for this aspect - omitting this key will cause the region to be omitted from the virtual phone
;
;Shape*: Currently supported shapes are: Ellipse, Rectangle - omitting this key or specifying an invalid shape will cause the region to be omitted from the virtual phone
;
;Colour*: All colour values are RGB format so should be specified in hexadecimal as 0xRRGGBB
;
;Left/Top/Right/Bottom*: The bounding positions of the shape in percentage (0 - 100%) format
;
;MsgType: Specify "Control" to send a LIGHT_CONTROL_REQ message; specify "Disco" to send a LIGHT_DISCO_PATTERN_REQ message
;
;Target: All lights in the pattern sent to the phone (as part of the LIGHT_CONTROL_REQ/LIGHT_DISCO_PATTERN_REQ message) that the light region refers to - generally, this should be one high bit only
;
;SameState*: This is all the other LED's that must share the same state as this LED, i.e., any high bit that corresponds to another Target of another LED of the same MsgType - this must be reciprocated between any LED's this applies to
;
;InvState*: This is all the other LED's that must be inverse state to this LED, i.e., any high bit that corresponds to another Target of another LED of the same MsgType - this must be reciprocated between any LED's this applies to
;
;Default*: Whether the initial state of the light should be ON or not (for LIGHT_CONTROL_REQ message types, blinking states cannot be specified, only whether the light is ON or not) - omitting this key will assume initial OFF state
;
;OmitList*: Add this line if the LED should not be listed on the combo box (e.g., if it shares state with a number of other regions)
;
;The following applies to Target, SameState and InvState:
;   - For Control MsgTypes, this must be no greater than an 8-bit value
;   - For Disco MsgTypes, this must be no greater than a 32-bit value
;
; * - These keys may be omitted if not required


;************************************************************************************
;Specify here the ratio of the horizontal aspect to the vertical aspect of the phone
;for every aspect specified by the "Aspect" key for all lights described below
;************************************************************************************
[Front]
XRatio=1 ;this should be an integer
YRatio=2 ;this should be an integer



;************************************************************************************
;Please use the following template section to define further lights to be represented
;************************************************************************************
;[LED]
Aspect     = <e.g., Front>
Shape      = Rectangle
Colour     = 0xFFFFFF
Left       = 0..100
Top        = 0..100
Right      = 0..100
Bottom     = 0..100
MsgType    = Control / Disco
Target     = 0x00 / 0x00000000
;SameState = 0x00 / 0x00000000
;InvState  = 0x00 / 0x00000000
;Default   = On
;OmitList  = Yes



;************************************************************************************
;Custom lights should be put below here...
;It should be noted that overlapping regions will be drawn in reverse order
;precedence (i.e., last region will be drawn last and thus will be top-most)
;************************************************************************************
[Static Bits]
MsgType    = Disco
Target     = 0x00000006
Default    = On
OmitList   = Yes

[All]
MsgType    = Disco
Target     = 0x000007F8

[All Green]
MsgType    = Disco
Target     = 0x000002A8

[All Red]
MsgType    = Disco
Target     = 0x00000550

[Lower Left Green]
Aspect     = Front
Shape      = Rectangle
Colour     = 0x00FF00
Left       = 0
Top        = 95
Right      = 10
Bottom     = 100
MsgType    = Disco
Target     = 0x00000008

[Lower Left Red]
Aspect     = Front
Shape      = Rectangle
Colour     = 0xFF0000
Left       = 0
Top        = 90
Right      = 10
Bottom     = 95
MsgType    = Disco
Target     = 0x00000010


[Lower Right Green]
Aspect     = Front
Shape      = Rectangle
Colour     = 0x00FF00
Left       = 90
Top        = 95
Right      = 100
Bottom     = 100
MsgType    = Disco
Target     = 0x00000020

[Lower Right Red]
Aspect     = Front
Shape      = Rectangle
Colour     = 0xFF0000
Left       = 90
Top        = 90
Right      = 100
Bottom     = 95
MsgType    = Disco
Target     = 0x00000040


[Upper Left Green]
Aspect     = Front
Shape      = Rectangle
Colour     = 0x00FF00
Left       = 0
Top        = 0
Right      = 10
Bottom     = 5
MsgType    = Disco
Target     = 0x00000200

[Upper Left Red]
Aspect     = Front
Shape      = Rectangle
Colour     = 0xFF0000
Left       = 0
Top        = 5
Right      = 10
Bottom     = 10
MsgType    = Disco
Target     = 0x00000400


[Upper Right Green]
Aspect     = Front
Shape      = Rectangle
Colour     = 0x00FF00
Left       = 90
Top        = 0
Right      = 100
Bottom     = 5
MsgType    = Disco
Target     = 0x00000080

[Upper Right Red]
Aspect     = Front
Shape      = Rectangle
Colour     = 0xFF0000
Left       = 90
Top        = 5
Right      = 100
Bottom     = 10
MsgType    = Disco
Target     = 0x00000100


;************************************************************************************
;The following section is pre-defined for the display on the phone
;************************************************************************************
[Display]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=10
Right=90
Bottom=40
MsgType=Control
Target=0x01



;************************************************************************************
;The following sections are pre-defined for the keypad buttons on the phone
;************************************************************************************
[Keypad]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=40
Top=86
Right=60
Bottom=93
MsgType=Control
Target=0x02

[Keypad1]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=59
Right=30
Bottom=66
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad2]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=40
Top=59
Right=60
Bottom=66
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad3]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=70
Top=59
Right=90
Bottom=66
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad4]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=68
Right=30
Bottom=75
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad5]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=40
Top=68
Right=60
Bottom=75
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad6]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=70
Top=68
Right=90
Bottom=75
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad7]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=77
Right=30
Bottom=84
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad8]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=40
Top=77
Right=60
Bottom=84
MsgType=Control
Target=0x02
OmitList=Yes

[Keypad9]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=70
Top=77
Right=90
Bottom=84
MsgType=Control
Target=0x02
OmitList=Yes

[KeypadSend]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=50
Right=30
Bottom=57
MsgType=Control
Target=0x02
OmitList=Yes

[KeypadEnd]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=70
Top=50
Right=90
Bottom=57
MsgType=Control
Target=0x02
OmitList=Yes

[KeypadStar]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=10
Top=86
Right=30
Bottom=93
MsgType=Control
Target=0x02
OmitList=Yes

[KeypadHash]
Aspect=Front
Shape=Rectangle
Colour=0xFFFFFF
Left=70
Top=86
Right=90
Bottom=93
MsgType=Control
Target=0x02
OmitList=Yes