<div dir="ltr"><div>Hi!</div><div><br></div><div>> Is there anything else I can do to check how to add support for USI Pen buttons?<br></div><div><br></div><div>Yes, log with tablet events would be very helpful. Press Ctrl + Shift + T and perform the buggy action. Then, you can use `adb logcat` or <a href="https://docs.krita.org/en/contributors_manual/user_support.html#gathering-information">Log Viewer</a> to get the event log.</div><div><br></div><div>I think, It might be better to open a bug report with this info :)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 29, 2020 at 9:15 PM Rafał Sontowski <<a href="mailto:rafal.sont@gmail.com">rafal.sont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">H Sharaf,<div>thanks for your response,<br><div>I did build android apk from `<span style="color:rgb(0,0,0);font-family:monospace">git checkout tags/v4.4.2-beta2` </span>applying changes from your repo `<span style="color:rgb(0,0,0);font-family:monospace">git cherry-pick e2d74286</span>` - I`ve seen your changes in <span style="color:rgb(0,0,0);font-family:monospace">androidjniinput.cpp</span>. Build passed successfully and I was able to install krita having chromebook in developer mode. However this has not changed the USI Pen behaviour :(. I see following with Krita from Play Store, and local build:</div><div>- no buttons pressed - pen draws</div><div>- primary button pressed - pen draws</div><div>- secondary button pressed - pen does not drow, there is only small dot following it</div><div>- both button pressed - no action at all</div><div><br></div><div>I used following command with a clean build-root (I only copied downloads into d/ dir)<br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">./androidbuild.sh -p=all --src=/home/robak/plainwork/kritadev/krita --build-type=Debug --build-root=/home/robak/plainwork/kritadev/</span><br>build --ndk-path=/home/robak/plainwork/android/android-ndk-r18b --sdk-path=/home/robak/plainwork/android/sdk --api-level=23 --android-abi=x86_64<br></span></div><div><br></div><div>Is there anything else I can do to check how to add support for USI Pen buttons?</div><div><br></div><span style="font-family:monospace">regards, Rafał</span></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Kind Regards,<div>Sharaf Zaman</div><div><a href="https://www.sh-zam.com" target="_blank">https://www.sh-zam.com</a><br></div></div></div></div></div>