New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate if tangentialPressure
is correctly implemented/working in browsers/documented appropriately in spec
#467
Comments
Note that for testing, you should be able to use https://patrickhlauke.github.io/touch/pen-tracker/ (i've hooked it up to show |
tangentialPressure
is correctly implemented/working in browsers/documented appropriately in spec
@mustaqahmed @smaug---- let me know if I should explicitly file bugs anywhere about this (presumably in https://bugs.chromium.org/p/chromium/issues/list and https://bugzilla.mozilla.org/ respectively), or if you're happy (?) to check internally first |
also, some more info on how the finger wheel is actually used: in essence, it's just an additional sensor on the airbrush, and does not replace pressure. users generally map/remap what it does in applications - by default, I believe that apps like Photoshop have the wheel mapped to pressure (changing opacity, so essentially replacing the purpose of tip pressure, which is then ignored/not mapped to opacity anymore), but it's up to users - some remap it so that tip pressure still affects the usual opacity of a stroke, and the wheel is used to set brush size for instance. |
https://bugzilla.mozilla.org/show_bug.cgi?id=1372097 says it was implemented on Firefox/Mac, and I don't see any code for it on non-Mac platforms. |
@smaug---- @mustaqahmed following on from our quick discussion at today's meeting, I can confirm that Safari/macOS does not currently recognise the Wacom stylus as an actual |
(incidentally, @smaug---- ... found a bug with Firefox/macOS and its |
On Windows, did you mean it's broken on both Chrome and Firefox? Too many variations here, it would be nice to have a table of impl status across [major browsers] x [major OSes]. |
@mustaqahmed on Windows, macOS/Safari doesn't even know what a |
@mustaqahmed remind me...is there a chrome bug about this @smaug---- similar question...is there already a firefox bug for this on Windows, or do you want me to file one too? |
I couldn't find any existing Chromium bug, looks like we need to file one at crbug.com/new. |
I'll get on that later tonight, @mustaqahmed |
@mustaqahmed filed a bug against Chrome https://bugs.chromium.org/p/chromium/issues/detail?id=1426685 @smaug---- ditto for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1823822 |
Related to the initial email I sent to the list about the Wacom airbrush pen https://lists.w3.org/Archives/Public/public-pointer-events/2023JanMar/0041.html which now led me down a strange rabbit hole.
Wondering if we could spend some time:
Related links/issues
tangentialPressure
was first mentioned by @dfleck and what HID value it uses Add additional digitizer/pen attributes: twist (rotation) #25 (comment)tangentialPressure
documentation https://developer.apple.com/documentation/appkit/nsevent/1525959-tangentialpressure (which solidified our choice for the name/decision to actually implement this in spec)tangentialPressure
to the spec Add additional digitizer/pen attributes: barrel pressure (tangential pressure) #70tangentialPressure
Add digitizer/pen tangential (barrel) pressure #87tangentialPressure
, and @mustaqahmed's comment about it shipping tangentialPressure support in browsers #192 (comment)(and for reference, the Wacom Airbrush Pen https://estore.wacom.com/en-US/wacom-airbrush-pen-kp400e2.html - note the "finger wheel" feature)
The text was updated successfully, but these errors were encountered: