The logs are pretty noisy as you might expect but the obvious difference is that UHK produces a load of additional events, possibly related to supporting two axes? Both of the UHK logs show lots of additional notify events inc. Create/DestroyNotify, Enter/LeaveNotify, Map/UnmapNotify. I don’t see those in the logs generated by the mousewheel.
I don’t see a way to attach text files in the forum so pasting a sample here.
Sample mousewheel events:
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648438, (87,165), root:(124,689),
state 0x5000, button 5, same_screen YES
ButtonPress event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648524, (87,165), root:(124,689),
state 0x4000, button 5, same_screen YES
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648524, (87,165), root:(124,689),
state 0x5000, button 5, same_screen YES
ButtonPress event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648726, (87,165), root:(124,689),
state 0x4000, button 4, same_screen YES
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648726, (87,165), root:(124,689),
state 0x4800, button 4, same_screen YES
ButtonPress event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648742, (87,165), root:(124,689),
state 0x4000, button 4, same_screen YES
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648742, (87,165), root:(124,689),
state 0x4800, button 4, same_screen YES
ButtonPress event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648758, (87,165), root:(124,689),
state 0x4000, button 4, same_screen YES
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126648758, (87,165), root:(124,689),
state 0x4800, button 4, same_screen YES
UHK touchpad:
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x213dbf, time 1126598766, (80,135), root:(117,659),
state 0x5000, button 5, same_screen YES
LeaveNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598766, (80,135), root:(117,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 16384
UnmapNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dbf, from_configure NO
EnterNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598767, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyInferior, same_screen YES,
focus YES, state 16384
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DestroyNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dbf
CreateNotify event, serial 38, synthetic NO, window 0x5200001,
parent 0x5200001, window 0x213dc0, (80,135), width 1, height 1
border_width 0, override YES
MapNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dc0, override YES
LeaveNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598767, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyInferior, same_screen YES,
focus YES, state 16384
EnterNotify event, serial 38, synthetic YES, window 0x5200001,
root 0x244, subw 0x0, time 0, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 16384
ButtonPress event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x213dc0, time 1126598789, (80,135), root:(117,659),
state 0x4000, button 5, same_screen YES
EnterNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598789, (80,135), root:(117,659),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 20480
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonRelease event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x213dc0, time 1126598789, (80,135), root:(117,659),
state 0x5000, button 5, same_screen YES
LeaveNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598789, (80,135), root:(117,659),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 16384
UnmapNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dc0, from_configure NO
EnterNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598790, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyInferior, same_screen YES,
focus YES, state 16384
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DestroyNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dc0
CreateNotify event, serial 38, synthetic NO, window 0x5200001,
parent 0x5200001, window 0x213dc1, (80,135), width 1, height 1
border_width 0, override YES
MapNotify event, serial 38, synthetic NO, window 0x5200001,
event 0x5200001, window 0x213dc1, override YES
LeaveNotify event, serial 38, synthetic NO, window 0x5200001,
root 0x244, subw 0x0, time 1126598790, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyInferior, same_screen YES,
focus YES, state 16384
EnterNotify event, serial 38, synthetic YES, window 0x5200001,
root 0x244, subw 0x0, time 0, (80,135), root:(117,659),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 16384```
Trackball logs look very similar to touchpad.