The two panes Keyboard and Mouse are one pane with the reference's tabs --
Keyboard | Mouse | Shortcuts; -pane keyboard, -pane mouse (and -pane
shortcuts) still work and open that tab (PaneFind maps the old ids onto the
pane and ShowPane passes the id).
Keyboard: repeat, its delay and rate, key click, the kind of keyboard (auto,
PC, Mac), the try-it field, and "Modifier Keys...": a dialog with four menus
(Caps Lock, Control, Option, Command -> one of the four functions or No
Action). The dialog writes the same ~/.dt/keyboard dtkeys reads and runs
"dtkeys auto" at once.
dtkeys gained the modifier functions: the four physical keys come out of
Lock/Control/Mod1/Mod4 and into the modifier their function asks for
(XChangeKeyboardMapping + XSetModifierMapping, Xlib only, no setxkbmap), and
it runs at login as before (Xsession.d/0072.dtkeys). It also reads the file
without dropping its lines when the kind changes.
Mouse: as before plus the wheel's direction (buttons 4 and 5 change places,
natural scrolling; the map goes to dtsession with the rest). How far one
turn scrolls is the program's own step -- said in the pane.
Shortcuts: the keys of the desktop in a list (name, key, where it lives,
from ~/.dt/shortcuts; Launcher=... is written). The launcher's key is live:
type a chord, Change writes Dtlaunch*hotkey and ~/.dt/shortcuts, then
"dtlaunch -quit" (new: asks the running launcher to let go of its key and
waits until the selection has no owner) and a fresh dtlaunch grabs the new
key. Restore Defaults puts Cmd+space back. The other rows are a record:
their keys are dtwm's and the app-defaults', and the pane says so.
"Full keyboard access" (the reference's text boxes / all controls) is left
out: Motif's focus traversal with Tab is always there and there is no switch
to turn it into two levels.
Measured under Xvfb with xdotool:
- Modifier Keys: Caps Lock -> Control, Apply -> ~/.dt/keyboard says
"capslock: control"; the key map then has keycode 66 = Control_L, Lock
empty, Control 37/66/105 (read with an Xlib program; the pane keeps the
display alive, so Xvfb does not reset the map when dtkeys exits).
- Shortcuts: Launcher + "Cmd+j" + Change -> RESOURCE_MANAGER has
Dtlaunch*hotkey: Cmd+j, ~/.dt/shortcuts has Launcher=Cmd+j, the running
launcher is replaced and Cmd+j opens it (docs/screenshots/leopard/
System-Preferences-Keyboard-and-Mouse-Shortcuts-mcde.png shows the list
and the note; the picture with the open launcher after Cmd+j is the same
run).
- Wheel: "Scrolls down when turned towards you" -> xmodmap -pp: physical
4 -> code 5, 5 -> 4.
- -pane mouse opens the Mouse tab.
- make check: test_panes PASS (new alias checks).
Pictures: System-Preferences-Keyboard-and-Mouse-mcde.png (Keyboard),
...-Mouse-mcde.png, ...-Shortcuts-mcde.png.
Open: only the launcher's key is changeable at runtime; the others are a
record (dtwm and app-defaults own them); the scroll step and Full keyboard
access are left out with the reason above; the modifier dialog keeps its
size after the first open.