- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    5.13.0
 - 
    None
 
- 
        
 - 
        c8bb8cb7614768156f9cc4bccc2df928d5430067 (qt/qtbase/5.13)
 
Pressing the "Magic" (eraser) button on the back of the surface pen is not correctly detected.
- When clicking the button by physically pressing it against the screen, it is correctly detected as an F20+MetaModifier key event.
 - When holding the pen away from the screen and pressing the button it is only registered as a Meta key event.
 
The same thing seems to happen with the double-press (F19+MetaModifier) and long-press (F18+MetaModifier) events.