Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 tools/xsetwacom.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index 18caa15..0c24f2c 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -398,6 +398,15 @@ static param_t parameters[] =
                .prop_flags = PROP_FLAG_READONLY
        },
        {
+               .name = "ToolID",
+               .desc = "Returns the tool ID of the current tool in proximity.",
+               .prop_name = WACOM_PROP_SERIALIDS,
+               .prop_format = 32,
+               .prop_offset = 4,
+               .arg_count = 1,
+               .prop_flags = PROP_FLAG_READONLY
+       },
+       {
                .name = "ToolSerialPrevious",
                .desc = "Returns the serial number of the previous device in 
proximity.",
                .prop_name = WACOM_PROP_SERIALIDS,
@@ -2689,7 +2698,7 @@ static void test_parameter_number(void)
         * deprecated them.
         * Numbers include trailing NULL entry.
         */
-       assert(ARRAY_SIZE(parameters) == 36);
+       assert(ARRAY_SIZE(parameters) == 37);
        assert(ARRAY_SIZE(deprecated_parameters) == 17);
 }
 
-- 
1.7.7.6


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to