aboutsummaryrefslogtreecommitdiff
path: root/addons/resource.uisounds.kodi/resources/sounds.xml
blob: 89cb87bed8ed05a9642c74f7fb1362663fab1a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of actions to sounds                    -->

<!-- The <actions> section contains global mapping                          -->

<!-- To map a action to a sound, add a block like this to <actions>:        -->
<!--    <action>                                                            -->
<!--      <name>left</name>                                                 -->
<!--      <file>cursor.wav</file>                                           -->
<!--    </action>                                                           -->
<!-- Where <name> specifies the action to map a sound to and <file> the wav -->
<!-- file to play when the action occurs.                                   -->

<!-- Valid entries for <name> can be found at                               -->
<!-- http://kodi.wiki/view/Keymap                                           -->


<!-- Also window specific sound can be played                               -->

<!-- To map a sound to a window, add a block like this to <windows>:        -->
<!--    <window>                                                            -->
<!--      <name>notification</name>                                         -->
<!--      <activate>notify.wav</activate>                                   -->
<!--      <deactivate>out.wav</deactivate>                                  -->
<!--    </window>                                                           -->
<!-- Where <name> specifies the window to map a sound to                    -->
<!-- <activate> and <deactivate> are the events a sound can be mapped to    -->
<!-- by setting the file to play.                                           -->

<!-- Valid entries for <name> can be found at                               -->
<!-- http://kodi.wiki/view/Window_IDs                                       -->

<!-- Note: Only wav files are supported                                     -->

<sounds>
  <actions>
    <action>
      <name>left</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>right</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>up</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>down</name>
      <file>cursor.wav</file>
    </action>
    <action>
      <name>select</name>
      <file>click.wav</file>
    </action>
    <action>
      <name>parentdir</name>
      <file>back.wav</file>
    </action>
    <action>
      <name>previousmenu</name>
      <file>back.wav</file>
    </action>
    <action>
      <name>screenshot</name>
      <file>shutter.wav</file>
    </action>
    <action>
      <name>error</name>
      <file>notify.wav</file>
    </action>
  </actions>

  <windows>
    <window>
      <name>notification</name>
      <activate>notify.wav</activate>
      <deactivate>out.wav</deactivate>
    </window>
    <window>
      <name>startup</name>
      <activate></activate>
    </window>
  </windows>
</sounds>