Vi-binding
   HOME

TheInfoList



OR:

Arrow keys or cursor movement keys are buttons on a computer keyboard that are either programmed or designated to move the cursor in a specified direction. The term "cursor movement key" is distinct from "arrow key" in that the former term may refer to any of various keys on a computer keyboard designated for cursor movement, whereas "arrow keys" generally refers to one of four specific keys, typically marked with arrows. Arrow keys are typically located at the bottom of the keyboard to the left side of the numeric keypad, usually arranged in an inverted-T layout but also found in diamond shapes and linear shapes. Arrow keys are commonly used for navigating around documents and for playing games. The inverted-T layout was popularized by the Digital Equipment Corporation LK201 keyboard from 1982.


Historical development

Before the computer mouse was widespread, arrow keys were the primary way of moving a cursor on screen. Mouse keys is a feature that allows controlling a mouse cursor with arrow keys instead. A feature echoed in the
Amiga Amiga is a family of personal computers introduced by Commodore in 1985. The original model is one of a number of mid-1980s computers with 16- or 32-bit processors, 256 KB or more of RAM, mouse-based GUIs, and significantly improved graphi ...
whereby holding the Amiga key would allow a person to move the pointer with the arrow keys in the Workbench (operating system), but most games require a mouse or joystick. The use of arrow keys in games has come back into fashion from the late 1980s and early 1990s when joysticks were a must, and were usually used in preference to arrow keys with some games not supporting any keys. It can be used instead of WASD keys, to play games using those keys. The inverted-T layout was popularized by the Digital Equipment Corporation LK201 keyboard from 1982. Some Commodore 8-bit computers used two keys instead of four, with directions selected using the shift key. The original Apple Macintosh had no arrow keys at the insistence of
Steve Jobs Steven Paul Jobs (February 24, 1955 – October 5, 2011) was an American entrepreneur, industrial designer, media proprietor, and investor. He was the co-founder, chairman, and CEO of Apple; the chairman and majority shareholder of Pixar; a ...
, who felt that people should use the mouse instead. They were deliberately excluded from the Macintosh launch design as a forcing device, acclimating users to the new
mouse A mouse ( : mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus' ...
input device and inducing software developers to conform to mouse-driven design rather than easily porting previous
terminal Terminal may refer to: Computing Hardware * Terminal (electronics), a device for joining electrical circuits together * Terminal (telecommunication), a device communicating over a line * Computer terminal, a set of primary input and output devic ...
-based software to the new platform. Arrow keys were included in later Apple keyboards. Early models with arrow keys but no middle section (Home, End, etc.) placed them in one line below the right-hand Shift key in an HJKL-like fashion; later versions had a standard inverted-T layout, either in the middle block or as half-height keys at the bottom right of the main keyboard.


Common uses

The arrow keys are used in many applications to do different things such as: * Moving text cursor to the right, left, previous line and next line * Moving player's character in video games * Scrolling down and up in different documents and web pages * Changing the current selected item in a list or selecting file icon near to the current selected file in a file explorer * Moving selected object in a drawing software * Moving forward and backward while playing multimedia files


Alternative keys

Although the "arrow keys" provide one convention for cursor movement on computers, there are also other conventions for cursor movement that use entirely different keys.


5678 keys

This cursor key layout was seen in Sinclair ZX80, ZX81, and Spectrum home computer designs. These machines had 40-key keyboards with number keys on the top row. Each of the number keys had secondary functions requiring simultaneous use of a shift key ( in particular from Spectrum onwards) to activate them. Of these, to were designated as cursor control keys and were labelled with left-, down-, up-, and right-arrow symbols printed on or directly above them in a colour matching the relevant shift key. The sequence was adopted from Lear-Siegler/vi style (see HJKL below). The Jupiter Ace keyboard was similar but with up and down functions swapped. The underlying character codes varied between machines, but in Spectrum and Ace designs the order of up and down keys on the keyboard reflected which had the lesser and greater numeric value. In some software for these machines (eg. games), the unshifted , , , and keys were directly associated with direction control when they had no other purpose, as this meant less complicated keypress detection routines could be used. Although the QL-style keyboard on later Spectrum + and + 128K models introduced various dedicated keys including arrow keys either side of the space bar (left/right in a pair to its immediate left, and up/down to the immediate right) and removed related labels, either method produced the same signals and there was no difference between which of the alternatives was used as far as software was concerned.


WASD keys

WASD (,AOE on Dvorak keyboards; ZQSD on AZERTY keyboards) is a set of four keys on a QWERTY and QWERTZ computer keyboards which mimics the inverted-T configuration of the arrow keys. These keys are most commonly used to control the
player character A player character (also known as a playable character or PC) is a fictional character in a video game or tabletop role-playing game whose actions are controlled by a player rather than the rules of the game. The characters that are not control ...
's movement in
computer game Video games, also known as computer games, are electronic games that involves interaction with a user interface or input device such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device to gener ...
s. / control forward and backward, while / control strafing left and right. Primarily, WASD is used to account for the fact that the arrow keys are not ergonomic to use in conjunction with a right-handed
mouse A mouse ( : mice) is a small rodent. Characteristically, mice are known to have a pointed snout, small rounded ears, a body-length scaly tail, and a high breeding rate. The best known mouse species is the common house mouse (''Mus musculus' ...
. During the early days of gaming, this was not a problem as the mouse was not utilised; the arrow keys controlled both movement as well as looking around , with strafing done through the use of modifier keys (usually + ). However, the introduction of
mouselook Free look (also known as mouselook) describes the ability to move a mouse, joystick, analogue stick, or D-pad to rotate the player character's view in video games. It is almost always used for 3D game engines, and has been included on role-pl ...
, a system that allowed the ability to use the mouse to look around both vertically and horizontally, enabled the player to perform techniques such as smooth circle strafing, which, although possible with the keyboard, was difficult to perform and resulted in jagged movement. Since the mouse was now used for looking, the and keys for looking would be redundant and thus were altered to become strafe keys. The style was popularized in competitive play in '' Quake'' and subsequently '' QuakeWorld'', notably by professional player
Dennis Fong Dennis Fong (), better known by his online alias Thresh, is an American businessman and retired professional player of the first-person shooter video games '' Quake'' and ''Doom''. He is a co-founder of Xfire, an instant messenger and social net ...
, where the advantages of WASD and mouselook were recognised over a purely keyboard-based control system. In the same year that '' Castle Wolfenstein'' was released, 1981, the game '' Wizardry'' used the AWD keys for movement in a first-person dungeon. Both the programmers of ''Castle Wolfenstein'' and ''Wizardry'' were users of the earlier PLATO system where the game '' Moria'' used the AWD keys. Another advantage of WASD is that it allows the user to use the left hand thumb to press the bar (often the jump command) and the left hand little finger to press the or keys (often the crouch and/or sprint commands), as opposed to the arrow keys which lack other keys in proximity to press. and were chosen partly because they are larger keys and thus easier to hit, but primarily because in older systems the computer could only recognise a couple of alphanumeric key presses, a limitation circumvented by the use of modifier keys. In later games, the usage of the key to interact with items or open up the
inventory Inventory (American English) or stock (British English) refers to the goods and materials that a business holds for the ultimate goal of resale, production or utilisation. Inventory management is a discipline primarily about specifying the shap ...
was also popularized due to its location next to the WASD keys, allowing players to reach it quickly. ''
Dark Castle ''Dark Castle'' is a 1986 platform game for Macintosh published by Silicon Beach Software, later published by Three-Sixty Pacific for other platforms. It was designed and illustrated by Mark Pierce and programmed by Jonathan Gay. In ''Dark Castl ...
'' (1986) may be the first game to use WASD keys and mouse for control. '' Half-Life'' (1998) was one of the first mainstream games to use WASD by default. After being popularized by first-person shooters, WASD became more common in other computer game genres as well. Many of the games that have adopted this layout use a first-person or over-the-shoulder third-person perspective. Some games that use overhead camera views also use WASD to move the camera, such as some city-building games and
economic simulation game Business simulation games, also known as economic simulation games
s.


ESDF keys

The ESDF variation is an alternative to WASD and is sometimes preferred because it provides access to movement independent keys for the little finger (, , ) which generally allows for more advanced manual binding. Incidentally, it allows the left hand to remain in the home row with the advantage of the key home row marker (available on most standard keyboards) to easily return to position with the index finger. Perhaps the earliest game to use ESDF was '' Crossfire'' (1981), which used the keys for firing in multiple directions. Dan "vise" Larsen from '' Quake'' Team Deathmatch clan "clan Kapitol" popularized ESDF versus "WASD", explaining that the player gains three additional keys to bind the ''Quake'' game's controls to. It is the default configuration for several games, such as ''
Tribes 2 ''Tribes 2'' is a first-person shooter multiplayer video game developed by Dynamix and published by Sierra On-Line in 2001 as a sequel to '' Starsiege: Tribes''. Setting Set in the year 3941 of the fictional Earthsiege universe, ''Tribes 2'' ...
''. The game ''
Blackthorne ''Blackthorne'' (released as ''Blackhawk'' in some European countries) is a cinematic platform game developed by Blizzard Entertainment. It was released for the Super NES and MS-DOS in 1994. The cover art for the SNES version was drawn by Jim Le ...
'' used a combination of arrow keys for movement and ESDF for actions. Moreover, these keys are compatible with both '' QWERTY'' and '' AZERTY'' keyboard layouts, which is a major plus if the game is also released in France or Belgium. Some players use RDFG or TFGH to give access to even more keys ( and for the little finger).


DCAS keys

Another alternate to the WASD shooter movement style is DCAS (sometimes called ASDC). In this configuration, and control forward and backward motion, while and control side-stepping (strafing). Typically the key is utilized for crouching instead of the Ctrl key, as it is more easily reached when the hand is positioned for DCAS. When Bungie's first-person shooter ''
Marathon The marathon is a long-distance foot race with a distance of , usually run as a road race, but the distance can be covered on trail routes. The marathon can be completed by running or with a run/walk strategy. There are also wheelchair div ...
'' was released in 1994, it featured up/down look control and the option to fully control turning and aiming by mouse (a feature later popularized by id's '' Quake'' as mouselook/freelook). However, it did not include a set of default controls to handle this. With WASD not yet a well-known standard, some people devised their own control schemes to handle combined keyboard movement with mouse aiming; DCAS was one such control scheme. Like WASD, DCAS allows the player to easily utilize the left modifier keys; this is advantageous because on most keyboards, the circuitry is better at tracking multiple key-presses simultaneously if some of them are modifier keys. But unlike WASD, the position of the left hand for DCAS gameplay is very similar to the left hand's position on the home row keys. This is very comfortable for right-handed players and seen as the primary advantage over using WASD, but it is ill-suited for left-handed mousing.


IJKL keys

Two early games that used IJKL were ''Crossfire'' (1981) and '' Lode Runner'' (1983). IJKL is used by a growing number of browser games. These games cannot use the arrow keys because many browsers' windows will scroll if the arrow keys are used, thus hindering gameplay. This is a problem specific to DHTML/ JavaScript games. IJKL, like WASD, are arranged in an ergonomic inverted T shape, and, since they are used by the right hand, adjustment is easy for people who commonly use the arrow keys. Also, in many games that also use the WASD keys, the IJKL keys are sometimes used as a secondary player control for games that have multiplayer. '' Devil May Cry 4'' by
Capcom is a Japanese video game developer and video game publisher, publisher. It has created a number of List of best-selling video game franchises, multi-million-selling game franchises, with its most commercially successful being ''Resident Evil' ...
utilizes IJKL as the player's action keys (such as Melee Attack, Ranged Attack, Special Attack etc.) as an alternative to mouse-driven actions.


IJKM keys

Some older computer games, especially those on 8-bit platforms, often had the combination IJKM used as the standard control key combination, which was more logically arranged, if far less ergonomic than an inverted-T. In addition, on the
Apple II The Apple II (stylized as ) is an 8-bit home computer and one of the world's first highly successful mass-produced microcomputer products. It was designed primarily by Steve Wozniak; Jerry Manock developed the design of Apple II's foam-m ...
platform, special support existed in ROM for
Escape mode Escape or Escaping may refer to: Computing * Escape character, in computing and telecommunication, a character which signifies that what follows takes an alternative interpretation ** Escape sequence, a series of characters used to trigger some s ...
. At the Applesoft BASIC prompt, using the right and left arrow keys to move the cursor would add/remove characters the cursor passed over to/from the input buffer. Pressing the Escape key entered a mode where pressing the , , or keys would move the cursor without altering the input buffer. After exiting this mode by pressing Escape again, normal behavior would resume. This made it easy to edit lines of BASIC code by listing them, then re-inputting them with edits interspersed.


AZ keys

The
Apple II The Apple II (stylized as ) is an 8-bit home computer and one of the world's first highly successful mass-produced microcomputer products. It was designed primarily by Steve Wozniak; Jerry Manock developed the design of Apple II's foam-m ...
and Apple II Plus originally had left and right arrow keys but no up and down arrow keys. Many programs written for these computers used and to substitute for the missing up and down keys. The IJKM combination was also popular on these computers. Another fairly common variant on these machines was the combination of and (slash) with the left and right arrows, as those four keys roughly form a diamond on the keyboard; while the right key would be in the more natural position for "down", pressing alone was not detectable by software on an unmodified Apple II or Apple II plus. All these keys fell somewhat out of favor after the release of the Apple IIe, which had a full set of arrow keys.


HJKL keys

HJKL is a layout used in the Unix computer world, a practice spawned by its use in the vi text editor. The editor was written by Bill Joy for use on a
Lear-Siegler Lear Siegler Incorporated (LSI) is a diverse American corporation established in 1962. Its products range from car seats and brakes to weapons control systems for military fighter planes. The company's more than $2 billion-a-year annual sales come ...
ADM-3A terminal, which places arrow symbols on these letters since, it did not have dedicated arrow keys on the keyboard. These correspond to the functions of the corresponding control characters , , , and when sent to the terminal, moving the cursor left, down, up, and right, respectively. (The and functions were standard, but the interpretations of and were unique to the ADM-3A.) This key arrangement is often referred to as "vi keys". HJKL keys are still ubiquitous in newly developed Unix software even though today's keyboards have arrow keys. They have the advantage of letting touch-typists move the cursor without taking their fingers off of the home row. Examples of games that use HJKL are the text-based "graphic" adventures like '' NetHack'', the ''
Rogue A rogue is a person or entity that flouts accepted norms of behavior. Rogue or rogues may also refer to: Companies * Rogue Ales, a microbrewery in Newport, Oregon * Rogue Arts, a film production company * Rogue Entertainment, a software com ...
'' series, and ''
Linley's Dungeon Crawl ''Dungeon Crawl Stone Soup'' (''DCSS'') is a free and open source roguelike computer game and the community-developed successor to the 1997 roguelike game ''Linley's Dungeon Crawl'', originally programmed by Linley Henzell. It has been identifi ...
''. It is also used by some players of the '' Dance Dance Revolution'' clone StepMania, where HJKL corresponds directly to the order of the arrows. Gmail,
Google labs Google Labs was an incubator created by Google to test and publicly demonstrate new projects. It was online from early 2002 to mid-2011. Google described Google Labs as "a playground where our more adventurous users can play around with prototyp ...
' keyboard shortcuts and other websites use J and K for "next" and "previous".


SDF-SPACE and ASD-SPACE

Another old-style variation that spawned from games like '' Quake'' was the SDF-SPACE layout. In this layout, = turn left, = forward, = turn right, space = backpedal, = strafe left and = strafe right. This layout allows the player to aim with the mouse while strafing (sidestepping), turning and running or backpedalling all at once creating slightly more complex movements. This variation is not favoured any longer for two main reasons. First, because many players deem the turn commands useless because the mouse can act as a turning device, and so they assign and to the sidestep commands and leave the turn commands unassigned. The second, and probably more prominent reason is, in assigning both the turn and strafe commands, performing movements and dodges can be much more confusing, so newcomers tend to not prefer this key setup. Though no longer widely used, many FPS veterans and tournament players still employ this key setup. This variant adopted to newer games using mouse-look doesn't really need worry about the turn left and turn right keys. Instead = strafe left, = strafe right, = backpedal, and space or = forward. This is a more natural feel on the keyboard as your fingers rest on the home row. The comfort and usability points from ESDF apply here. Notice that jump is left out, that is because in games like Quake jump was usually MOUSE2. With more alternate fire and aim-down-sights oriented games today you may have to play with , SPACE, and MOUSE2 on what you want them to do. A similar layout is ASD-SPACE. Commonly used in 2D-based fighting games, ASD-SPACE maps , , and to "left", "down", and "right" movement, while the spacebar is used for "up" (jumping). This allows an easier access to "360 degree" motions than a normal inverted-T layout, as well as being more ergonomic than simply placing all directions in a single row (ex. ASDF). There is even a "stickless"
arcade controller An arcade controller is a collective set of input devices designed primarily for use in an arcade cabinet. A typical control set consists of a joystick and a number of push-buttons. Less common setups include devices such as trackballs or steering ...
based around the concept, called the Hitbox.


WQSE keys

Another, close, variation is the WQSE combination, which follows the belief that the index and ring fingers' natural and more ergonomic positions when the middle finger is on are and rather than and , respectively. This can be attested to by the fact that the arrow keys were partly designed in the inverted-T shape in order to avoid having the side buttons possibly directly underneath other keys. It also has the advantage that there is less distance needed to travel to reach the number keys. For similar reasons, some gamers use the WQSD combination (which is WASD with the key moved up to , or WQSE with the moved down to ). For players who prefer to keep the keyboard centered on the body, this results in less wrist rotation, as it places the index finger naturally over the key when the left arm rests down to the left of the keyboard. Another variation is EWDF, which is the same shifted right one key, as in ESDF. SAZD is a slight variation on WQSE and WQSD, in that it is both ergonomic and rotated, but gives the fingers closer proximity to the and SPACE keys.


QAOP keys

QAOP, sometimes also called OPQA, dates back to Sinclair Spectrum days. The O/P keys were used for left/right movement, and the Q/A keys were used for up/down or forward/backwards movement. With SPACE being a key in the bottom right of the original rubber keyed Spectrum the or sometimes key would be used for fire/action; on later models the SPACE bar would be used. QAOP had its own variations, as ZXKM or WELP. Many BBC Micro games used the keys ZX*? respectively for left, right, up, and down (with "*" being the key above and right of "?", where "@" is on modern UK keyboards). In each case, one hand controls left/right, and the other hand controls up/down movement. A further variation is used when two players use the keyboard at the same time; for example, ''
Gauntlet Gauntlet or the gauntlet may refer to: Common uses *Gauntlet (glove), protective gloves used as a form of armor *Running the gauntlet, a form of physical punishment Arts, entertainment, and media Fictional characters *Gauntlet (comics), a Marvel ...
'' uses the combination 1QSD for Player 1, and 8IKL for Player 2.


ESDX keys

The ESDX keys (known as the "cursor movement diamond") were used in the WordStar word processor and related applications, in combination with the Control key. These keys were also used, and ha
arrows printed on them
on the TI-99/4(A) computer (1979-1984).


Numpad keys

The numpad or number pad keys are used quite often, but is used mostly in
driving simulator Driving simulators are used for entertainment as well as in training of driver's education courses taught in educational institutions and private businesses. They are also used for research purposes in the area of human factors and medical rese ...
games. This is mainly because these games usually have quite a large number of keys needed to control the vehicle properly and the number pad will have plenty of keys for that particular use. Another reason this is commonly used is because left-handed players will find this a more comfortable position than the IJKL keys (see above), and the number pad has fewer keys around it, thus it is less likely the player will hit the wrong key by mistake.


WAXD (including QEZC)

Another variation is WAXD, using either 4 or 8 keys surrounding the "s" key. Eight directional arrows were printed on the keysets of
PLATO terminals Plato ( ; grc-gre, Πλάτων ; 428/427 or 424/423 – 348/347 BC) was a Greek philosopher born in Athens during the Classical period in Ancient Greece. He founded the Platonist school of thought and the Academy, the first institution ...
developed in the 1960s and 70s, and many games (including Empire, Dogfight, and more than a dozen dungeon games such as Avatar) utilize this layout. The TUTOR language display editor, character set (bitmap) editor, and line set editor also use these keys on that system and its successors. For ballistic targeting, key combinations (e.g. "we", "de", etc.) are used to get angles in multiples of 22.5 degrees. In many programs the "s" key is often used to either "select" or "shoot", depending upon the application. This layout also appears on the numeric keypads of some keyboards, using 8462 (including 7913).


Less common variations

Vaguely related is the ZXC layout, used in many freeware games, and a common setup for emulation and older 2D gaming using a keyboard. A few games from the 1980s, such as the Phantasie series, used the "3WES" layout, which forms a diamond on QWERTY keyboards. In this layout, three of the four keys happen to correspond to the compass directions "West", "East" and "South". These games usually assigned both "N" and "3" to "North". AZERTY users will use the "ZQSD" combination instead of "WASD", since those are the keys in place of WASD on a QWERTY keyboard. Depending on the configuration, "QAOP" may either still work or be vertically inverted. On the Dvorak keyboard layout, "WASD" is ",AOE". Left-handed players may use the numeric keypad instead. A somewhat uncommon variant is YGHJ which while requiring the keyboard to be turned slightly clockwise, can result in the thumb resting comfortably upon the right key and the little finger resting on . This can be useful in games that utilize both jump and sprint functions as it allows the fingers to rest on smaller keys than and Space. The YGHJ configuration also places the hand closer to the center of the QWERTY section of the keyboard, potentially opening up the entire board to custom
keybindings computing, a keyboard shortcut also known as hotkey is a series of one or several keys to quickly invoke a software program or perform a preprogrammed action. This action may be part of the standard functionality of the operating system or ...
. The game
QWOP ''QWOP'' () is a 2008 ragdoll-based browser video game created by Bennett Foddy, formerly the bassist of Cut Copy. Players control an athlete named "Qwop" using only the Q, W, O, and P keys. The game became an internet meme in December 2010. T ...
uses the control scheme "QWOP" to control Qwop's arms and legs. the and keys control Qwop's thighs while the and keys control Qwop's calves making an intentionally difficult control system as a result. Layouts such as Shift Z Ctrl X, where is up and is down, allow all direction keys to be used in any combination, without the delay of changing finger position. But the use of modifier keys can be problematic, as some games do not allow mapping of these keys.


See also

* Scroll lock * Arrow (symbol) * QWERTY * D-pad


Notes and references


External links


The Nerd Corner: Inverse-T History
{{DEFAULTSORT:Arrow Keys Computer keys Video game control methods