Git Product home page Git Product logo

Comments (5)

1unar-Eclipse avatar 1unar-Eclipse commented on June 2, 2024 1

Can confirm this to an extent with a Surface Pen Slim and Laptop Studio 2. While the eraser works as expected in both binding and function, the side button keeps the odd behavior you're describing where it doesn't ever do anything. It also keeps showing the current tool's hover indicator while I hold the side button with the pen close to the screen, while the eraser correctly switched tools when I brought it near the screen.

from xournalpp.

camoz avatar camoz commented on June 2, 2024 1

I'm also experiencing this with xournalpp 1.2.2, but I think it worked previously with the same version (1.2.2). I noticed that in libinput debug-events, one button appears hard-coded as eraser (not sure if this was different a few months ago, but I suspect it was):

Pressing first button:

 event10  TABLET_TOOL_PROXIMITY   +6.353s		179.56/132.98	pressure: 0.00	pen      (0xc06037c9, id 0x805b) proximity-out 
 event10  TABLET_TOOL_PROXIMITY   +6.358s		179.58*/132.98*	pressure: 0.00*	eraser   (0xc06037c9, id 0x805b) proximity-in 	axes:p	btn:S
 event10  TABLET_TOOL_PROXIMITY   +6.487s		179.63/133.00	pressure: 0.00	eraser   (0xc06037c9, id 0x805b) proximity-out 
 event10  TABLET_TOOL_PROXIMITY   +6.492s		179.73*/133.04*	pressure: 0.00*	pen      (0xc06037c9, id 0x805b) proximity-in 	axes:p	btn:S

Pressing second button:

 event10  TABLET_TOOL_BUTTON      +8.445s	331 (BTN_STYLUS) pressed, seat count: 1
 event10  TABLET_TOOL_BUTTON      +8.579s	331 (BTN_STYLUS) released, seat count: 0

I suspect the change is unrelated to Xournalpp and related to a kernel upgrade: https://www.davidrevoy.com/article995/how-a-kernel-update-broke-my-stylus-need-help/show

See also the linked LKML thread.

from xournalpp.

vladQll avatar vladQll commented on June 2, 2024

don't use that brother it doesn't work or you have to do a lot of testing to get it to work, I recommend that you assign the shortcut to your pen buttons in your graphics tablet software.

from xournalpp.

godfatherjohn avatar godfatherjohn commented on June 2, 2024

It is unlikely to be a kernel bug, at least on my end. I am on Windows.

from xournalpp.

IncognitoFawkes avatar IncognitoFawkes commented on June 2, 2024

Plus one. I have this same issue

from xournalpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.