LINUX.ORG.RU

История изменений

Исправление waitmar, (текущая версия) :

Вот эти сообщения повторяются много раз в секунду. Как понять, что это за кнопка или хотя бы с какого устройства, с мышки или с клавы?



ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782608, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782608, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782609, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782609, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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

ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeyPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782860, (48,33), root:(48,63),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 42, synthetic NO, window 0x400001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 42, synthetic NO, window 0x400001,
mode NotifyUngrab, detail NotifyAncestor


Исправление waitmar, :


ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782608, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782608, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782609, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782609, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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

ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeyPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782860, (48,33), root:(48,63),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 42, synthetic NO, window 0x400001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 42, synthetic NO, window 0x400001,
mode NotifyUngrab, detail NotifyAncestor




Вот эти сообщения повторяются много раз в секунду. Как понять, что это за кнопка или хотя бы с какого устройства, с мышки или с клавы?

Исправление waitmar, :


ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782608, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782608, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782609, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782609, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782821, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyVirtual, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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

ButtonPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

EnterNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 7 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 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782823, (48,33), root:(48,63),
state 0x0, button 7, same_screen YES

LeaveNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1782823, (48,33), root:(48,63),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 0

KeyPress event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x400002, time 1782860, (48,33), root:(48,63),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 42, synthetic NO, window 0x400001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 42, synthetic NO, window 0x400001,
mode NotifyUngrab, detail NotifyAncestor


<<<

Вот эти сообщения повторяются много раз в секунду. Как понять, что это за кнопка или хотя бы с какого устройства, с мышки или с клавы?

Исходная версия waitmar, :

MotionNotify event, serial 42, synthetic NO, window 0x400001,
root 0x207, subw 0x0, time 1497517, (105,45), root:(105,75),
state 0x0, is_hint 0, same_screen YES

Вот эти сообщения повторяются много раз в секунду. Как понять, что это за кнопка или хотя бы с какого устройства, с мышки или с клавы?