NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-mac68k/59011: Change request [patch]: Change emulated buttons/brightness to command+key



>Number:         59011
>Category:       port-mac68k
>Synopsis:       Change request [patch]: Change emulated buttons/brightness to command+key
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 19 12:50:00 +0000 2025
>Originator:     Nat Sloss
>Release:        NetBSD 10.99.12
>Organization:
Another PowerBook Salvage and Rescue
>Environment:
NetBSD princess 10.99.12 NetBSD 10.99.12 (WSFBPWR) #231: Sun Jan 12 01:03:02 AEDT 2025  /home/build/mac68k-new-gas/sys/arch/mac68k/compile/WSFBPWR mac68k
>Description:
X11 works well on both my PowerBook 160 and 520 (pkgsrc/x11/tinyx-wscons)

However with the stock Xorg or TinyX, Option is mapped as the meta key and meta plus click for both ALTXBUTTONS and regular Option-left/right
arrow key sequences result in undesired effects of meta being held.

This changes the intention of the emulated mouse click.
>How-To-Repeat:
Try Xorg or tinyx-wscons with a one button mouse.
>Fix:
My proposal is to change the emulmod key from Option to Command so emulated mouse buttons would be Command+Left/Right arrow or Command+1/2/3 etc and brightness would be command+Up/Down Arrows as the
Apple/Command key is not referenced as much in X11.

Thus emulated mouse clicks work closer to their intended purpose.

See the patch in the link:

ftp://ftp.netbsd.org/pub//NetBSD/misc/nat/opt-to-command-emubuttons.diff

Best regards,

Nat



Home | Main Index | Thread Index | Old Index