Wacom in Linux

WIP

ButtonPress

ButtonPress event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37306904, (377,420), root:(1343,430),
    state 0x0, button 1, same_screen YES

ButtonRelease

ButtonRelease event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37307076, (370,417), root:(1336,427),
    state 0x100, button 1, same_screen YES

Button 2 Press

ButtonPress event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37339347, (285,401), root:(1251,411),
    state 0x0, button 2, same_screen YES

Button 2 Release

ButtonRelease event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37339475, (285,402), root:(1251,412),
    state 0x200, button 2, same_screen YES

ButtonPress + Button 2

ButtonPress event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37442078, (440,394), root:(1406,404),
    state 0x200, button 1, same_screen YES

ButtonRelease + Button 2

ButtonRelease event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37442782, (439,390), root:(1405,400),
    state 0x300, button 1, same_screen YES

Button 2 Press > Press > Release > Button 2 Release

ButtonPress event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37385999, (317,379), root:(1283,389),
    state 0x0, button 2, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37387619, (301,395), root:(1267,405),
    state 0x200, button 1, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37388588, (310,342), root:(1276,352),
    state 0x300, button 1, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x4a00001,
    root 0x293, subw 0x0, time 37389247, (323,340), root:(1289,350),
    state 0x200, button 2, same_screen YES