feat: add support for scroll lock accelerator (#16873)

This commit is contained in:
Shelley Vohr 2019-02-11 11:13:13 -08:00 committed by John Kleinschmidt
parent d57b9cb47f
commit 3effa6f20c
2 changed files with 3 additions and 0 deletions

View file

@ -42,6 +42,8 @@ ui::KeyboardCode KeyboardCodeFromKeyIdentifier(const std::string& s,
return ui::VKEY_CAPITAL;
} else if (str == "numlock") {
return ui::VKEY_NUMLOCK;
} else if (str == "scrolllock") {
return ui::VKEY_SCROLL;
} else if (str == "tab") {
return ui::VKEY_TAB;
} else if (str == "num0") {

View file

@ -60,6 +60,7 @@ The `Super` key is mapped to the `Windows` key on Windows and Linux and
* `Tab`
* `Capslock`
* `Numlock`
* `Scrolllock`
* `Backspace`
* `Delete`
* `Insert`