summaryrefslogtreecommitdiff
path: root/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-02-23 20:32:26 +1000
committerBastien Nocera <hadess@hadess.net>2010-11-18 04:03:26 +0000
commit9863ccf9d99fdd712778b31197365723b9caa0be (patch)
tree3d34d8b635a361c9a0a67b7ad1f1c9fd5c1b6404 /data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
parent2dd98414639207e09ccf6d6b54fe8f9a334456aa (diff)
downloadgnome-settings-daemon-9863ccf9d99fdd712778b31197365723b9caa0be.tar.gz
Add wacom g-s-d plugin.
This plugin is essentially a copy of the mouse plugin with a lot of search/replace for the framework needed (hence the copyright messages). Since the wacom driver puts a lot of emphasis on the different tools, the schemas create a nested structure. The keys are stored in org.gnome.settings-daemon.peripherals.wacom.{stylus|erasor|cursor|pad}, with tablet-wide settings in wacom and the tool-specific settings in the tool-specific schema. Supported keys with this commit: .wacom rotation .. for tablet rotation in 90deg steps .wacom touch .. only emit events when touching the device .wacom tablet-pc-button .. tablet PC stylus button behaviour .wacom.stylus pressureshreshold .. threshold before click is registered .wacom.stylus pressurecurve .. adjust 'hardness/softness' of the tip .wacom.stylus is-absolute .. switch between relative/absolute mode .wacom.stylus area .. usable area (also for calibration) .wacom.stylus buttonmapping .. logical button mapping The above settings are also available for eraser, and subsets on cursor and pad. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in')
-rw-r--r--data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in119
1 files changed, 119 insertions, 0 deletions
diff --git a/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in b/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
new file mode 100644
index 00000000..738b26a3
--- /dev/null
+++ b/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
@@ -0,0 +1,119 @@
+<schemalist>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.plugins.wacom" path="/org/gnome/settings-daemon/plugins/wacom/">
+ <key name="active" type="b">
+ <default>true</default>
+ <_summary>Activation of this plugin</_summary>
+ <_description>Whether this plugin would be activated by gnome-settings-daemon or not.</_description>
+ </key>
+ <key name="priority" type="i">
+ <default>6</default>
+ <_summary>Priority to use for this plugin</_summary>
+ <_description>Priority to use for this plugin in gnome-settings-daemon startup queue.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom" path="/org/gnome/settings-daemon/peripherals/wacom/">
+ <child name="stylus" schema="org.gnome.settings-daemon.peripherals.wacom.stylus"/>
+ <child name="eraser" schema="org.gnome.settings-daemon.peripherals.wacom.eraser"/>
+ <child name="cursor" schema="org.gnome.settings-daemon.peripherals.wacom.cursor"/>
+ <child name="pad" schema="org.gnome.settings-daemon.peripherals.wacom.pad"/>
+
+ <key name="rotation" enum="org.gnome.settings-daemon.GsdWacomRotation">
+ <default>'none'</default>
+ <_summary>Wacom tablet rotation</_summary>
+ <_description>Set this to 'none', 'cw' for 90 degree clockwise, 'half' for 180 degree, and 'ccw' for 90 degree counterclockwise.</_description>
+ </key>
+ <key name="touch" type="b">
+ <default>false</default>
+ <_summary>Wacom touch feature</_summary>
+ <_description>Enable this to only move the cursor when the user touches the tablet.</_description>
+ </key>
+ <key name="tablet-pc-button" type="b">
+ <default>false</default>
+ <_summary>Wacom tablet PC feature</_summary>
+ <_description>Enable this to only report stylus events when the tip is pressed.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom.stylus" path="/org/gnome/settings-daemon/peripherals/wacom/stylus/">
+ <key name="is-absolute" type="b">
+ <default>true</default>
+ <_summary>Wacom stylus absolute mode</_summary>
+ <_description>Enable this to set the stylus to absolute mode.</_description>
+ </key>
+ <key name="pressurecurve" type="ai">
+ <default>[0, 0, 100, 100]</default>
+ <_summary>Wacom stylus pressure curve</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the stylus.</_description>
+ </key>
+ <key name="area" type="ai">
+ <default>[-1, -1, -1, -1]</default>
+ <_summary>Wacom stylus tablet area</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the area usable by the stylus.</_description>
+ </key>
+ <key name="buttonmapping" type="ai">
+ <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
+ <_summary>Wacom stylus button mapping</_summary>
+ <_description>Set this to the logical button mapping.</_description>
+ </key>
+ <key name="pressurethreshold" type="i">
+ <default>-1</default>
+ <_summary>Wacom stylus pressure threshold</_summary>
+ <_description>Set this to the pressure value at which a stylus click event is generated.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom.eraser" path="/org/gnome/settings-daemon/peripherals/wacom/eraser/">
+ <key name="is-absolute" type="b">
+ <default>true</default>
+ <_summary>Wacom eraser absolute mode</_summary>
+ <_description>Enable this to set the eraser to absolute mode.</_description>
+ </key>
+ <key name="pressurecurve" type="ai">
+ <default>[0, 0, 100, 100]</default>
+ <_summary>Wacom eraser pressure curve</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the pressure curve applied to the eraser.</_description>
+ </key>
+ <key name="area" type="ai">
+ <default>[-1, -1, -1, -1]</default>
+ <_summary>Wacom eraser tablet area</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the area usable by the eraser.</_description>
+ </key>
+ <key name="buttonmapping" type="ai">
+ <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
+ <_summary>Wacom eraser button mapping</_summary>
+ <_description>Set this to the logical button mapping.</_description>
+ </key>
+ <key name="pressurethreshold" type="i">
+ <default>-1</default>
+ <_summary>Wacom eraser pressure threshold</_summary>
+ <_description>Set this to the pressure value at which an eraser click event is generated.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom.cursor" path="/org/gnome/settings-daemon/peripherals/wacom/cursor/">
+ <key name="is-absolute" type="b">
+ <default>true</default>
+ <_summary>Wacom cursor absolute mode</_summary>
+ <_description>Enable this to set the cursor to absolute mode.</_description>
+ </key>
+ <key name="area" type="ai">
+ <default>[-1, -1, -1, -1]</default>
+ <_summary>Wacom cursor tablet area</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the area usable by the cursor.</_description>
+ </key>
+ <key name="buttonmapping" type="ai">
+ <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
+ <_summary>Wacom cursor button mapping</_summary>
+ <_description>Set this to the logical button mapping.</_description>
+ </key>
+ </schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom.pad" path="/org/gnome/settings-daemon/peripherals/wacom/pad/">
+ <key name="area" type="ai">
+ <default>[-1, -1, -1, -1]</default>
+ <_summary>Wacom pad tablet area</_summary>
+ <_description>Set this to x1, y1 and x2, y2 of the area usable by the pad.</_description>
+ </key>
+ <key name="buttonmapping" type="ai">
+ <default>[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]</default>
+ <_summary>Wacom pad button mapping</_summary>
+ <_description>Set this to the logical button mapping.</_description>
+ </key>
+ </schema>
+</schemalist>