[haiku-bugs] Re: [Haiku] #7967: Update menu modifier images to more accurately reflect the corresponding key that appears on the keyboard

  • From: "jscipione" <trac@xxxxxxxxxxxx>
  • Date: Tue, 08 Nov 2011 22:18:10 -0000

#7967: Update menu modifier images to more accurately reflect the corresponding
key that appears on the keyboard
------------------------------+----------------------------
   Reporter:  jscipione       |      Owner:  stippi
       Type:  enhancement     |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  User Interface  |    Version:  R1/Development
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+----------------------------

Comment (by jscipione):

 To bonefish and humdinger. I finally understand what you guys are talking
 about with regards to key roles. I am sorry that it took me so long to get
 it.

 I am on-board -- key roles are the way to go. I made a mailing list post
 on dev explaining what I want to do but allow me post the gist of it here
 too.

 Basically I want to set a flag in input_server that chooses between 3 sets
 of bitmaps. In order of B_CONTROL_KEY, B_OPTION_KEY, B_COMMAND_KEY the
 bitmap sets are as follows.
 {{{
 PC keyboard: "CTRL", "WIN", "ALT" (The default)
 PC keyboard control and command flipped via Keymaps preflet: "ALT", "WIN",
 "CTRL"
 Mac keyboard: "CTRL", "OPT", "CMD".
 }}}

 The menu bitmaps that appear would no longer depend on the keymap, just
 the flag in input server.

 The button to flip the control and command key in Keymap "Switch Shortcut
 keys to Windows/Linux mode" would no longer alter the keymap, instead it
 would set the flag in input_server telling it to flip the keys. Why? So
 that the key flip persists once we support multiple keymaps which
 apparently is a sorely needed feature for Russian Haiku users at least.

 Comments and questions welcome.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7967#comment:19>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: