Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9fd8afa3 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove unused constant PRESSURE_LEVELS

parent c7d2b22c
......@@ -80,12 +80,6 @@ enum OldCursorStyle {
OLD_CURSOR_STYLE_OUTLINE_TRIANGLE_LEFTHANDED = 11
};
/*
* Most wacom pads have 512 levels of pressure; Qt only supports 256, and even
* this is downscaled to 127 levels because the line would be too jittery, and
* the amount of masks take too much memory otherwise.
*/
const qint32 PRESSURE_LEVELS = 127;
const double PRESSURE_MIN = 0.0;
const double PRESSURE_MAX = 1.0;
const double PRESSURE_DEFAULT = PRESSURE_MAX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment