Add <F> keys processing (see #4)

This commit is contained in:
daa 2017-04-23 12:45:51 +03:00
parent da82d2dd88
commit 319438b2c6
1 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,18 @@ fn main() {
write!(&mut file, "static KEYVAL_MAP: phf::Map<&'static str, &'static str> = ").unwrap();
phf_codegen::Map::new()
.entry("F1", "\"F1\"")
.entry("F2", "\"F2\"")
.entry("F3", "\"F3\"")
.entry("F4", "\"F4\"")
.entry("F5", "\"F5\"")
.entry("F6", "\"F6\"")
.entry("F7", "\"F7\"")
.entry("F8", "\"F8\"")
.entry("F9", "\"F9\"")
.entry("F10", "\"F10\"")
.entry("F11", "\"F11\"")
.entry("F12", "\"F12\"")
.entry("Left", "\"Left\"")
.entry("Right", "\"Right\"")
.entry("Up", "\"Up\"")