Bug 433440

Summary: Allow calibration of tilt-direction signal
Product: [Applications] krita Reporter: Wojtek Trybus <wojtryb>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Unspecified   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Proposed gui - angle offset selector in "Tablet Settings"

Description Wojtek Trybus 2021-02-22 18:39:53 UTC
Created attachment 136053 [details]
Proposed gui - angle offset selector in "Tablet Settings"

SUMMARY
The idea is to allow calibration of a tilt-direction signal, similarly as we do with pressure sensitivity. Angle specified by the user in the settings, would get subtracted from the tilt-direction signal before it reaches the curve in brush preset. 

SOLVED PROBLEMS
I believe it would solve two problems with tilt sensor:
1. it would allow to unify the tilt sensitive brushes among right- and left-handed users, and those without tilt support. Right now those three types of user would experience different rotation due to the way of holding a pen, and fixing it requires changes in every single preset. 

2. The angle specified in the brush editor becomes quite arbitrary, when used along with tilt-rotation. It gets especially visible with angle widget introduced in 4.4.3.

PROPOSED GUI
Comment 1 Wojtek Trybus 2021-02-22 18:45:15 UTC
PROPOSED GUI
this feature requires only one angle widget specified in tablet settings, as shown in the attachment.

ADDITIONAL INFO
link to the entire discussion on KA:
https://krita-artists.org/t/feature-request-global-brush-angle-offset-for-tilt-direction/17442
Comment 2 Dmitry Kazakov 2025-02-24 13:21:43 UTC
Git commit 4aff1e27e5eec2c92c967b9128edb9ec8fd5848a by Dmitry Kazakov, on behalf of Maciej Jesionowski.
Committed on 24/02/2025 at 13:21.
Pushed by dkazakov into branch 'master'.

Add a global pen tilt direction offset

This is meant to tune the brushes' response based
on user's hand preference.

Co-authored-by: Maciej Jesionowski <yavnrh@gmail.com>
Co-authored-by: Dmitry Kazakov <dimula73@gmail.com>

M  +27   -1    libs/image/brushengine/kis_paint_information.cc
M  +13   -2    libs/image/brushengine/kis_paint_information.h
M  +8    -1    libs/ui/dialogs/kis_dlg_preferences.cc
M  +14   -1    libs/ui/forms/wdgtabletsettings.ui
M  +12   -1    libs/ui/tool/kis_painting_information_builder.cpp
M  +1    -0    libs/ui/tool/kis_painting_information_builder.h

https://invent.kde.org/graphics/krita/-/commit/4aff1e27e5eec2c92c967b9128edb9ec8fd5848a