Recent from talks
Contribute something
Nothing was collected or created yet.
Modifier key
View on WikipediaThis article needs additional citations for verification. (July 2008) |
In computing, a modifier key is a special key (or combination) on a computer keyboard that temporarily modifies the normal action of another key when pressed simultaneously. In general, pressing a modifier key on its own does nothing; therefore pressing any of the ⇧ Shift, Alt, or Ctrl keys alone will not usually trigger computer action. A modifier key will commonly be used in a defined sequence of key presses in conjunction with another key, triggering a specific action. These sequences are called keyboard shortcuts.
For example, in most keyboard layouts the Shift key combination ⇧ Shift+A will produce a capital letter "A" instead of the default lower-case letter "a" (unless in Caps Lock or Shift lock mode). A combination of Alt+F4 in Microsoft Windows will trigger the shortcut for closing the active window; in this instance, Alt is the modifier key. In contrast, pressing just ⇧ Shift or Alt will probably do nothing unless assigned a specific function in a particular program (for example, activating input aids or the toolbar of the active window in Windows).
User interface expert Jef Raskin coined the term "quasimode" to describe the state a computer enters into when a modifier key is pressed.
History
[edit]This section is empty. You can help by adding to it. (June 2024) |
Modifier keys on personal computers
[edit]The most common are:
- ⇧ Shift
- ⌃ Ctrl (Control)
- ⎇ Alt (Alternate) – also labelled ⌥ Option on Apple keyboards.
- ⇮ AltGr (Alternate Graphic)
- ◆ Meta – Meta key, found on MIT, Symbolics, and Sun Microsystems keyboards.
- ✦ Hyper – Hyper key, found on the Space-cadet keyboard
- ❖ Super – Super key, found on MIT, Symbolics, Linux, and BSD keyboards.
- ⊞ Win (Windows logo) – found on Windows keyboards.
- ⌘ Cmd – Command key, found on Apple keyboards. On older keyboards labelled ⌘ (Apple logo).
- Fn (Function) – often present on small-layout keyboards, or keyboard where the top row of function keys have multimedia functions like controlling volume attached.
The (Sun) Meta key, Windows key, (Apple) Cmd key, and the analogous "Amiga key" (A) on Amiga computers, are usually handled equivalently. Under the Linux operating system, the desktop environment KDE calls this key Meta, while GNOME calls this key, neutrally, Super. This could be considered confusing, since the original space-cadet keyboard and the X Window System recognize a "Meta" modifier distinct from "Super".
The ZX Spectrum has a Symbol Shift key in addition to Caps Shift. This was used to access additional punctuation and keywords.
The MSX computer keyboard, besides Shift and Control, also included two special modifier keys, Code and Graph. In some models, as in the Brazilian Gradiente Expert, the Code and Graph keys are labelled "L Gra" and "R Gra" (Left and Right Graphics). They are used to select special graphic symbols and extended characters.
Likewise, the Commodore 64 and other Commodore computers had the Commodore key at the bottom left of the keyboard.
Compact keyboards, such as those used in laptops, often have a Fn key to save space by combining two functions that are normally on separate keys. On laptops, pressing Fn plus one of the function keys, e.g., F2, often control hardware functions. Keyboards that lack a dedicated numeric keypad may mimic its functionality by combining the Fn key with other keys.
The MIT space-cadet keyboard had additional Top and Front modifier keys. Combined with standard modifiers, it could enter as many as 8,000 different characters.
Specialist typesetting machines, and word processors such as the Redactron, sometimes used multiple modifier keys to trigger mode changes e.g. for emboldened text or justification changes. This approach gradually became obsolete after software based on commodity hardware and operating systems adopted the WIMP metaphor which provided drop-down menus etc.
Accented characters
[edit]Some non-English language keyboards have special keys to produce accented modifications of the standard Latin-letter keys. In fact, the standard British keyboard layout includes an accent key on the top-left corner to produce àèìòù, although this is a two step procedure, with the user pressing the accent key, releasing, then pressing the letter key. These kinds of keys are called dead keys. The AltGr modifier produces the áéíóú sequence, or in conjunction with the Shift key, ÁÉÍÓÚ. Keyboards of some languages simply include the accented characters on their own keys. Some keyboards also have a Compose key for typing accented and other special characters. By pressing Compose, and then two other keys, something similar to a combination of the glyphs of the two previous keys will appear on the screen.
Modifier only
[edit]It is possible to use a modifier key as a normal key.
In 2005 macOS app Quicksilver introduced a feature called 'Modifier-only Activation'. If a modifier key (Command) was pressed for a short duration (under 300ms) then released with no other key being pressed, this was taken as a 'trigger'.
In 2012 this kind of use of a Modifier key appeared in Apple's 'Dictation preferences' under OS X Mountain Lion, where Apple introduced options like 'Press Right Command Key twice' to launch dictation.
This functionality was further increased in macOS Sequoia (2024) with the addition of modifier only keys to be used alone to activate shortcuts such as 'Show Desktop, including Left Command, Left Option, Left Control, Left Shift, Right Command, Right Control, Right Option, Right Shift, fn. This effectively gives users 9 extra keys to activate shortcuts.
Dual-role keys
[edit]It is also possible to use (with some utility software) one key both as a normal key and as a modifier.
For example, you can use the space bar both as a normal Space bar and as a Shift. Intuitively, it will act as a standard Space when you want a whitespace, and a Shift when you want it to act as a shift. I.e. when you simply press and release it, it is the usual space, but when you press other keys, say X, Y and Z, while holding down the space, then they will be treated as ⇧ Shift plus X, Y and Z.
The above example is known as "SandS", standing for "Space and Shift" in Japan.[1] But any number of any combinations are possible.[2]
To press shift+space in the previous example, you need in addition to a space/shift dual role key, one of (a) another space/shift key, (b) a usual shift, or (c) a usual space key.
See also
[edit]- Bucky bit
- Control character
- Function key
- Keyboard layout
- Space-cadet keyboard
- Table of keyboard shortcuts
- Emacs pinky - repetitive strain injury developed by too much use of control key, notably for Emacs users.
References
[edit]- ^ K. Kimura (2001-04-15). "SandS機能お試しアプレット" (in Japanese). Archived from the original on 2002-02-15. Retrieved 2011-11-30.
- ^ "At home modifier – Home". Retrieved 2015-04-14.
External links
[edit]Modifier key
View on GrokipediaFundamentals
Definition and Purpose
A modifier key is a special key on a computer keyboard that is pressed in combination with another key to alter its normal function and produce a different input or action, such as converting a lowercase letter to uppercase or invoking a software command.[1][6] Unlike primary keys, which generate direct outputs like letters or numbers when pressed alone, modifier keys serve no standalone purpose and are designed exclusively for combinatorial use.[1][7] The primary purpose of modifier keys is to expand the input capabilities of a keyboard within the constraints of limited physical hardware, allowing users to access extended character sets, execute shortcuts, and perform complex commands efficiently.[8] For instance, by combining modifiers with alphanumeric keys, a standard keyboard can produce far more signals than its number of keys would otherwise allow, such as doubling the output of alphabetic keys for case variations.[8] This design contrasts sharply with primary keys, enabling compact devices like laptops to support a wide range of functions without requiring additional hardware.[1] In terms of basic mechanics, modifier keys operate by establishing a temporary state—such as a "shift state"—that persists from the moment they are pressed until released, thereby influencing the interpretation of subsequent key presses without generating their own output.[1] This state-based modification is evident in software systems, where the operating system or application queries the current modifier status during key event processing to adjust the resulting action, as seen in web APIs that detect active modifiers like Shift or Ctrl to modify event outcomes.[9] In contrast, event-based modification treats the simultaneous press of a modifier and primary key as a unified input event, directly mapping the combination to a predefined response, such as a shortcut, rather than relying on prolonged state holding.[6] Common examples include the Shift key for case changes and the Ctrl key for command invocation, illustrating these mechanics in everyday use.[1]Common Examples Across Devices
Modifier keys are essential components of input devices, enabling users to alter the output of primary keys for enhanced functionality, such as accessing uppercase letters or alternative symbols.[10] The most universal examples include the Shift key, which toggles capitalization for alphabetic characters and accesses upper symbols on number keys (e.g., pressing Shift + 1 produces "!"), and the Control (Ctrl) key, commonly used in combination with other keys for system commands like copy (Ctrl + C) and paste (Ctrl + V) in desktop environments.[4][11] Similarly, the Alt key provides alternative functions, such as menu access in graphical interfaces (e.g., Alt + F opens the File menu in many applications), while the Meta key—manifesting as the Command key on macOS, Windows key on Windows, or Super key on Linux—facilitates application-specific shortcuts, like Command + Space for Spotlight search on macOS or Windows + L for lock screen on Windows.[4][12] Across operating systems, these keys exhibit variations in labeling and primary roles while maintaining core behaviors. On Windows systems, the standard modifiers are Ctrl, Alt, and the Windows (Win) key, with Ctrl handling control sequences and Win enabling OS-level actions like opening the Start menu.[10] macOS employs Command (⌘) for primary shortcuts, Option (⌥) as an equivalent to Alt for alternative inputs, and retains Ctrl and Shift for compatibility.[13] Linux distributions, such as Ubuntu, mirror Windows with Ctrl, Alt, and the Super key (often the Windows logo), where Super commonly launches the overview or activities screen.[11] On mobile devices, virtual keyboards simulate modifiers through on-screen elements and gestures; for instance, iOS features a Shift key that, when tapped once, capitalizes the next letter and doubles as caps lock when held, while long-press on keys reveals accent variations or symbols akin to Alt functions.[14] Android's Gboard includes a Shift key for uppercase toggling (double-tap for caps lock) and long-press gestures for number/symbol layers, effectively emulating Ctrl or Alt behaviors in text input.[15] Less common modifiers address specialized needs. The Fn (Function) key, prevalent on compact laptop keyboards, activates a secondary layer for hardware controls like brightness or volume adjustment when combined with F-keys, functioning as a hardware-level modifier without altering text output.[16] The AltGr (Alternate Graphic) key, found on international keyboards, serves as a right-Alt variant to access third-level characters, such as € via AltGr + E on European layouts, enhancing support for non-English scripts.[17]| Operating System | Primary Modifier Keys | Key Roles |
|---|---|---|
| Windows | Ctrl, Alt, Win | Ctrl: Commands (e.g., copy/paste); Alt: Menus/alternatives; Win: System actions (e.g., Start menu).[10][12] |
| macOS | Command (⌘), Option (⌥), Ctrl, Shift | Command: App shortcuts (e.g., copy); Option: Alternatives/symbols; Ctrl: Legacy commands.[4][13] |
| Linux (e.g., Ubuntu) | Ctrl, Alt, Super | Ctrl: Commands; Alt: Windows/menus; Super: Desktop overview.[11] |
| Mobile (iOS/Android) | Virtual Shift, Long-press gestures | Shift: Capitalization; Long-press: Symbols/alternatives (simulates Alt/Ctrl).[14][15] |
