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;
|
return ui::VKEY_CAPITAL;
|
||||||
} else if (str == "numlock") {
|
} else if (str == "numlock") {
|
||||||
return ui::VKEY_NUMLOCK;
|
return ui::VKEY_NUMLOCK;
|
||||||
|
} else if (str == "scrolllock") {
|
||||||
|
return ui::VKEY_SCROLL;
|
||||||
} else if (str == "tab") {
|
} else if (str == "tab") {
|
||||||
return ui::VKEY_TAB;
|
return ui::VKEY_TAB;
|
||||||
} else if (str == "num0") {
|
} else if (str == "num0") {
|
||||||
|
|
|
@ -60,6 +60,7 @@ The `Super` key is mapped to the `Windows` key on Windows and Linux and
|
||||||
* `Tab`
|
* `Tab`
|
||||||
* `Capslock`
|
* `Capslock`
|
||||||
* `Numlock`
|
* `Numlock`
|
||||||
|
* `Scrolllock`
|
||||||
* `Backspace`
|
* `Backspace`
|
||||||
* `Delete`
|
* `Delete`
|
||||||
* `Insert`
|
* `Insert`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue