Search Issue Tracker
By Design
Votes
1
Found in
2017.4
2019.3.0f6
2020.1
Issue ID
1215828
Regression
No
Graphic tablet stylus right-click is detected as left-click by Event.current.button
How to reproduce:
1. Open the user-supplied project
2. Connect a drawing tablet and make sure its stylus's button is mapped to perform a right-click
3. Enter Play Mode in the "SampleScene" Scene, then left-click and right-click in the Game view
4. Observe the text in the upper left corner of the Game view
Expected result: the "Last clicked button" value alternates between left-click (button 0) and right-click (button 1)
Actual result: the "Last clicked button" value remains "0" (or the initial value "-1") even if a right-click is performed
Reproducible with: 2017.4.37f1, 2018.4.17f1, 2019.3.2f1, 2020.1.0a23
Reproduced with drawing tablet:
Wacom Bamboo Pen CTL-470
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Pen events come in with touch event types, e.g. a pen down event will report Event.current.type = EventType.TouchDown and not EventType.MouseDown (the pointerType however will be Pen and not Touch), clicks are available and reported for pen events, just be sure to filter by TouchXxxx instead of MouseXxxx.