diff options
Diffstat (limited to 'docs/keycodes_basic.md')
| -rw-r--r-- | docs/keycodes_basic.md | 110 | 
1 files changed, 56 insertions, 54 deletions
| diff --git a/docs/keycodes_basic.md b/docs/keycodes_basic.md index 8445b05ef3..6f21cabd2a 100644 --- a/docs/keycodes_basic.md +++ b/docs/keycodes_basic.md @@ -1,6 +1,6 @@  # Basic Keycodes -The basic set of keycodes are based on the [HID Keyboard/Keypad Usage Page (0x07)](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf) with the exception of `KC_NO`, `KC_TRNS` and keycodes in the `0xA5-DF` range. See below for more details. +The basic set of keycodes are based on the [HID Keyboard/Keypad Usage Page (0x07)](https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf) with the exception of `KC_NO`, `KC_TRNS` and keycodes in the `0xA5-DF` range. See below for more details.  ## Letters and Numbers @@ -97,14 +97,14 @@ The basic set of keycodes are based on the [HID Keyboard/Keypad Usage Page (0x07  ## Lock Keys -|Key                |Aliases             |Description              | -|-------------------|--------------------|-------------------------| -|`KC_CAPSLOCK`      |`KC_CLCK`, `KC_CAPS`|Caps Lock                | -|`KC_SCROLLLOCK`    |`KC_SLCK`           |Scroll Lock              | -|`KC_NUMLOCK`       |`KC_NLCK`           |Keypad Num Lock and Clear| -|`KC_LOCKING_CAPS`  |`KC_LCAP`           |Locking Caps Lock        | -|`KC_LOCKING_NUM`   |`KC_LNUM`           |Locking Num Lock         | -|`KC_LOCKING_SCROLL`|`KC_LSCR`           |Locking Scroll Lock      | +|Key                |Aliases             |Description                         | +|-------------------|--------------------|------------------------------------| +|`KC_CAPSLOCK`      |`KC_CLCK`, `KC_CAPS`|Caps Lock                           | +|`KC_SCROLLLOCK`    |`KC_SLCK`, `KC_BRMD`|Scroll Lock, Brightness Down (macOS)| +|`KC_NUMLOCK`       |`KC_NLCK`           |Keypad Num Lock and Clear           | +|`KC_LOCKING_CAPS`  |`KC_LCAP`           |Locking Caps Lock                   | +|`KC_LOCKING_NUM`   |`KC_LNUM`           |Locking Num Lock                    | +|`KC_LOCKING_SCROLL`|`KC_LSCR`           |Locking Scroll Lock                 |  ## Modifiers @@ -116,16 +116,16 @@ The basic set of keycodes are based on the [HID Keyboard/Keypad Usage Page (0x07  |`KC_LGUI`  |`KC_LCMD`, `KC_LWIN`|Left GUI (Windows/Command/Meta key) |  |`KC_RCTRL` |`KC_RCTL`           |Right Control                       |  |`KC_RSHIFT`|`KC_RSFT`           |Right Shift                         | -|`KC_RALT`  |                    |Right Alt                           | +|`KC_RALT`  |`KC_ALGR`           |Right Alt (AltGr)                   |  |`KC_RGUI`  |`KC_RCMD`, `KC_RWIN`|Right GUI (Windows/Command/Meta key)|  ## International  |Key       |Aliases  |Description                    |  |----------|---------|-------------------------------| -|`KC_INT1` |`KC_RO`  |JIS `\` and <code>|</code>| +|`KC_INT1` |`KC_RO`  |JIS `\` and `_`                |  |`KC_INT2` |`KC_KANA`|JIS Katakana/Hiragana          | -|`KC_INT3` |`KC_JYEN`|JIS `¥`                        | +|`KC_INT3` |`KC_JYEN`|JIS `¥` and <code>|</code>|  |`KC_INT4` |`KC_HENK`|JIS Henkan                     |  |`KC_INT5` |`KC_MHEN`|JIS Muhenkan                   |  |`KC_INT6` |         |JIS Numpad `,`                 | @@ -144,48 +144,48 @@ The basic set of keycodes are based on the [HID Keyboard/Keypad Usage Page (0x07  ## Commands -|Key               |Aliases            |Description                   | -|------------------|-------------------|------------------------------| -|`KC_PSCREEN`      |`KC_PSCR`          |Print Screen                  | -|`KC_PAUSE`        |`KC_PAUS`, `KC_BRK`|Pause                         | -|`KC_INSERT`       |`KC_INS`           |Insert                        | -|`KC_HOME`         |                   |Home                          | -|`KC_PGUP`         |                   |Page Up                       | -|`KC_DELETE`       |`KC_DEL`           |Forward Delete                | -|`KC_END`          |                   |End                           | -|`KC_PGDOWN`       |`KC_PGDN`          |Page Down                     | -|`KC_RIGHT`        |`KC_RGHT`          |Right Arrow                   | -|`KC_LEFT`         |                   |Left Arrow                    | -|`KC_DOWN`         |                   |Down Arrow                    | -|`KC_UP`           |                   |Up Arrow                      | -|`KC_APPLICATION`  |`KC_APP`           |Application (Windows Menu Key)| -|`KC_POWER`        |                   |System Power (macOS/Linux)    | -|`KC_EXECUTE`      |`KC_EXEC`          |Execute                       | -|`KC_HELP`         |                   |Help                          | -|`KC_MENU`         |                   |Menu                          | -|`KC_SELECT`       |`KC_SLCT`          |Select                        | -|`KC_STOP`         |                   |Stop                          | -|`KC_AGAIN`        |`KC_AGIN`          |Again                         | -|`KC_UNDO`         |                   |Undo                          | -|`KC_CUT`          |                   |Cut                           | -|`KC_COPY`         |                   |Copy                          | -|`KC_PASTE`        |`KC_PSTE`          |Paste                         | -|`KC_FIND`         |                   |Find                          | -|`KC__MUTE`        |                   |Mute (macOS)                  | -|`KC__VOLUP`       |                   |Volume Up (macOS)             | -|`KC__VOLDOWN`     |                   |Volume Down (macOS)           | -|`KC_ALT_ERASE`    |`KC_ERAS`          |Alternate Erase               | -|`KC_SYSREQ`       |                   |SysReq/Attention              | -|`KC_CANCEL`       |                   |Cancel                        | -|`KC_CLEAR`        |`KC_CLR`           |Clear                         | -|`KC_PRIOR`        |                   |Prior                         | -|`KC_RETURN`       |                   |Return                        | -|`KC_SEPARATOR`    |                   |Separator                     | -|`KC_OUT`          |                   |Out                           | -|`KC_OPER`         |                   |Oper                          | -|`KC_CLEAR_AGAIN`  |                   |Clear/Again                   | -|`KC_CRSEL`        |                   |CrSel/Props                   | -|`KC_EXSEL`        |                   |ExSel                         | +|Key               |Aliases                       |Description                   | +|------------------|------------------------------|------------------------------| +|`KC_PSCREEN`      |`KC_PSCR`                     |Print Screen                  | +|`KC_PAUSE`        |`KC_PAUS`, `KC_BRK`, `KC_BRMU`|Pause, Brightness Up (macOS)  | +|`KC_INSERT`       |`KC_INS`                      |Insert                        | +|`KC_HOME`         |                              |Home                          | +|`KC_PGUP`         |                              |Page Up                       | +|`KC_DELETE`       |`KC_DEL`                      |Forward Delete                | +|`KC_END`          |                              |End                           | +|`KC_PGDOWN`       |`KC_PGDN`                     |Page Down                     | +|`KC_RIGHT`        |`KC_RGHT`                     |Right Arrow                   | +|`KC_LEFT`         |                              |Left Arrow                    | +|`KC_DOWN`         |                              |Down Arrow                    | +|`KC_UP`           |                              |Up Arrow                      | +|`KC_APPLICATION`  |`KC_APP`                      |Application (Windows Menu Key)| +|`KC_POWER`        |                              |System Power (macOS/Linux)    | +|`KC_EXECUTE`      |`KC_EXEC`                     |Execute                       | +|`KC_HELP`         |                              |Help                          | +|`KC_MENU`         |                              |Menu                          | +|`KC_SELECT`       |`KC_SLCT`                     |Select                        | +|`KC_STOP`         |                              |Stop                          | +|`KC_AGAIN`        |`KC_AGIN`                     |Again                         | +|`KC_UNDO`         |                              |Undo                          | +|`KC_CUT`          |                              |Cut                           | +|`KC_COPY`         |                              |Copy                          | +|`KC_PASTE`        |`KC_PSTE`                     |Paste                         | +|`KC_FIND`         |                              |Find                          | +|`KC__MUTE`        |                              |Mute (macOS)                  | +|`KC__VOLUP`       |                              |Volume Up (macOS)             | +|`KC__VOLDOWN`     |                              |Volume Down (macOS)           | +|`KC_ALT_ERASE`    |`KC_ERAS`                     |Alternate Erase               | +|`KC_SYSREQ`       |                              |SysReq/Attention              | +|`KC_CANCEL`       |                              |Cancel                        | +|`KC_CLEAR`        |`KC_CLR`                      |Clear                         | +|`KC_PRIOR`        |                              |Prior                         | +|`KC_RETURN`       |                              |Return                        | +|`KC_SEPARATOR`    |                              |Separator                     | +|`KC_OUT`          |                              |Out                           | +|`KC_OPER`         |                              |Oper                          | +|`KC_CLEAR_AGAIN`  |                              |Clear/Again                   | +|`KC_CRSEL`        |                              |CrSel/Props                   | +|`KC_EXSEL`        |                              |ExSel                         |  ## Media Keys @@ -219,6 +219,8 @@ Windows and macOS use different keycodes for "next track" and "previous track".  |`KC_WWW_FAVORITES`     |`KC_WFAV`|Browser Favorites (Windows)  |  |`KC_MEDIA_FAST_FORWARD`|`KC_MFFD`|Next Track (macOS)           |  |`KC_MEDIA_REWIND`      |`KC_MRWD`|Previous Track (macOS)       | +|`KC_BRIGHTNESS_UP`     |`KC_BRIU`|Brightness Up                | +|`KC_BRIGHTNESS_DOWN`   |`KC_BRID`|Brightness Down              |  ## Number Pad | 
