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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.