>>>> "Ben" == Ben Wing <ben(a)666.com>
writes:
Ben> i want to implement menu accelerators on alt if both alt and meta exist. many
Ben> people under x [e.g. hrvoje] have asked for this and it should be completely
Ben> safe. but i need to know what the names of the alt and meta keys are for
Ben> various keyboards ...
Ben> please let me know.
Sun keyboards have Alt and Meta.
(martin@tru64) ~cdx/import/emacs/src $ xmodmap -pke | egrep -i 'alt|meta'
keycode 26 = Alt_L
keycode 127 = Meta_L
keycode 129 = Meta_R
Japanese Tru 64 keyboards seem to only have keys labelled Alt, not
Meta, but xmodmap reports:
(martin@tru64) ~cdx/import/emacs/src $ DISPLAY=tru64:0 xmodmap -pke | egrep -i
'alt|meta'
keycode 25 = Alt_L
keycode 57 = Alt_R
keycode 133 = Alt_L
keycode 134 = Alt_R
keycode 139 = Meta_L
keycode 140 = Meta_R
But you shouldn't have to have a database, since we have
(x-keysym-on-keyboard-p "Alt_L")
==> t
(x-keysym-on-keyboard-p "Meta_L")
==> t