This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gui/freehand.py b/gui/freehand.py | |
index 7055f16..29efa72 100644 | |
--- a/gui/freehand.py | |
+++ b/gui/freehand.py | |
@@ -429,6 +429,15 @@ class FreehandMode (gui.mode.BrushworkModeMixin, | |
ytilt = event.get_axis(gdk.AXIS_YTILT) | |
state = event.state | |
+ # Ugly hack for devices which have no description for axes. | |
+ # If the reported pressure is None but device has more than 2 axes |
NewerOlder