Opened 3 months ago

Last modified 3 months ago

#14851 new enhancement

Command key graphic for Macintosh and similar keyboards

Reported by: tsundoku Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: keyboard, menu, command key, MenuPrivate Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All


When using a Macintosh keyboard with Haiku, it is necessary to change the keymap so that the Command key is the primary modifier and Option is the secondary modifier. This results in Command bindings portrayed as OPT and Option bindings portrayed as ALT in menus.

Here is a simple patch to MenuPrivate that adds a CMD graphic and applies it when the modifiers are configured for a Macintosh keyboard. This may also be of interest to users of Sun keyboards, Happy Hacking Keyboards, and others where the layout of Command and Alt/Option are the reverse of IBM PC-style keyboards.

Attachments (1)

commandkey.patch (3.4 KB) - added by tsundoku 3 months ago.
Patch to add Command key graphic to menus

Download all attachments as: .zip

Change History (3)

Changed 3 months ago by tsundoku

Attachment: commandkey.patch added

Patch to add Command key graphic to menus

comment:1 Changed 3 months ago by humdinger

Can you submit the patch to Gerrit, please? See Submitting Patches.

comment:2 Changed 3 months ago by tsundoku

Last edited 3 months ago by tsundoku (previous) (diff)
Note: See TracTickets for help on using tickets.