equal
deleted
inserted
replaced
1 // widget_keypad.ysl2 |
1 // widget_keypad.ysl2 |
|
2 |
|
3 widget_desc("Keypad") { |
|
4 longdesc |
|
5 || |
|
6 Keypad - to be written |
|
7 || |
|
8 |
|
9 shortdesc > Keypad |
|
10 |
|
11 arg name="supported_types" accepts="string" > keypad can input those types |
|
12 |
|
13 } |
2 |
14 |
3 emit "declarations:keypad" { |
15 emit "declarations:keypad" { |
4 | |
16 | |
5 | var keypads = { |
17 | var keypads = { |
6 foreach "$keypads_descs"{ |
18 foreach "$keypads_descs"{ |
109 } |
121 } |
110 } |
122 } |
111 || |
123 || |
112 |
124 |
113 widget_defs("Keypad") { |
125 widget_defs("Keypad") { |
114 param "hmi_element"; |
|
115 labels("Esc Enter BackSpace Keys Info Value"); |
126 labels("Esc Enter BackSpace Keys Info Value"); |
116 optional_labels("Sign Space NumDot"); |
127 optional_labels("Sign Space NumDot"); |
117 activable_labels("CapsLock Shift"); |
128 activable_labels("CapsLock Shift"); |
118 | init: function() { |
129 | init: function() { |
119 foreach "$hmi_element/*[@inkscape:label = 'Keys']/*" { |
130 foreach "$hmi_element/*[@inkscape:label = 'Keys']/*" { |