feat: add support for scroll lock accelerator (#16873)
This commit is contained in:
parent
d57b9cb47f
commit
3effa6f20c
2 changed files with 3 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue