Opened 5 years ago

Last modified 5 years 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:
Platform: All

Description

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 5 years ago.
Patch to add Command key graphic to menus

Download all attachments as: .zip

Change History (3)

by tsundoku, 5 years ago

Attachment: commandkey.patch added

Patch to add Command key graphic to menus

comment:1 by humdinger, 5 years ago

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

comment:2 by tsundoku, 5 years ago

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