~khurshid-alam/unity-settings-daemon/build-hirsute

« back to all changes in this revision

Viewing changes to data/com.canonical.unity.settings-daemon.peripherals.wacom.gschema.xml.in.in

  • Committer: Bileto Bot
  • Author(s): Khurshid Alam
  • Date: 2020-03-11 16:32:10 UTC
  • mfrom: (4200.1.1 unity-settings-daemon)
  • Revision ID: ci-train-bot@canonical.com-20200311163210-ta55oofgp3pod2p6
* Port rest of the schemas gnome-settings-daemon-common to com.canonical.unity.settings-daemon. LP: #1842324

* When upstream moved persistant numlock-state to gsettings-desktop-schemas they converted it to boolean from enum. Since now we use our own schema, revert that change. This will make numlock work again in unity. Fixes LP: #1847858

 see https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/commit/d57c3c78336be544e1047127a27f9ddfcea6c8cb

* Remove gnome-settings-daemon-common from build dependency (LP: #1842324)

Approved by: Sebastien Bacher

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<schemalist>
 
3
  <schema id="com.canonical.unity.settings-daemon.peripherals.wacom.deprecated">
 
4
    <child name="stylus" schema="com.canonical.unity.settings-daemon.peripherals.wacom.stylus.deprecated"/>
 
5
    <child name="eraser" schema="com.canonical.unity.settings-daemon.peripherals.wacom.eraser.deprecated"/>
 
6
 
 
7
    <!-- is-absolute applies to all tools but PAD, CURSOR is hard-coded -->
 
8
    <key name="is-absolute" type="b">
 
9
      <default>true</default>
 
10
      <summary>Wacom stylus absolute mode</summary>
 
11
      <description>Enable this to set the tablet to absolute mode.</description>
 
12
    </key>
 
13
    <key name="area" type="ai">
 
14
      <default>[-1, -1, -1, -1]</default>
 
15
      <summary>Wacom tablet area</summary>
 
16
      <description>Set this to x1, y1 and x2, y2 of the area usable by the tools.</description>
 
17
    </key>
 
18
    <key name="keep-aspect" type="b">
 
19
      <default>false</default>
 
20
      <summary>Wacom tablet aspect ratio</summary>
 
21
      <description>Enable this to restrict the Wacom tablet area to match the aspect ratio of the output.</description>
 
22
    </key>
 
23
    <key name="rotation" enum="com.canonical.unity.settings-daemon.GsdWacomRotation">
 
24
      <default>'none'</default>
 
25
      <summary>Wacom tablet rotation</summary>
 
26
      <description>Set this to “none”, “cw” for 90 degree clockwise, “half” for 180 degree, and “ccw” for 90 degree counterclockwise.</description>
 
27
    </key>
 
28
    <key name="touch" type="b">
 
29
      <default>true</default>
 
30
      <summary>Wacom touch feature</summary>
 
31
      <description>Enable this to move the cursor when the user touches the tablet.</description>
 
32
    </key>
 
33
  </schema>
 
34
  <schema id="com.canonical.unity.settings-daemon.peripherals.wacom.stylus.deprecated">
 
35
    <key name="pressurecurve" type="ai">
 
36
      <default>[0, 0, 100, 100]</default>
 
37
      <summary>Wacom stylus pressure curve</summary>
 
38
      <description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the stylus.</description>
 
39
    </key>
 
40
    <key name="buttonmapping" type="ai">
 
41
      <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
 
42
      <summary>Wacom stylus button mapping</summary>
 
43
      <description>Set this to the logical button mapping.</description>
 
44
    </key>
 
45
    <key name="pressurethreshold" type="i">
 
46
      <default>-1</default>
 
47
      <summary>Wacom stylus pressure threshold</summary>
 
48
      <description>Set this to the pressure value at which a stylus click event is generated.</description>
 
49
    </key>
 
50
  </schema>
 
51
  <schema id="com.canonical.unity.settings-daemon.peripherals.wacom.eraser.deprecated">
 
52
    <key name="pressurecurve" type="ai">
 
53
      <default>[0, 0, 100, 100]</default>
 
54
      <summary>Wacom eraser pressure curve</summary>
 
55
      <description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the eraser.</description>
 
56
    </key>
 
57
    <key name="buttonmapping" type="ai">
 
58
      <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
 
59
      <summary>Wacom eraser button mapping</summary>
 
60
      <description>Set this to the logical button mapping.</description>
 
61
    </key>
 
62
    <key name="pressurethreshold" type="i">
 
63
      <default>-1</default>
 
64
      <summary>Wacom eraser pressure threshold</summary>
 
65
      <description>Set this to the pressure value at which an eraser click event is generated.</description>
 
66
    </key>
 
67
  </schema>
 
68
  <schema id="com.canonical.unity.settings-daemon.peripherals.wacom.tablet-button.deprecated">
 
69
    <key name="action-type" enum="com.canonical.unity.settings-daemon.GsdWacomActionType">
 
70
      <default>'none'</default>
 
71
      <summary>Wacom button action type</summary>
 
72
      <description>The type of action triggered by the button being pressed.</description>
 
73
    </key>
 
74
    <key name="custom-action" type="s">
 
75
      <default>''</default>
 
76
      <summary>Key combination for the custom action</summary>
 
77
      <description>The keyboard shortcut generated when the button is pressed for custom actions.</description>
 
78
    </key>
 
79
    <key name="custom-elevator-action" type="as">
 
80
      <default>['', '']</default>
 
81
      <summary>Key combinations for a touchring or touchstrip custom action</summary>
 
82
      <description>The keyboard shortcuts generated when a touchring or touchstrip is used for custom actions (up followed by down).</description>
 
83
    </key>
 
84
    <key name="oled-label" type="s">
 
85
      <default>''</default>
 
86
      <!-- Translators: This is the OLED display on an Intuos4 tablet:
 
87
           http://eu.shop.wacom.eu/images/articles/d9abd9f2d4d88aa0649cda97a8077e2b_8.jpg -->
 
88
      <summary>Button label for OLED display.</summary>
 
89
      <description>Label will be rendered to OLED display belonging to the button</description>
 
90
    </key>
 
91
  </schema>
 
92
  <schema id="org.gnome.desktop.peripherals.tablet.deprecated">
 
93
    <key name="display" type="as">
 
94
      <default>["", "", ""]</default>
 
95
    </key>
 
96
  </schema>
 
97
 
 
98
  <!-- The rest of this file is used by unity-settings-daemon only -->
 
99
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.plugins.gsdwacom" path="/com/canonical/unity/settings-daemon/plugins/gsdwacom/">
 
100
    <key name="priority" type="i">
 
101
      <default>0</default>
 
102
      <summary>Priority to use for this plugin</summary>
 
103
      <description>Priority to use for this plugin in unity-settings-daemon startup queue</description>
 
104
    </key>
 
105
    <key name="active" type="b">
 
106
      <default>true</default>
 
107
      <summary>Activation of this plugin</summary>
 
108
      <description>Whether this plugin would be activated by unity-settings-daemon or not</description>
 
109
    </key>
 
110
  </schema>
 
111
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.peripherals.wacom">
 
112
    <child name="stylus" schema="com.canonical.unity.settings-daemon.peripherals.wacom.stylus"/>
 
113
    <child name="eraser" schema="com.canonical.unity.settings-daemon.peripherals.wacom.eraser"/>
 
114
 
 
115
    <!-- is-absolute applies to all tools but PAD, CURSOR is hard-coded -->
 
116
    <key name="is-absolute" type="b">
 
117
      <default>true</default>
 
118
      <summary>Wacom stylus absolute mode</summary>
 
119
      <description>Enable this to set the tablet to absolute mode for unity-settings-daemon.</description>
 
120
    </key>
 
121
    <key name="area" type="ai">
 
122
      <default>[-1, -1, -1, -1]</default>
 
123
      <summary>Wacom tablet area</summary>
 
124
      <description>Set this to x1, y1 and x2, y2 of the area usable by the tools.</description>
 
125
    </key>
 
126
    <key name="keep-aspect" type="b">
 
127
      <default>false</default>
 
128
      <summary>Wacom tablet aspect ratio</summary>
 
129
      <description>Enable this to restrict the Wacom tablet area to match the aspect ratio of the output.</description>
 
130
    </key>
 
131
    <key name="rotation" enum="com.canonical.unity.settings-daemon.GsdWacomRotation">
 
132
      <default>'none'</default>
 
133
      <summary>Wacom tablet rotation</summary>
 
134
      <description>Set this to “none”, “cw” for 90 degree clockwise, “half” for 180 degree, and “ccw” for 90 degree counterclockwise.</description>
 
135
    </key>
 
136
    <key name="touch" type="b">
 
137
      <default>true</default>
 
138
      <summary>Wacom touch feature</summary>
 
139
      <description>Enable this to move the cursor when the user touches the tablet.</description>
 
140
    </key>
 
141
    <key name="tablet-pc-button" type="b">
 
142
      <default>false</default>
 
143
      <summary>Wacom tablet PC feature</summary>
 
144
      <description>Enable this to only report stylus events when the tip is pressed.</description>
 
145
    </key>
 
146
    <key name="display" type="as">
 
147
      <default>["", "", ""]</default>
 
148
      <summary>Wacom display mapping</summary>
 
149
      <description>EDID information of monitor to map tablet to. Must be in the format [vendor, product, serial]. ["","",""] disables mapping.</description>
 
150
    </key>
 
151
  </schema>
 
152
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.peripherals.wacom.stylus">
 
153
    <key name="pressurecurve" type="ai">
 
154
      <default>[0, 0, 100, 100]</default>
 
155
      <summary>Wacom stylus pressure curve</summary>
 
156
      <description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the stylus.</description>
 
157
    </key>
 
158
    <key name="buttonmapping" type="ai">
 
159
      <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
 
160
      <summary>Wacom stylus button mapping</summary>
 
161
      <description>Set this to the logical button mapping.</description>
 
162
    </key>
 
163
    <key name="pressurethreshold" type="i">
 
164
      <default>-1</default>
 
165
      <summary>Wacom stylus pressure threshold</summary>
 
166
      <description>Set this to the pressure value at which a stylus click event is generated.</description>
 
167
    </key>
 
168
  </schema>
 
169
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.peripherals.wacom.eraser">
 
170
    <key name="pressurecurve" type="ai">
 
171
      <default>[0, 0, 100, 100]</default>
 
172
      <summary>Wacom eraser pressure curve</summary>
 
173
      <description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the eraser.</description>
 
174
    </key>
 
175
    <key name="buttonmapping" type="ai">
 
176
      <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
 
177
      <summary>Wacom eraser button mapping</summary>
 
178
      <description>Set this to the logical button mapping.</description>
 
179
    </key>
 
180
    <key name="pressurethreshold" type="i">
 
181
      <default>-1</default>
 
182
      <summary>Wacom eraser pressure threshold</summary>
 
183
      <description>Set this to the pressure value at which an eraser click event is generated.</description>
 
184
    </key>
 
185
  </schema>
 
186
  <schema gettext-domain="@GETTEXT_PACKAGE@" id="com.canonical.unity.settings-daemon.peripherals.wacom.tablet-button">
 
187
    <key name="action-type" enum="com.canonical.unity.settings-daemon.GsdWacomActionType">
 
188
      <default>'none'</default>
 
189
      <summary>Wacom button action type</summary>
 
190
      <description>The type of action triggered by the button being pressed.</description>
 
191
    </key>
 
192
    <key name="custom-action" type="s">
 
193
      <default>''</default>
 
194
      <summary>Key combination for the custom action</summary>
 
195
      <description>The keyboard shortcut generated when the button is pressed for custom actions.</description>
 
196
    </key>
 
197
    <key name="custom-elevator-action" type="as">
 
198
      <default>['', '']</default>
 
199
      <summary>Key combinations for a touchring or touchstrip custom action</summary>
 
200
      <description>The keyboard shortcuts generated when a touchring or touchstrip is used for custom actions (up followed by down).</description>
 
201
    </key>
 
202
  </schema>
 
203
</schemalist>