Add support for F16-F24 (#641)
* Added support for F16-F19 keys. * Documented support for F16-F19 keys * Added support for F20 key * Added support for F21-F24 on platforms except macOs * Added support for F21-F24 on macOs * Documented addition of F16-F24 keys * Added missing ref qualifier * Fixed compilation error on 1.24.1 * Refactored methods in macOs events_loop and view files
This commit is contained in:
parent
bb66b7f28e
commit
5a0bc016e7
8 changed files with 91 additions and 35 deletions
|
|
@ -810,11 +810,15 @@ fn key_translate_virt(input: [ffi::EM_UTF8; ffi::EM_HTML5_SHORT_STRING_LEN_BYTES
|
|||
"F13" => Some(F13),
|
||||
"F14" => Some(F14),
|
||||
"F15" => Some(F15),
|
||||
"F16" => None,
|
||||
"F17" => None,
|
||||
"F18" => None,
|
||||
"F19" => None,
|
||||
"F20" => None,
|
||||
"F16" => Some(F16),
|
||||
"F17" => Some(F17),
|
||||
"F18" => Some(F18),
|
||||
"F19" => Some(F19),
|
||||
"F20" => Some(F20),
|
||||
"F21" => Some(F21),
|
||||
"F22" => Some(F22),
|
||||
"F23" => Some(F23),
|
||||
"F24" => Some(F24),
|
||||
"Soft1" => None,
|
||||
"Soft2" => None,
|
||||
"Soft3" => None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue