diff options
-rw-r--r-- | docs/keycodes.md | 8 | ||||
-rw-r--r-- | tmk_core/common/keycode.h | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/keycodes.md b/docs/keycodes.md index 6f28bbb97..a98d1096b 100644 --- a/docs/keycodes.md +++ b/docs/keycodes.md | |||
@@ -77,8 +77,8 @@ This is a reference only. Each group of keys links to the page documenting their | |||
77 | |`KC_F11` | |F11 | | 77 | |`KC_F11` | |F11 | |
78 | |`KC_F12` | |F12 | | 78 | |`KC_F12` | |F12 | |
79 | |`KC_PSCREEN` |`KC_PSCR` |Print Screen | | 79 | |`KC_PSCREEN` |`KC_PSCR` |Print Screen | |
80 | |`KC_SCROLLLOCK` |`KC_SLCK` |Scroll Lock | | 80 | |`KC_SCROLLLOCK` |`KC_SLCK`, `KC_BRMD`|Scroll Lock, Brightness Down (macOS) | |
81 | |`KC_PAUSE` |`KC_PAUS`, `KC_BRK` |Pause | | 81 | |`KC_PAUSE` |`KC_PAUS`, `KC_BRK`, `KC_BRMU`|Pause, Brightness Up (macOS) | |
82 | |`KC_INSERT` |`KC_INS` |Insert | | 82 | |`KC_INSERT` |`KC_INS` |Insert | |
83 | |`KC_HOME` | |Home | | 83 | |`KC_HOME` | |Home | |
84 | |`KC_PGUP` | |Page Up | | 84 | |`KC_PGUP` | |Page Up | |
@@ -203,8 +203,8 @@ This is a reference only. Each group of keys links to the page documenting their | |||
203 | |`KC_WWW_FAVORITES` |`KC_WFAV` |Browser Favorites (Windows) | | 203 | |`KC_WWW_FAVORITES` |`KC_WFAV` |Browser Favorites (Windows) | |
204 | |`KC_MEDIA_FAST_FORWARD`|`KC_MFFD` |Next Track (macOS) | | 204 | |`KC_MEDIA_FAST_FORWARD`|`KC_MFFD` |Next Track (macOS) | |
205 | |`KC_MEDIA_REWIND` |`KC_MRWD` |Previous Track (macOS) | | 205 | |`KC_MEDIA_REWIND` |`KC_MRWD` |Previous Track (macOS) | |
206 | |`KC_BRIGHTNESS_UP` |`KC_BRIU` |Brightness Up | | 206 | |`KC_BRIGHTNESS_UP` |`KC_BRIU` |Brightness Up (macOS: use `KC_BRMU`) | |
207 | |`KC_BRIGHTNESS_DOWN` |`KC_BRID` |Brightness Down | | 207 | |`KC_BRIGHTNESS_DOWN` |`KC_BRID` |Brightness Down (macOS: use `KC_BRMD`) | |
208 | 208 | ||
209 | ## [Quantum Keycodes](quantum_keycodes.md#qmk-keycodes) | 209 | ## [Quantum Keycodes](quantum_keycodes.md#qmk-keycodes) |
210 | 210 | ||
diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h index ac3edbd21..3e312b829 100644 --- a/tmk_core/common/keycode.h +++ b/tmk_core/common/keycode.h | |||
@@ -174,6 +174,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
174 | #define KC_BRIU KC_BRIGHTNESS_UP | 174 | #define KC_BRIU KC_BRIGHTNESS_UP |
175 | #define KC_BRID KC_BRIGHTNESS_DOWN | 175 | #define KC_BRID KC_BRIGHTNESS_DOWN |
176 | 176 | ||
177 | /* System Specific */ | ||
178 | #define KC_BRMU KC_SCROLLLOCK | ||
179 | #define KC_BRMD KC_PAUSE | ||
180 | |||
177 | /* Mouse Keys */ | 181 | /* Mouse Keys */ |
178 | #define KC_MS_U KC_MS_UP | 182 | #define KC_MS_U KC_MS_UP |
179 | #define KC_MS_D KC_MS_DOWN | 183 | #define KC_MS_D KC_MS_DOWN |