[openbox] mouse pointer problem
Fred
fred at blakemfg.com
Wed May 18 13:05:41 EDT 2022
Hello,
I have a program that was used under Solaris 2.6 for many years that I
need to use on Devuan Chimaera Linux with openbox. The program compiles
and runs fine with the pc scroll wheel mouse. The program makes
extensive use of the middle button which is a pain with a wheel mouse.
I have connected a Sun Compact 1 three button mouse and used inputattach
to make it known to the kernel. The mouse uses msc protocol.
With the Sun mouse the middle button causes the pointer to freeze.
Using xev -event mouse to troubleshoot the problem shows completely
different output with button 2:
pc wheel mouse press middle move pointer
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82371810, (90,75), root:(386,309),
state 0x0, button 2, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82373898, (90,75), root:(386,309),
state 0x200, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82373930, (89,75), root:(385,309),
state 0x200, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82373946, (89,75), root:(385,309),
state 0x200, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82373954, (87,75), root:(383,309),
state 0x200, is_hint 0, same_screen YES
MotionNotify event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82373970, (86,75), root:(382,309),
state 0x200, is_hint 0, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82377650, (87,87), root:(383,321),
state 0x200, button 2, same_screen YES
sun mouse press middle move pointer does not move
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454308, (96,76), root:(392,310),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454308, (96,76), root:(392,310),
state 0x1000, button 5, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454420, (96,76), root:(392,310),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454420, (96,76), root:(392,310),
state 0x1000, button 5, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454516, (96,76), root:(392,310),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454516, (96,76), root:(392,310),
state 0x1000, button 5, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454964, (96,76), root:(392,310),
state 0x0, button 4, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82454964, (96,76), root:(392,310),
state 0x800, button 4, same_screen YES
ButtonPress event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82455491, (96,76), root:(392,310),
state 0x0, button 5, same_screen YES
ButtonRelease event, serial 25, synthetic NO, window 0x1400001,
root 0x754, subw 0x0, time 82455491, (96,76), root:(392,310),
state 0x1000, button 5, same_screen YES
Someone helping to troubleshoot the problem suggests using fvwm. Does
openbox get information on which type of mouse is being used and
reformats or changes the information presented to applications?
Best regards,
Fred
More information about the openbox
mailing list