LibInput: Implement key_to_utf8_ansi

This function outputs utf8 encoding of a key event or ansi code for
everything it is applicable (arrows, ctrl+..., ...)
This commit is contained in:
2024-06-03 17:52:43 +03:00
parent 65f299038d
commit 201aee3119
2 changed files with 71 additions and 0 deletions

View File

@@ -101,5 +101,6 @@ namespace LibInput
};
const char* key_to_utf8(Key key, uint16_t modifier);
const char* key_to_utf8_ansi(Key key, uint16_t modifier);
}