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

This commit is contained in:
Shelley Vohr 2019-02-11 11:13:13 -08:00 коммит произвёл John Kleinschmidt
Родитель d57b9cb47f
Коммит 3effa6f20c
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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") {

Просмотреть файл

@ -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`