kim1: add sst switch, add window border for keypad

This commit is contained in:
hap 2023-12-21 14:29:52 +01:00
parent b1e2be4cdb
commit 4171985604

View File

@ -279,6 +279,25 @@ license:CC0-1.0
</text> </text>
</element> </element>
<element name="swsst">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.25" green="0.25" blue="0.25" />
</rect>
<rect state="0">
<bounds left="0.05" top="0.05" right="0.95" bottom="0.95" />
<color red="0.4" green="0.4" blue="0.4" />
</rect>
<rect state="1">
<bounds left="0.05" top="0.05" right="0.95" bottom="0.95" />
<color red="0.1" green="0.1" blue="0.1" />
</rect>
<text string="SST">
<bounds left="0.1" top="0.15" right="0.9" bottom="0.85" />
<color red="1" green="1" blue="1" />
</text>
</element>
<group name="leds"> <group name="leds">
<!-- LED address display --> <!-- LED address display -->
<element name="digit0" ref="digit"> <element name="digit0" ref="digit">
@ -313,6 +332,9 @@ license:CC0-1.0
<element ref="keyrs" inputtag="SPECIAL" inputmask="0x02"> <element ref="keyrs" inputtag="SPECIAL" inputmask="0x02">
<bounds x="10" y="0" width="4" height="4" /> <bounds x="10" y="0" width="4" height="4" />
</element> </element>
<element ref="swsst" inputtag="SPECIAL" inputmask="0x04">
<bounds x="15" y="0" width="4" height="4" />
</element>
<element ref="keyad" inputtag="ROW2" inputmask="0x10"> <element ref="keyad" inputtag="ROW2" inputmask="0x10">
<bounds x="0" y="5" width="4" height="4" /> <bounds x="0" y="5" width="4" height="4" />
@ -381,12 +403,14 @@ license:CC0-1.0
</group> </group>
<view name="Keypad and LEDs"> <view name="Keypad and LEDs">
<bounds left="0" top="0" right="134" bottom="234" />
<group ref="leds"> <group ref="leds">
<bounds x="0" y="0" width="114" height="25" /> <bounds x="10" y="10" width="114" height="25" />
</group> </group>
<group ref="keypad"> <group ref="keypad">
<bounds x="0" y="40" width="114" height="174" /> <bounds x="10" y="50" width="114" height="174" />
</group> </group>
</view> </view>
@ -397,16 +421,18 @@ license:CC0-1.0
</view> </view>
<view name="Keypad, LEDs and Screen"> <view name="Keypad, LEDs and Screen">
<bounds left="0" top="0" right="446" bottom="234" />
<group ref="leds"> <group ref="leds">
<bounds x="0" y="0" width="114" height="25" /> <bounds x="10" y="10" width="114" height="25" />
</group> </group>
<group ref="keypad"> <group ref="keypad">
<bounds x="0" y="39" width="114" height="174" /> <bounds x="10" y="50" width="114" height="174" />
</group> </group>
<screen index="0"> <screen index="0">
<bounds x="128" y="0" width="284" height="213" /> <bounds x="134" y="0" width="312" height="234" />
</screen> </screen>
</view> </view>
</mamelayout> </mamelayout>