|
From: James P. <ja...@mo...> - 2018-08-07 10:55:05
|
When I run 'xsetwacom get $id all' - where $id is a valid device name -
I get (amongst other output):
Option "DebugLevel" "0"
Option "CommonDBG" "0"
Option "PressCurve" "0 0 100 100"
Option "TPCButton" "off"
Option "Serial" "0"
However, if I then run 'xsetwacom get $id $param' - where $param is one
of the above Option parameters, I get:
Parameter 'DebugLevel' is no longer in use. It was replaced with
'ToolDebugLevel'.
Parameter 'CommonDBG' is no longer in use. It was replaced with
'TabletDebugLevel'.
Parameter 'PressCurve' is no longer in use. It was replaced with
'PressureCurve'.
Parameter 'TPCButton' is no longer in use. It was replaced with
'TabletPCButton'.
Unknown parameter name 'Serial'.
Why is the 'get all' giving output for parameters that are no longer in
use - and not their replacements?
To add to this, 'get all' doesn't actually list all the parameters -
e.g. why is the value of, say, 'TabletID' not listed in the 'all' output ?
Also, 'Serial' is 'Unknown' ...
I notice from the source that 'Serial' is not defined in
deprecated_parameters[] - whereas 'GetTabletID' is defined twice ?
i.e. maybe the following is needed? :
--- xsetwacom.c.dist 2018-01-04 23:21:35.000000000 +0000
+++ xsetwacom.c 2018-08-07 09:55:32.498424475 +0100
@@ -513,7 +513,7 @@ static struct deprecated
{"GetTabletID", "TabletID"},
{"DebugLevel", "ToolDebugLevel"},
{"CommonDBG", "TabletDebugLevel"},
- {"GetTabletID", "TabletID"},
+ {"Serial", "BindToSerial"},
{"PressCurve", "PressureCurve"},
{"TPCButton", "TabletPCButton"},
{"CursorProx", "CursorProximity"},
Thanks
James Pearson |