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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.