How can i make Volume Buttons? (1 Viewer)

Harley

Retired Team Member
  • Premium Supporter
  • May 7, 2004
    2,053
    1,993
    Germany
    Home Country
    Germany Germany
    Hi,

    I would make Buttons on the Skin for Volume Up and Volume Down.
    But it doesn´t work.
    Can someone help me?
    I have made this, wat´s wrong?

    <control>
    <description>volume up button</description>
    <type>button</type>
    <id>35</id>
    <posX>255</posX>
    <posY>45</posY>
    <width>40</width>
    <height>37</height>
    <textureFocus>volume_up.gif</textureFocus>
    <label>-</label>
    <action>102</action>
    <onleft>17</onleft>
    <onright>36</onright>
    <onup>35</onup>
    <ondown>2</ondown>
    </control>
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    it looks ok.

    Tell me,
    do the - and = button work to control volume?
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    and you don't have double id's ? so you don't have another item having ID 35 ?
     

    Harley

    Retired Team Member
  • Premium Supporter
  • May 7, 2004
    2,053
    1,993
    Germany
    Home Country
    Germany Germany
    I must test it when i at home on the evening

    I have put this in the Topbar.xml, is that ok ?

    Many Thank´s for your Help

    Harley
     

    Harley

    Retired Team Member
  • Premium Supporter
  • May 7, 2004
    2,053
    1,993
    Germany
    Home Country
    Germany Germany
    :D Yeah it works.

    Thanks for your Help MrMario64

    What for an XML code i brouht to create a Power Down Button?
    In the Keymap.xml i don´t find them.
    Give it an Aktion Number for this ?

    Greetings 8) Harley
     

    Users who are viewing this thread

    Top Bottom